Leader Object
Description
The Leader object represents a leader associated with a drawing annotation.
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, this method will fail you should use the LeaderNode.AddLeader method instead. |
GetReferenceKey |
Method that generates and returns the reference key for this entity. |
Properties
AllLeafNodes |
Property that 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 |
Property 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 |
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 |
Property that returns the parent of this leader object. |
RootNode |
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
Balloon.Leader,
BendNote.Leader,
ChamferNote.Leader,
DrawingWeldingSymbol.Leader,
FeatureControlFrame.Leader,
HoleTag.Leader,
LeaderNote.Leader,
PunchNote.Leader,
SketchedSymbol.Leader,
SurfaceTextureSymbol.Leader,
TransitionSymbol.Leader
Version
Introduced in version 11