Hey Guys,

my question related on earlier discussion about a control maya from
eclipse

http://groups.google.com/group/python_inside_maya/browse_thread/thread/b357b790538d3ac1/99c9f10223d4f204?hl=en&lnk=gst&q=eclipse#99c9f10223d4f204

with the new pymel version 0.9.2 I followed tutorials how to add all
builtins and automaticly install pymel, and I think that it's works
(because such stuff like
###
import maya.OpenMaya
vector1 = maya.OpenMaya.MVector(0,1,0)
vector2 = maya.OpenMaya.MVector(1,0,0)
vector3 = maya.OpenMaya.MVector(0,0,2)
newVector = vector1 + vector2 + vector3
print "newVector %f, %f, %f " % (newVector.x, newVector.y,
newVector.z)
###
works, I got "newVector 1.000000, 1.000000, 2.000000" in the console
bar)

But I didn't got to draw any objects into maya interface, like:

import pymel
pymel.sphere()

my wish to get a sphere in opened maya window at 0,0,0 coordinate.

Could somebody of you guru guys help me please?

Thank you in advise!
Cheers,
Dimitry
--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---

Reply via email to