fusepilot Posted May 18, 2016 Share Posted May 18, 2016 Is it possible to access a single component of a vector in a stamp expression? Or is it just limited to single numbers? I've searched and haven't found anything specific to copy stamping and vectors. For example, if I had a vector attribute called size and I wanted to just get the second component. I've tried: stamp('../copy1', 'size.y', 0) stamp('../copy1', 'sizey', 0) stamp('../copy1', 'size[1]', 0) I know it would be easy enough to create an extra attribute with just the second component to stamp instead. But it seems like this should be unnecessary. Quote Link to comment Share on other sites More sharing options...
xray Posted May 25, 2016 Share Posted May 25, 2016 No. From the docs, it looks like "stamp" only returns a floating point value. "This function retrieves floating-point number values" Quote Link to comment Share on other sites More sharing options...
Atom Posted May 25, 2016 Share Posted May 25, 2016 (edited) You can of course use an Attribute Wrangle to store the single axis in a new attribute and stamp just that. f@my_y_axis = v@P.y; Eh, it looks like you reject that solution, hmm... Edited May 25, 2016 by Atom 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.