Drughi Posted November 14, 2019 Share Posted November 14, 2019 Hi! How to set panes to a specified node? I tried hou.cd() and hou.setPwd() I'm triggering a python script from an hda. In the script I copy nodes and this leads to a change in the path of my panes - its focusing on the copied nodes. I don't want this and want to refocus on the inital node. Quote Link to comment Share on other sites More sharing options...
animknight Posted November 14, 2019 Share Posted November 14, 2019 You need to use setCurrent method in hou.Node. For eg., say you've copy pasted some nodes in the geometry node called geo1 and to get back to the object level, just setCurrent on geo1. geo1 = hou.node("/obj/geo1") geo1.setCurrent(True) -J 2 Quote Link to comment Share on other sites More sharing options...
Drughi Posted November 14, 2019 Author Share Posted November 14, 2019 thanks 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.