PDA

View Full Version : scene grouping


lucky6969c
10-12-2009, 10:11 AM
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

ivanisavich
10-12-2009, 10:49 AM
obj = selection
group obj
ungroup obj

lucky6969c
10-12-2009, 11:04 AM
obj = selection
group obj
ungroup obj



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

denisT
10-12-2009, 09:02 PM
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




#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) * nodes = NULL, MSTR (http://forums.cgsociety.org/class_c_str.html) * name = NULL, BOOL selGroup = TRUE)
*/

Interface *ip = GetCOREInterface();
INode *group = ip->GroupNodes(...); // see above

lucky6969c
10-13-2009, 07:21 AM
#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) * nodes = NULL, MSTR (http://forums.cgsociety.org/class_c_str.html) * name = NULL, BOOL selGroup = TRUE)
*/

Interface *ip = GetCOREInterface();
INode *group = ip->GroupNodes(...); // see above




Thanks a lot
Jack

CGTalk Moderation
10-13-2009, 07:21 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.