Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Videos

Downloads

  • VEX101_Pt14_Starting_A_Function_Library.zip

Missing 1 full-res photo, 1 file, as this post has not yet been imported.

Content

You asked for it (and some of you also already answered it): How do you save your custom functions into an external file, so you can build your own library of functions?

This Quicktip goes over saving out your functions into an external header file.

Files

Previews only

VEX 101 pt. 14: Starting A Function Library

Comments

Massimo Baita

Thank You very much! Moritz and Manuel: I really appreciate Your work.

reaze

A general question on the subject: Integrated attributes in a function are not possible?

entagma

Hi Christoph, Passing an attribute as an argument to your custom function should work. However using the @-shorthand in your custom function's code should not, as Houdini doesn't know in which context you're gonna run your functions (points, vertices, prims, details) and as there is no general shorthand for context independent attribute access you'll have to rely on the explicit form using point() prim() or detail() to access your attributes within a custom function. Cheers, Mo

reaze

How can I retrieve a function I wrote in one wrangler from another wrangler?

entagma

Save it to a .h (header) file, make sure your houdini.env file points to the path of that file, then #include it. Just like we did in that video :) Cheers, Mo

Chris Swift

I can't find the Houdini.env file on my Mac, what should I do?