Notifications
Clear all

[Closed] about how to get this value

as presented in my attachment

3 Replies

What value?
This is the name of the selected object. You can ge it with

selection[1].name

no,maybe i didnt clear my question,i am not just get the selected node,i want get all nodes name when i traverse my scene,and i use 3ds max sdk c++

use these

virtual INode* Interface::GetRootNode() 
    Returns a pointer to the root node. From the root node one can retrieve the  children (using INode::NumberOfChildren(), and  INode::GetChildNode(i)). This allows a developer enumerated the scene by  enumerating the node tree. 
virtual MCHAR* INode::GetName()  [pure  virtual]         

Remarks: Returns the name of the node. Implemented in INodeTransformed.