Thank you all for responds,
They were very helpful.
I also found this page which has nice way of doing it.
Take a look out it:

http://www.fundza.com/rms/ri_mel/sample_scripts_I/index.html

many thanks again for your help



On May 14, 2:34 pm, Martin La Land Romero <[email protected]>
wrote:
> I would start by getting information about the selected particle, something
> like
>
> Select the particle shape > changed to select by component type then >
> select the desire particle.
>
> import maya.cmds as cmds
>
> myselPart = cmds.ls(sl = True)
>
> print myselPart
>
> That's a start
>
> Martin
>
> On Sun, May 13, 2012 at 6:17 PM, AJ <[email protected]> wrote:
> > Hey,
>
> > Lets say I have a particle that is moving base on a field for 10
> > frames.
> > How can I query its position on each frame and write it in text file?
>
> > Many thanks for you help in advance.
>
> > --
> > view archives:http://groups.google.com/group/python_inside_maya
> > change your subscription settings:
> >http://groups.google.com/group/python_inside_maya/subscribe
>
> --
> Martin La Land 
> Romerowww.martinromerovfx.comhttp://martinromerovfx.blogspot.com/
> [email protected]
> (415)261-2172

-- 
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe

Reply via email to