Creates a leader line, given the coordinates of the points.
See Also | Example
RetVal = object.AddLeader(PointsArray, Annotation, Type)
The object or objects this method applies to.
Variant (array of doubles); input-only
The array of 3D WCS coordinates specifying the leader. You must provide at least two points to define the leader. The third point is optional.
A Tolerance, MText, BlockRef object or NULL.
AcLeaderType enum; input-only
The newly created Leader object.
The leader is a line that connects some annotation to a feature in a drawing. Leaders and their annotation are associative, which means if you modify the annotation, the leader updates accordingly. The annotation can be a Tolerance, Mtext, or BlockRef object.
You can also create leaders that are not associated to a particular object. To do this, simply input a NULL object as the annotation.