Juzwa Posted March 4, 2015 Share Posted March 4, 2015 Hi, I'm still new to houdini and aspecially vex, so I dont feel comfortable in it. lets say this is my path to the channel i want to use as a variable: "/obj/my_geo/some_sop/my_attribute" how do I make it a variable in a vex? eg. myVal = ch("/obj/my_geo/some_sop/my_attribute") often crashes houdini so I guess thats not how I do it. Quote Link to comment Share on other sites More sharing options...
pbarua Posted March 4, 2015 Share Posted March 4, 2015 This should be: f@myVal = ch("/obj/my_geo/some_sop/my_attribute") float myVal = ch("/obj/my_geo/some_sop/my_attribute") /temporary variable which is accessible within this node only You need to define type of variable. I declare it as float. Quote Link to comment Share on other sites More sharing options...
Juzwa Posted March 4, 2015 Author Share Posted March 4, 2015 hm.. i tried with that as well but this still don't work. It seems that Font SOP does not work on vex? Quote Link to comment Share on other sites More sharing options...
pbarua Posted March 4, 2015 Share Posted March 4, 2015 Font SOP works with hscript or python. 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.