Note
You have to include the header NodeModel.h.
NodeModelThis class represents a model of a Node in Instant Terra.
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();
NodeModel::GetNameLength() constReturns the length of the node model name
NodeModel::GetName(wchar_t
*buffer, size_t bufferLength) constReturns the name of the node model name
NodeModel::GetCategoryNameLength() constReturns the length of the category name of the node model
NodeModel::GetCategoryName(wchar_t *buffer, size_t
bufferLength) constReturns the name of the category name of the node model
NodeModel::IsComponent() constReturns if it's a component node model or not
Copyright © 2022 · All Rights Reserved · Wysilab