Notifications
Clear all

[Closed] How to get instance

Hi!

Is there a way in maxscript to get if an Object is Instanced, and if so, to what node is referred?

Bye and thanks!
Alex

1 Reply
InstanceMgr.GetInstances $ &instances_array

where $ is your selected node, and instances_array contains all instances, if there are no instaces, you will have your selected object in the array (ie. 1 instance: itself)

You can find more if you search the maxscript help “instance”