Singleton Node

Singleton Node

ZachGray
Enthusiast Enthusiast
527 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)
528 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