Notifications
Clear all

[Closed] GetIntances of controllers?

If I want node instances I do

InstanceMgr.GetInstances $Dummy01 &instances

But how can I get Controller Instances?

4 Replies

the real question is why would you want to do this??

is it to replace instances? or to get dependencies?

if its to replace all instance of controllers you can use
replaceInstances <controller> <newController>

mark

I want to know which objects are useing instances of the specified controller.

well without having max infront of me you could try
nodes = for obj in refs.dependents con where isvalidnode obj collect obj

mark

Great, it appears to be working. Thanks!