gemini Posted October 21, 2017 Share Posted October 21, 2017 (edited) Hi, Anyone can help me how to set the netwok view dependency links options ? Or toggle them ? THX Edited October 21, 2017 by gemini Quote Link to comment Share on other sites More sharing options...
acey195 Posted October 21, 2017 Share Posted October 21, 2017 in H16, its under the "view" menu at the top / left-ish of the network window, its no longer under the "d" menu that it used to be in older versions Quote Link to comment Share on other sites More sharing options...
gemini Posted October 21, 2017 Author Share Posted October 21, 2017 (edited) yes i know, but by script (python) ? We are in that section.. Edited October 21, 2017 by gemini Quote Link to comment Share on other sites More sharing options...
bonsak Posted October 22, 2017 Share Posted October 22, 2017 networkeditor = hou.ui.paneTabOfType(hou.paneTabType.NetworkEditor) networkeditor.setPref('showdep','2') Its stored in the network editors prefs. To get all of them: networkeditor.getPrefs() -b 1 Quote Link to comment Share on other sites More sharing options...
gemini Posted December 4, 2017 Author Share Posted December 4, 2017 Thanks, But what if I have double monitors and more NW opened at once ? G Quote Link to comment Share on other sites More sharing options...
bonsak Posted December 4, 2017 Share Posted December 4, 2017 tabs = hou.ui.paneTabs() # Get all the tabs for tab in tabs: # Loop over them if tab.type() == hou.paneTabType.NetworkEditor: # Test the type tab.setPref('showdep','2') # Set 1 Quote Link to comment Share on other sites More sharing options...
gemini Posted December 14, 2017 Author Share Posted December 14, 2017 Cool , thanx! 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.