michaelb-01 Posted January 16, 2019 Share Posted January 16, 2019 I'm trying to get the full path to the parent node in the current paneTab under the users mouse. I'm currently doing the following to return the paneTab: pane = hou.ui.paneTabUnderCursor() I can get the current parent node with: pane.pwd() So if i'm in /obj/geo1/subnet1 this will return subnet1 but how do I get the full path? (/obj/geo1/subnet1) Quote Link to comment Share on other sites More sharing options...
michaelb-01 Posted January 16, 2019 Author Share Posted January 16, 2019 Sorry I thought pane.pwd() was just returning a string but I think its actually the hou.node so I can just do hou.pwd().path() 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.