Share

ModelLeaderNode Object


Description

The ModelLeaderNode represents the node in the leader of a model leader note.

Methods

Name Description
AddLeader Method that adds a leader branch with the input points. This is the equivalent of the 'Add Leader' command in the user interface. This method will succeed only if the HasRootNode property returns False (i.e. there are no existing leader segments). If there are existing leader segments, you should use the ModelLeaderNode.AddLeader method instead.
Delete Method that deletes this leader node, optionally retaining any dependent nodes.
GetReferenceKey Method that generates and returns the reference key for this entity.
InsertNode 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.

Properties

Name Description
Application Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned.
AttributeSets Property that returns the AttributeSets collection object associated with this object.
ChildNodes Read-only that returns the child nodes under this node. The count will return 0 if the node is a leaf node.
Intent Gets and sets the attached entity of the leaf leader node.
Parent Read-only property that returns the parent of the leader.
Position Gets and sets the leader node location on the sheet.
Type Returns an ObjectTypeEnum indicating this object's type.

Accessed From

ModelLeader.RootNode, ModelLeaderNode.InsertNode, ModelLeaderNodesEnumerator.Item, ModelSurfaceTextureSymbolDefinition.RootNode

Version

Introduced in version 2018

Was this information helpful?