TheDude123
Thanks everyone for the help! I'm running into another issue though: I've found an attribute on the points (of the primitives found) and I'd like to store those values into an array of values (they are float values, btw). I can't seem to find a function that will do this. Basically, create an array from an attribute that exists on multiple points (and has different float values).
Example:
point0 f@attribute = 2.3
point1 f@attribute = 73.3
point2 f@attribute = 54.34
point3 f@attribute = 22.6
point4 f@attribute = 5.3
point5 f@attribute = 67.3
create array {2.3, 73.3, 54.43, 22.6, 5.3, 67.3}
Any suggestions?
What you are looking for is a pointmany VEX function. It doesn't exist. There is an RFE for this: SESI #19043. Submit an RFE and reference this number so they can bump it up.
For now you have to do it manually:
float vals [ ] = array ( );
int pts [ ] = array ( 1, 2, 3 );
foreach ( int pt; pts )
{
float val = point ( 0, "attrib", pt );
append ( vals, val );
}