Notifications
Clear all

[Closed] scene grouping

Hello
How do I group the meshes into a group? and how to ungroup them?
in MAX SDK 8… I tried GroupNodes(); and compiler just complains there is no such method…
Thanks in advance for any pointers
Jack

4 Replies
2 Replies
(@denist)
Joined: 11 months ago

Posts: 0

 
#include "maxapi.h"
 
/*
virtual [INode]( http://forums.cgsociety.org/class_i_node.html)*  Interface::GroupNodes ( [INodeTab]( http://forums.cgsociety.org/class_i_node_tab.html)  * [i]nodes[/i] = NULL, [MSTR]( http://forums.cgsociety.org/class_c_str.html)  * [i]name[/i] = NULL, BOOL [i]selGroup[/i] = TRUE) 
*/
 
Interface *ip = GetCOREInterface();
[size=2]INode *group = ip->GroupNodes(...); // see above
 

[/size]
(@lucky6969c)
Joined: 11 months ago

Posts: 0

Thanks a lot
Jack


obj = selection
group obj
ungroup obj

1 Reply
(@lucky6969c)
Joined: 11 months ago

Posts: 0

Thanks… ummmm… at first blush, I need the code in C++…
Jack