PDA

View Full Version : why doesn't querying work on the particle command


gmask
08-22-2008, 05:13 PM
Here's an example pretty much from the docs

//makes some particles
particle -p 0 0 0 -p 3 5 6 -p 5 6 7 -p 9 9 9;

// should return the age of the particle with id 1 in object particle1
particle -q -attribute age -id 1 particle1;

// Error: No object matches name: age //

Duncan
08-22-2008, 06:00 PM
Put the query flag last:
particle -attribute age -id 1 -q particle1;

It should not care about order but does...I'll enter a bug if there isn't one already.

Duncan

gmask
08-22-2008, 06:07 PM
yea that does sort of break with convention, thanks!

CGTalk Moderation
08-22-2008, 06:07 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.