hello
i want to do a planar mapping of four objects like this:
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:)
I'm pretty sure the error you are seeing from this is that there are not
enough format arguments for the string? It is because in your string you
use %s two times but only provide one format argument. It would work if you
modified it to:
mm.eval("polyProjection -ch 1 -type Planar -ibd on -kir -md