[Maya-Python] Help

2009-08-17 Thread sabareesh rg
can any one help me to create a Dynamic Field in Maya using Python API i just need a example pls help sabareesh RG --~--~-~--~~~---~--~~ http://groups.google.com/group/python_inside_maya -~--~~~~--~~--~--~---

[Maya-Python] Re: unique object id

2009-08-17 Thread Sebastian Schoellhammer
Thanks a lot for the quick reply :) On Mon, Aug 17, 2009 at 3:45 PM, Chad Dombrova wrote: > > MObjectHandle.hashCode() or pymel.nodetypes.DependNode.__hash__() > > keep in mind this unique id is only valid while the scene is open. > close it and reopen and all the id's will change. however, with

[Maya-Python] vector add

2009-08-17 Thread Dimitry
Hey Guys, I have a question according Vector Class(pymel) is didn't find a add vector function, it's inside? Thanks! Best Dima --~--~-~--~~~---~--~~ http://groups.google.com/group/python_inside_maya -~--~~~~--~~--~--~---

[Maya-Python] # Error: : line1 in method 'MFnNurbsCurve_getKnotDomain', argument 2 of type 'double &' #

2009-08-17 Thread Praxis
Hi all I am new to python and try to rewrite a C++ script in python. The code is this: tStart tEnd curveFn.getKnotDomain( tStart, tEnd) #OpenMaya.MFnNurbsCurve () Error: # Error: : line1 in method 'MFnNurbsCurve_getKnotDomain', argument 2 of type 'double &' # I also try it like is

[Maya-Python] Re: # Error: : line1 in method 'MFnNurbsCurve_getKnotDomain', argument 2 of type 'double &' #

2009-08-17 Thread Praxis
Found my answer. Problem solved. tStartP = OpenMaya.MScriptUtil().asDoublePtr() tEndP = OpenMaya.MScriptUtil().asDoublePtr() curveFn.getKnotDomain(tStartP, tEndP) tStart = OpenMaya.MScriptUtil().getDouble(tStartP) tEnd = OpenMaya.MScriptUtil().getDouble(tEndP) Thans P. On Aug 17, 6:41 pm, Pra

[Maya-Python] Re: unique object id

2009-08-17 Thread Chad Dombrova
p.s. you can thank friend of the list Dean for that feature. thanks Dean! ...positive reinforcement :) On Aug 16, 2009, at 11:23 PM, Sebastian Schoellhammer wrote: > Hello, hello - > > I seem to remember there was a unique object ID introduced Maya2009 > but I can't find anything on it in

[Maya-Python] Re: vector add

2009-08-17 Thread chadrik
Vector.__add__ a + b On Aug 17, 2009, at 6:44 AM, Dimitry wrote: > > Hey Guys, > > I have a question according Vector Class(pymel) > is didn't find a add vector function, it's inside? > > Thanks! > Best > Dima > > --~--~-~--~~~---~--~~ http://groups.google.co

[Maya-Python] load plugin via api?

2009-08-17 Thread chadrik
is this possible? i've looked around and have not been able to find anything -chad --~--~-~--~~~---~--~~ http://groups.google.com/group/python_inside_maya -~--~~~~--~~--~--~---