Jump to content

Is there a include a block of VEX at compile time?


magneto

Recommended Posts

I am also trying to write some VEX code from scratch which appeals to me more actually. I am wondering if there is a function to insert a block of VEX code from a file at compile time.

So something like:

// deformer code

include "Deformer.vfl"

that will literally copy/paste the contents of the file.

Is this possible? :)

Edited by magneto
Link to comment
Share on other sites

I am also trying to write some VEX code from scratch which appeals to me more actually. I am wondering if there is a function to insert a block of VEX code from a file at compile time.

So something like:

// deformer code

include "Deformer.vfl"

that will literally copy/paste the contents of the file.

Is this possible? :)

Inline vop ??

http://www.sidefx.com/docs/houdini10.0/nodes/vop/inline

  • Like 1
Link to comment
Share on other sites

VEX follows C convention. From the Help:

#include "filename"

Inserts the contents of the file at this point in the source code. When you use quotes, the directory containing the current file is searched for filename before the standard locations (including the path)

  • Like 1
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...