ModelLeader Object
Description
The ModelLeader represents the leader of a model leader note.
Methods
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. |
GetReferenceKey |
Method that generates and returns the reference key for this entity. |
Properties
AllLeafNodes |
Read-only propertythat returns a flat collection of all the leaf nodes in the leader tree. This property will return Nothing if the HasRootNode property returns False. |
AllNodes |
Read-only that returns a flat collection of all the nodes in the leader tree. This property will return Nothing if the HasRootNode property returns False. |
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. |
ArrowheadType |
Gets and sets the arrowhead type of the leader. |
AttributeSets |
Property that returns the AttributeSets collection object associated with this object. |
HasRootNode |
Read-only property that returns if a root node exists for this leader. If False, there are no leader segments associated with this leader and the RootNode property will return Nothing. |
Parent |
Read-only property that returns the parent of the leader. |
RootNode |
Read-only property that returns the root node of this leader. This property will return Nothing if the HasRootNode property returns False. |
Type |
Returns an ObjectTypeEnum indicating this object's type. |
Accessed From
ModelFeatureControlFrameDefinition.Leader,
ModelLeaderNoteDefinition.Leader,
ModelSurfaceTextureSymbolDefinition.Leader,
ModelWeldingSymbolDefinitions.Leader
Version
Introduced in version 2018