Hello,
I have a weird problem with mel.eval
import maya.mel as mel
mel.eval('setAttr -s 2 "polySphere2_subdivisionsAxis.ktv[0:1]" 1 18 5 18;')
mel.eval('setAttr "polySphere2_subdivisionsAxis.i" 5;')
The first one is giving me a syntax error, the second works fine.
Both work when I copy the exact string into a mel console.
Is there some funky character conversion going on?
Hum, any hints are greatly appreciated!
Thanks,
Seb
--
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings:
http://groups.google.com/group/python_inside_maya/subscribe