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: 

INode clone

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
349 Views, 3 Replies

INode clone

Hello

I'm a bit stuck with cloning the INode

I need to copy an INode to collapse modifiers and then get info about uvws and etc. But without harming the main object 

But i don't really understand how exactly function Clone( remapDir ) works. what should i add as a parameter?

For example i've got 1 node which i get from GetCOREInterface() -> GetINodeByName

and a second empty node INode *newNode

How can i clone first one into second to be able to do anything with the second wihtout harming the first ?

Thank you

3 REPLIES 3
Message 2 of 4
istan
in reply to: Anonymous

CloneNodes() does not work for you?

Message 3 of 4
Anonymous
in reply to: istan

CloneNodes() need some NodeTab

And i only got 1 node with modifiers applied (or not) to it.

Maybe you can help me with converting my node into nodeTab? 

Thanks

Message 4 of 4
istan
in reply to: Anonymous

but where is written that a nodetab must not hold just one node? if you read the help file and follow the inheritance tab, you'll find this one: http://docs.autodesk.com/3DSMAX/16/ENU/3ds-Max-SDK-Programmer-Guide/cpp_ref/class_tab.html

which is one of the elementary objects of 3dsmax.

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

Post to forums  

Autodesk Design & Make Report