PyMel in Maya 2014: Calling methods on nonLinear deformers

99 views
Skip to first unread message

Jørn-Harald Paulsen

unread,
Nov 13, 2013, 9:09:48 AM11/13/13
to python_in...@googlegroups.com
Hey guys, I'm trying to run my script package in Maya 2014, everything seems to work as it should but I'm getting these warnings all over the place:
# Warning: pymel.core.general : Could not create desired MFn. Defaulting to MFnDependencyNode. # 

I'm getting these whenever I'm calling methods on nonLinear deformers in maya 2014, does anyone know why I'm getting these? Maya 2012 doesn't give these warnings


Example:
testVar = pm.PyNode('bend1')
testVar.rename('newName')
# Warning: pymel.core.general : Could not create desired MFn. Defaulting to MFnDependencyNode. # 
# Warning: pymel.core.general : Could not create desired MFn. Defaulting to MFnDependencyNode. # 
# Result: nt.NonLinear(u'newName') # 
Reply all
Reply to author
Forward
0 new messages