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.

Singleton Node

Singleton Node

ZachGray
Enthusiast Enthusiast
542 Views
1 Reply
Message 1 of 2

Singleton Node

ZachGray
Enthusiast
Enthusiast

Is there a preferred way to create a singleton MpxNode kDepend node? Want something that behaves predictably with referencing and imports.

For example, there is only ever one time node, render settings.

Thank you!

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

brentmc
Autodesk
Autodesk
Accepted solution

Hi,

There is no easy way to do this in.

Singleton nodes like render settings have to monitor nodes created through referencing and imports and then merge them (or resolve conflicts etc) after the files are loaded. (by hooking into things like the "PostSceneRead" event) 

 

Brent McPherson
Principle Engineer
0 Likes