Thank you very much! This will get us started.
On Wed, Dec 5, 2012 at 11:10 AM, Daniel Harjanto wrote:
> in standard python:
>
> import maya.cmds as cmds
>
> for i in range(5):
>
> MySphere = cmds.polySphere()
>
> cmds.setAttr("%s.translateY" % MySphere[0], i)
>
> in pyMel:
>
> impor
in standard python:
import maya.cmds as cmds
for i in range(5):
MySphere = cmds.polySphere()
cmds.setAttr("%s.translateY" % MySphere[0], i)
in pyMel:
import pymel.core as pm;
for i in range(5):
MySphere = pm.PyNode(pm.polySphere()[0])
MySphere.setAttr('translateY',
Thank you for the link Eric, I'll check it out.
We're not trying to do anything crazy, so in case someone here has been to
the dark side and knows the answer please let me know :-)
Cheers,
Christian
On Wed, Dec 5, 2012 at 10:32 AM, Eric Thivierge wrote:
> Maybe this list may be more helpful:
Maybe this list may be more helpful:
http://groups.google.com/group/python_inside_maya
Eric Thivierge
http://www.ethivierge.com
On Wed, Dec 5, 2012 at 8:21 PM, Christian Gotzinger
wrote:
> Hi list,
>
> I'm rather new to Python, and while I've got ma
Hi list,
I'm rather new to Python, and while I've got many things worked out nicely
in SI already, we are trying to implement some of this stuff in Maya as
well.
Sorry for this simple question, but could somebody tell me the Maya
equivalent for this?
for i in range(5):
MySphere = Application.
5 matches
Mail list logo