I updated mGear to 5.06. I’ll use this thread to post some issues I’ve been running into following the update.
They are all due to some differences between the new pymaya and pymel.
All my post build scripts use pymel.
Blanket switching all pymel to pymaya isn’t viable due to several class methods missing in mgear.pymaya.
The biggest source of errors when running my builds is due to the fact that when I initialize a node as a PyNode using pymel it’s object is different enough that any mgear.pymaya that I pass the PyNode to will error.
For exampe rigbits.addNPO.
So then when I pymaya.Pynode initialize. All the pymel.connectAttr methods errors.
The work around I use is to surgically PyNode using pymaya when I need to add NPOs, and change use the pymaya.connectAttr methods on those nodes.
There are many other errors that pop up if I use pymaya instead of pymel. One example is when creating a constraint. The pymel version of parentConstraint has a getWeightAliasList class method. pymaya doesn’t.
Thanks, hope this helps @Miquel !