3__ Posted October 30, 2006 Share Posted October 30, 2006 having a problem using an attribute/variable that was created using a particle operator vop. the attribute values are present in the spreasdsheet but I cannot apply them to anything. other per-point attributes work fine in this case... is this a limitation of pops + vops or have I overlooked something? -cpb Quote Link to comment Share on other sites More sharing options...
aracid Posted October 30, 2006 Share Posted October 30, 2006 hey cpb checkout the poppoint expression so instead of going $variable use poppoint ($PT, "variable",0) check out the attached file, but i think thats what u looking for poppoint.hip hope this helps brian Quote Link to comment Share on other sites More sharing options...
3__ Posted October 30, 2006 Author Share Posted October 30, 2006 works perfectly! thanks Brian. -cpb Quote Link to comment Share on other sites More sharing options...
brianwal Posted October 31, 2006 Share Posted October 31, 2006 Another solution would be to add a Custom Variable Name to your attribute (I think that's the proper terminology?) The easiest way to do this add an AttributeCreate SOP below your custom Particle VOP - and make the Attribute's name the same as your variable, i.e.: xfamp -and set it's value to be equal to itself, i.e. $XFAMP. Then you should be able to use $XFAMP as a local variable anywhere else you want in your particle network. If this doesn't make sense let me know and I'll make an example file / screenshots. (I'm in OSX right now, not Windows so I can't quickly do this like I normally would). Hope that helps! Quote Link to comment Share on other sites More sharing options...
3__ Posted November 2, 2006 Author Share Posted November 2, 2006 yep indeed it does, but I'd like to keep custom pops self contained, and variable usage consistent with the rest of the program... is this vex-pop variable problem a bug? -cpb Quote Link to comment Share on other sites More sharing options...
Marc Posted November 3, 2006 Share Posted November 3, 2006 Nope, it's not a bug. The attribute POP is the way to initialize it as a local variable. M 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.