catchyid Posted August 18, 2016 Share Posted August 18, 2016 Hi, Beginner question. If we prefix a variable with $, e.g. $PT, then it mean it must a local variable? If we prefix a variable with @, then it means it must be an attribute? Thanks, Quote Link to comment Share on other sites More sharing options...
Atom Posted August 18, 2016 Share Posted August 18, 2016 The $ local variables are legacy stuff. Houdini is moving to a more @ttribute centric approach with a focus on VEX. Quote Link to comment Share on other sites More sharing options...
catchyid Posted August 18, 2016 Author Share Posted August 18, 2016 Thanks Really appreciate ur help Quote Link to comment Share on other sites More sharing options...
Sepu Posted August 18, 2016 Share Posted August 18, 2016 (edited) True what Atom said, however not all the local variables have yet their same relatives in @attributes. Hopefully soon everything will be using @attr is way more easy to understand, in my opinion. Also so worth looking at this page http://www.sidefx.com/docs/houdini/vex/snippets Edited August 18, 2016 by Sepu 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.