Select primpaths in the Scene Graph Tree with Python
1957
2
0
-
- jacobvfx
- Member

- 15 posts
- Joined: 12月 2019
- オフライン
Hi,
Is it possible to select and expand prim paths in the Scene Graph Tree with Python.
Something like:
selectPrimPaths(['/world/animation/ship', '/world/fx/blah'])
Edited by jacobvfx - 2022年7月1日 06:28:50
-
- mtucker
- スタッフ

- 4560 posts
- Joined: 7月 2005
- オフライン
The scene graph tree selection is tied to the selection stored in the LOP Network. So use hou.LopNetwork.setSelection().
-
- jacobvfx
- Member

- 15 posts
- Joined: 12月 2019
- オフライン
Thanks!
Works like a charm.