Message 1 of 1
maya.api.OpenMaya.MPxNode Incorrect legalConnection args given

Not applicable
10-01-2018
06:19 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am making a node plugin That is derived from maya.api.OpenMaya.MPxNode, kDependNode
with 2 MFnMessageAttributes [manager and managed]
and i want to make sure that only managed attr can be connected to a manager attr.
but when debugging the function legalConnection(self, plug, otherPlug, arsSrc)
i found that both plug and otherPlug are the same thing.
i then made the same node plugin with the old python api and it works as expected. is this bug or am just going insane 🙂