Community
3ds Max Programming
Welcome to Autodesk’s 3ds Max Forums. Share your knowledge, ask questions, and explore popular 3ds Max SDK, Maxscript and Python topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is an INode an instance or a reference?

1 REPLY 1
Reply
Message 1 of 2
Anonymous
332 Views, 1 Reply

Is an INode an instance or a reference?

Hi,

given a particular INode, I'm trying to find out if it instanced or referenced. I've seen the IInstanceMgr class, but this doesn't seem to give me enough information.

for any given INode, I want to be able to answer the following questions:
1 - is it unique? (I think I can use the IInstanceMgr class, when GetInstances returns 1)
2 - is it a reference? (I don't think IInstanceMgr can tell me this, because the class documentation says any INode, be it the base or a reference, can be passed in as the source parameter)
3 - is it an instance? (on top of the problems stated for #2, IInstanceMgr doesn't seem to make any distinction between instances and references)

Does anyone know anything about finding out this information?

Thanks in advance,
Richard
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

Hi i have a problem too.

How can find only instances (Without references) ?

 IInstanceMgr::GetInstanceMgr()->GetInstances return instances  and references.

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report