Jump to content
BlackPariah

VEX function clarification

Recommended Posts

Hello!

I have a bunch of points, & I want to run some lines on just ONE specific point's attribute & I'm lost on how to grab a single point by it's point number or grab one of it's attributes/attribute components! For Example, I want to store the N vector attribute of point number 19 in a new vector variable called foo. Or grab the N.y component of point 19's Normal attribute & store it in a float variable named bar. I'm not a programmer & the help references for these type of functions have no practical examples so it's a bit difficult to put it in context... I'd appreciate any help. Thanks!  

Share this post


Link to post
Share on other sites

vector foo = point(0, "N", 19) // if you need it as a variable

v@foo= point(0, "N", 19) // if you need it as an attribute

Edited by fuat

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×