magneto Posted January 16, 2012 Share Posted January 16, 2012 (edited) 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 January 16, 2012 by magneto Quote Link to comment Share on other sites More sharing options...
gaurav Posted January 16, 2012 Share Posted January 16, 2012 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 1 Quote Link to comment Share on other sites More sharing options...
symek Posted January 16, 2012 Share Posted January 16, 2012 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) 1 Quote Link to comment Share on other sites More sharing options...
magneto Posted January 16, 2012 Author Share Posted January 16, 2012 You guys are awesome. I was looking for include in the help but couldn't find it. Now off to write some vex code Quote Link to comment Share on other sites More sharing options...
hopbin9 Posted January 16, 2012 Share Posted January 16, 2012 Did you sleep at all last night? I got maybe 5 hours and don't think I could look at a single line of vex code. You are one motivated guy Quote Link to comment Share on other sites More sharing options...
magneto Posted January 16, 2012 Author Share Posted January 16, 2012 Thanks man, of course, I went to sleep after posting this question. Figured I would get some replies when I wake up. Then I woke up at 6:30 and continued writing some VEX while sipping some Xtend 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.