magneto Posted July 28, 2013 Share Posted July 28, 2013 Hi, I am trying to use: op:`opinputpath(".", 0)`[/CODE]But couldn't figure out the right syntax in VEX. Right now I am using absolute path:[CODE]point("op:/obj/geo1/grid1", "P", 0);[/CODE][size=4]It would be much better if I could use opinputpath.[/size][size=4]Thanks [/size] Quote Link to comment Share on other sites More sharing options...
swimmer Posted July 28, 2013 Share Posted July 28, 2013 (edited) I think it's just @OpInputn, where "n" is the input number you want it to look to. The input numbers start at 1. edited, to correct the syntax... Edited July 28, 2013 by swimmer 1 Quote Link to comment Share on other sites More sharing options...
magneto Posted July 28, 2013 Author Share Posted July 28, 2013 Thanks @OpInput1 worked great Quote Link to comment Share on other sites More sharing options...
swimmer Posted July 29, 2013 Share Posted July 29, 2013 Happy to help. I'm just going over the new tutorial on this a second time. Powerful stuff! 1 Quote Link to comment Share on other sites More sharing options...
pelos Posted May 19, 2014 Share Posted May 19, 2014 mmm and how can you access an attribute from the second input? Quote Link to comment Share on other sites More sharing options...
Skybar Posted May 19, 2014 Share Posted May 19, 2014 mmm and how can you access an attribute from the second input? @OpInputX, where X is 1, 2, 3 or 4 for each input. Quote Link to comment Share on other sites More sharing options...
pelos Posted May 20, 2014 Share Posted May 20, 2014 thanks skybar, thats for accessing the input, lets say i want to get the normals or the Cd of the second input. Quote Link to comment Share on other sites More sharing options...
magneto Posted May 20, 2014 Author Share Posted May 20, 2014 point(@OpInput2, "Cd", @ptnum); 1 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.