https://github.com/GafferHQ/gaffer/blob/main/include/GafferScene/EditScopeAlgo.h#L158-L161
```
for renderPass in [ "CHARS_ALL", "SETS_ALL", "SETS_MASK" ] :
tweakPlug = GafferScene.EditScopeAlgo.acquireRenderPassOptionEdit( editScope, renderPass, "renderPass:enabled" )
tweakPlug["enabled"].setValue( True )
tweakPlug["value"].setValue( True )
```
node['out'].globals()["option:renderPass:names"]
--
You received this message because you are subscribed to the Google Groups "gaffer-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gaffer-dev+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/gaffer-dev/ac560761-b416-4723-8605-564d3fbb1c38n%40googlegroups.com.
tweakPlug = GafferScene.EditScopeAlgo.acquireRenderPassOptionEdit( editScope, renderPass, "renderPass:enabled" )
tweakPlug["enabled"].setValue( False )
tweakPlug["value"].setValue( False )
Thanks in advance for your support!
Riccardo
tweakPlug = GafferScene.EditScopeAlgo.acquireRenderPassOptionEdit( editScope, renderPass, "renderPass:enabled" )
tweakPlug["enabled"].setValue( True )
tweakPlug["value"].setValue( False )
Sorry for bothering you again, it works like a charm!!
Best,
Riccardo
Given a node selection, is there a python command available to obtain the same automatic node alignment we get with "CTRL+L" hotkey?