- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I am having an issue with the duplicate functionality.
Basically, when certain of my custom nodes are created, they need to be connected to others in a special way that cannot be done via the default duplicate or duplicate special, i.e. if I just duplicate a node, the result is bad because the connections to other nodes are all wrong.
This is why I was wondering if there was a way to override a node's duplicate in c++, or have a post duplicate function.
I tried accessing the node's plugs from c++ in MDGMessage::addNodeAddedCallback and also via the postConstructor function, but it seems that at that stage none of the (wrong) connections have been made yet.
Any help would be much appreciated.
Cheers,
Sebastian
Solved! Go to Solution.