Jump to content

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.

 

Link to comment
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

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...