Message 1 of 3
Outline Editor Contextual Menu On Custom Node
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I have created a custom node based on an OpenMayaMPx.MPxLocatorNode. The node is created and registered in Python (I used this example as a starting point: https://help.autodesk.com/view/MAYAUL/2023/ENU/?guid=MAYA_API_REF_py_ref_python_2api1_2py1_rocking_t...). So far it works, and when I add the node to the scene, it appears in the outline editor as expected. I now want to add some menu items to the context menu that appears when a node is hovered and right-clicked in the outline editor. I want these menu items to perform custom actions for the selected node and be visible only on nodes of that custom type. I have not yet found a solution that works for this case. Can anyone help me with this issue?