[Maya-Python] Query a Partcile Position

2012-05-14 Thread AJ
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


[Maya-Python] Re: Query a Partcile Position

2012-05-18 Thread AJ
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 
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  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/
> martinmrom...@gmail.com
> (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


[Maya-Python] Re: pymel.internal.startup : ERROR : maya.standalone was successfully initialized, but pymel failed to import maya.cmds (or it was not populated)

2016-10-26 Thread AJ
Hello everyone,

I'm having the same issue and I was wondering if anyone found the solution 
for the import error?

-- 
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 python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/81541c08-6d56-4753-b9d1-6ed09d500372%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Maya-Python] Re: pymel.internal.startup : ERROR : maya.standalone was successfully initialized, but pymel failed to import maya.cmds (or it was not populated)

2016-10-26 Thread AJ
Found this which solved it:
http://help.autodesk.com/cloudhelp/2016/ENU/Maya-Tech-Docs/PyMel/standalone.html

thanks

On Wednesday, October 26, 2016 at 9:23:44 AM UTC-4, Marcus Ottosson wrote:
>
> To fully understand the problem, would it be possible to post a 
> reproducible?
>
> For example.
>
> $ cd c:\program files\autodesk\maya2016\bin
> $ mayapy>>> from maya import standalone>>> standalone.initialize()>>> from 
> pymel import core
> ...
>
> ​
>
> On 26 October 2016 at 13:49, AJ > 
> wrote:
>
>> Hello everyone,
>>
>> I'm having the same issue and I was wondering if anyone found the 
>> solution for the import error?
>>
>> -- 
>> 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 python_inside_maya+unsubscr...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/python_inside_maya/81541c08-6d56-4753-b9d1-6ed09d500372%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/python_inside_maya/81541c08-6d56-4753-b9d1-6ed09d500372%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> *Marcus Ottosson*
> konstr...@gmail.com 
>

-- 
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 python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/3030f96f-7da1-450e-a9ae-760a8a4ec939%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Maya-Python] How to embed modelPanel to a pyqt ui (again) ?

2017-09-26 Thread AJ
+1

On Friday, September 15, 2017 at 4:11:19 PM UTC-4, Nestor Colt wrote:
>
>
> hello, and by the way have you found a solution for the   in the name 
> when is a nested layout working as a parent ?? 

-- 
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 python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/7d045d3a-5bd1-4b84-9285-f43641ff436c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.