Jump to content
lou_untitled

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

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×