Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

How to correctly uninitialized a MPxNode?

How to correctly uninitialized a MPxNode?

Anonymous
Not applicable
530 Views
1 Reply
Message 1 of 2

How to correctly uninitialized a MPxNode?

Anonymous
Not applicable

Hi,

I am using a MPxNode to store my attributes and everything works fine but when I unload my plugin, a warning is trigger. I looked in the documentation but I cant find a way to remove correctly the MPxNode.

Do you know which method I need to call to clean my MPxNode properly?

0 Likes
Accepted solutions (1)
531 Views
1 Reply
Reply (1)
Message 2 of 2

zewt
Collaborator
Collaborator
Accepted solution

After deleting a node, it still exists in the undo queue.  You need to run "flushUndo" before you can unload their plugins.