OpenMayaMPx.cvar.MPxDeformerNode_outputGeom error

OpenMayaMPx.cvar.MPxDeformerNode_outputGeom error

ryanagogo
Explorer Explorer
2,048 Views
2 Replies
Message 1 of 3

OpenMayaMPx.cvar.MPxDeformerNode_outputGeom error

ryanagogo
Explorer
Explorer

I just started using maya 2016, and was trying to run a python deformer plug-in that was created in 2014, and was getting an error from this line:

 

outputGeom = OpenMayaMPx.cvar.MPxDeformerNode_outputGeom

 

seems the class with outputGeom has changed.  The plug-in now works after changing the line to this:

 

outputGeom = OpenMayaMPx.cvar.MPxGeometryFilter_outputGeom

 

Did anyone else notice this change? Seems this kind of change will break a lot of older python plug-ins.

2,049 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable

Thanks ryan 

 

adding the error so its easy for others to relate to the issue .

 

 

outputGeom = OpenMayaMPx.cvar.MPxDeformerNode_outputGeom
# NameError: Unknown C global variable
# Warning: Failed to call script creator function #
# Error: #

Message 3 of 3

borbs727
Contributor
Contributor

Worked perfectly,

 

I'll just add that this helped fix an error I was getting for the shapeInverter plugin.

0 Likes