View Full Version : particle Id ??

08 August 2003, 11:27 PM
d if I access individual particle ,how can I do?
what is different with particleId and pt[] attribute??
is that the same?
if could have a simple example ,that would be better

08 August 2003, 05:17 AM
pt[] attribute??

08 August 2003, 01:02 PM
You should look up the setParticleAttr mel command. That should answer a lot of your questions. :)


08 August 2003, 01:58 PM
Your post is a bit confusing but let's say that you need to read each particles ID ?
Go to particleShape's attribute editor...Scrool to render attributes section and choose "numeric" as particle render type...hit the "current render type" button and by default particleID will be written in attribute name you can see each particles ID in your can also type any attribute name to show it's numeric values...(goalU,goalV,velocity...etc)
Maya automaticly adds ID number to each new born particle and thet number can never be shared among two particles...
I don't know if this was an answer to your question but it was a try...
good luck

08 August 2003, 09:12 AM
thanks for reply.sorry for my confusing post.
now I give a example below:
setParticleAttr -at velocity[0:7][11];
What I mean is ? in the pt[?] is the same as particleId ???
thanks .

and this
setParticleAttr -at velocity[2] -vv <<1,2,3>>
is right?

08 August 2003, 11:01 AM
What I mean is ? in the pt[?] is the same as particleId ???
thanks .

YES, it's the same..

CGTalk Moderation
01 January 2006, 11:00 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.