Class NodeModel¶
Note
You have to include the header NodeModel.h.
-
class
NodeModel
¶ This class represents a model of a Node in Instant Terra.
- Throws
Error – In any of these commands, if the communication is off, the following error code will be thrown
ErrorCode::CommunicationError
.
// Get the model of a node InstantTerra instantTerra = CreateInstantTerra(); Project project = instantTerra.GetProject(); Graph graph = project.GetGraph(); Node firstNode = graph.GetNode(0); NodeModel nodeModel = firstNode.GetNodeModel();
-
void
NodeModel
::
GetName
(wchar_t *buffer, size_t bufferLength) const¶ Returns the name of the node model name
-
size_t
NodeModel
::
GetCategoryNameLength
() const¶ Returns the length of the category name of the node model