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 <[email protected]>wrote: > 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.CreatePrim("Sphere", "MeshSurface", "", "") > MySphere.PosY = i > > I want to set attributes without having to move and rotate commands. > > Thank you! >

