I use the PartCreated event to add dynamic data to a Node’s model. I also have a ChangedSelection event which uses this dynamic data to notify our app which nodes are selected to update our property panel. I’m running into a problem where a new node is causing the ChangedSelection event to fire before the PartCreated, and the ChangedSelection event doesn’t have the data it needs that PartCreated populates.
Is there a way to tell the diagram which order to fire these events? If not any other ideas? I need both events to fire - just in the order of PartCreated -> ChangedSelection.