How can I query the number of particles in an nParticle? I need to select
one by one each particle, which I can see the feedback from mel as:
select -r nParticle1 ;
select -r nParticle1.pt[1492] ;
however, when I try to use:
cmds.nParticle('nParticle1',query=True,count=True)
I get the error:
# Error: RuntimeError: file <maya console> line 16: Transform owns more
than one possible shape #
The particle was created by using Fill Object.
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/CADiWwnSrZxdhEiSGeUL_C9Ofm%3Dw_fQOmCTkHYmreKe8iHKbMzA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.