Go to: Return value. Related commands. Flags. Examples.
![]() | ![]() |
![]() | ![]() |
getParticleAttr -at velocity particle1; // This will return the average velocity for the entire particle // object as well as the maximum offset from the average. getParticleAttr -at velocity particleShape1.pt[0:7] particleShape1.pt[11]; // This will return the average velocity for particles 0-7 and 11 // as well as the maximum offset from the average. getParticleAttr -at position -array true particleShape1.pt[0:7] particleShape1.pt[11]; // This will return an array of 27 floats containing the position // values for the nine specified particles.