-ant- Posted April 23, 2019 Share Posted April 23, 2019 Hello, I am able to select visible geometry manually, or even make a script to toggle the option to select geometry manually. But I'm wondering if there is a way to automatically select visible geometry only via a script? I have been unable to figure it out but it would be awesome if possible (may not be possible though?). Thanks! Ant Quote Link to comment Share on other sites More sharing options...
Outlawed Posted September 9, 2019 Share Posted September 9, 2019 This will select the OBJ-level nodes that have their Display Flag set to True" OBJ = hou.node("/obj") objnodes = OBJ.children() mylist = [] for n in objnodes: print n if n.isDisplayFlagSet() == True: mylist.append(n) print mylist for i in mylist: hou.ObjNode.setSelected(i, 1) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.