ModelLeaderNode.InsertNode Method
Parent Object: ModelLeaderNodeDescription
Method that adds a leader node at the specified position between two existing leader nodes. This is the equivalent of the 'Add Vertex' command in the user interface. This method does not apply for leaf nodes.
Syntax
ModelLeaderNode.InsertNode( ChildNode As ModelLeaderNode, Position As Point ) As ModelLeaderNodeParameters
Name | Type | Description |
ChildNode | ModelLeaderNode | LeaderNode object that specifies a child node of this node. The new node will be inserted between these two nodes. If the input node is not an immediate child, an error will occur. |
Position | Point | Point object that specifies the position of the node to add. The method fails if the input position is not on the leader segment connecting the two leader nodes. The point is projected onto the orientation plane. |