nikaragua86 Posted October 8, 2018 Share Posted October 8, 2018 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. Quote Link to comment Share on other sites More sharing options...
vtrvtr Posted October 8, 2018 Share Posted October 8, 2018 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 Quote Link to comment Share on other sites More sharing options...
nikaragua86 Posted October 9, 2018 Author Share Posted October 9, 2018 Thank you! 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.