chendryx
2020年6月23日 19:30:16
I've been scanning the docs but I can't seem to find it, how does one manage the selection stage of prims in LOPs with Python? ie how do I figure out what prims are selected, or update/manage the selections?
mtucker
2020年6月23日 22:25:20
The selection of USD prims is stored on the LOP Network. So:
hou.node('/stage').selection()
hou.node('/stage').setSelection([list of paths])
chendryx
2020年6月24日 11:47:21
Aaaaah on the LopNetwork, I kept thinking maybe it was on the LopNode, thanks @mtucker!