Jump to content
nikaragua86

How can i call custom used defined function from another Wrangle node?

Recommended Posts

Hello!

I defined a custom vex function in Attribute Wrangle node, and i can call it only from this node, when i call it from different Attribute Wrangle node i get Undefined Function error.

Is there a way to declare a function in one node and to call it from the other node? The only way i found is to use external files with the #include filename.

 

Share this post


Link to post
Share on other sites

You probably want to make a library to use functions in multiple wrangles. You can save files with a .vfl and add them to your environment with a HOUDINI_VEX_PATH variable. After that you can use a #include inside a wrangle to get your functions

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

×