I am trying to do the following using 1 Python LOP:
- I get
node.editableStage()
layer = loputils.createPythonLayer(node)
- I apply primvars with
node.addSubLayer(layer.identifier)
- then I loop through prims in 3 lists and would like to add camera visibility primvars on Gprims to the same layer as the first set of primvars, is that even possible or I am misunderstanding?
I tried to retrieve active layer using:
layer = editableStage.GetEditTarget().GetLayer()
Isn't it what LOP nodes do all the time when they keep adding overrides to the same active layer?
Any suggestions would be helpful