import maya.mel as mm
for i in range(12,15):
mm.eval("polyProjection -ch 1 -type Planar -ibd on -kir -md z pCube%s.f[4:6] pCube%s.f[8];" % i)
sadly this wont go...does anyone know how to do this ? I would be very thankful:)
mm.eval("polyProjection -ch 1 -type Planar -ibd on -kir -md z pCube%s.f[4:6] pCube%s.f[8];" % (i,i))
import maya.cmds as cmds
for i in xrange(1,5):
obj = "pCube%d" % i
objs = ["%s.f[4:6]" % obj, "%s.f[8]" % obj]
cmds.polyProjection(objs, ch=True, type="Planar", ibd=True, kir=True, md="z")
--
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_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/9c32c4d2-af4e-4164-83e6-8a9820d33133%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.