magneto Posted March 20, 2015 Share Posted March 20, 2015 Hi, I am trying to use hou.runVex but it seems to require a vex file, which is supposed to be compiled using vcc. This seems to convoluted when you just want to make a simple function call. I did it anyway but now I am getting "The attempted operation failed". I searched online but couldn't find any example of how it's used. I am passing {} for the second argument as my function doesn't take any arguments except the "export float out = 0". Is it actually working? Thanks Quote Link to comment Share on other sites More sharing options...
edward Posted March 21, 2015 Share Posted March 21, 2015 http://www.sidefx.com/docs/houdini14.0/hom/hou/runVex ? Quote Link to comment Share on other sites More sharing options...
magneto Posted March 21, 2015 Author Share Posted March 21, 2015 Hi Edward, I tried it from there already but it doesn't seem to work. As you know you have to compile the code into vex first, and after that I am getting a generic error calling the file. Quote Link to comment Share on other sites More sharing options...
edward Posted March 22, 2015 Share Posted March 22, 2015 <shrugs> If the documented example doesn't work, then there's a bug somewhere here. Quote Link to comment Share on other sites More sharing options...
magneto Posted March 22, 2015 Author Share Posted March 22, 2015 Thanks Edward, I submitted it. I imagine this function is not used a lot so a bug is quite possible. Even in the forums there is a mention of it but no example. Quote Link to comment Share on other sites More sharing options...
petz Posted March 22, 2015 Share Posted March 22, 2015 hou.runVex() works as long as you don´t pass any string to vex but this never really worked afaik. run_vex.hipnc 2 Quote Link to comment Share on other sites More sharing options...
nord3d Posted October 20, 2018 Share Posted October 20, 2018 On 3/23/2015 at 2:59 AM, petz said: hou.runVex() works as long as you don´t pass any string to vex but this never really worked afaik. run_vex.hipnc Thank you very much, petz! I use your example file for run VEX in 64-bit mode, as described in http://www.sidefx.com/docs/houdini/hom/hou/runVex.html It works, so in houdini 17, i can print a long value, calculated in VOP SOP, without overflow! test_precision=64_.hipnc (sorry, it's not commented, for comments please see petz's example) 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.