Jump to content

Pyton - a non destructive way to get a node path [SOLVED]


lou_untitled

Recommended Posts

Hello,

I wrote a little python snippet which load a preset of an HDA when conditions are met.

The only thing I haven't succeed is to get the HDA path without writing it exactly (if I copy paste the HDA the path need to change automatically or if I change the name of the HDA). My python node is inside the HDA so maybe there's an expression for something like this.

Thank you !

 

EDIT : a very simple work around is just to use the opfullpath in vex and read the path back in Python.

Edited by lou_untitled
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...