renderfan Posted August 12, 2012 Share Posted August 12, 2012 Hello! With right button over node i can use Preview Window just for this node. Is it possible to make same in Python? I found hou.FloatingPanel and hou.PaneTab and then set to SceneViewer. But how can I make it to show only geometry from specific node? Thank you! Quote Link to comment Share on other sites More sharing options...
edward Posted August 12, 2012 Share Posted August 12, 2012 Call hou.PaneTab.setPin(True) so that it doesn't follow selections. Quote Link to comment Share on other sites More sharing options...
lisux Posted March 12, 2015 Share Posted March 12, 2015 Sorry for opening an old thread. But is there any way in python to modify the Scene Viewer UI. If I create a floating window just to visualize geometry I want to have Hide Other Objects enable (is disable by default), the pane tabs and network controls hidden and finally I want to change the display mode to Headlight Only. Is it possible to do this changes in python? Thanks Quote Link to comment Share on other sites More sharing options...
lisux Posted March 12, 2015 Share Posted March 12, 2015 Mmmm I have spotted another issue. If you open a floating pane to view a certain node, so an scene viewer and then do setCurrentNode(myViewNode). But actually the display flag is in a different node, the new floating pane will always show the geometry in the display flag, so it is actually showing the geometry in the network set by node with the display flag. Not the geometry specify on the node specified when using setCurrentNode(). So it is not possible to replicate the Preview Window command using python I am afraid. Cheers. 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.