Leaders
autocad_entity: autocad_leader
Features with autocad_entity set to autocad_leader are linear features that identify where to place an AutoCAD leader entity.
For AutoCAD-to-AutoCAD translations, the writer will attempt to reconnect an AutoCAD leader entity with an associated annotation entity. The annotation entity must be either an mtext or a block insert.
The reader returns the following leader-specific attributes.
Attribute Name |
Contents |
---|---|
autocad_path_type |
The type of path the leader follows. The path for a leader is one of autocad_straight_leader in which case the leader is a straight line, or autocad_spline_leader in which case the leader is a spline. |
autocad_arrow_head_on |
This specifies if the leader line has an arrowhead on it. Range:
Default: True |
autocad_hook_line_on_xdir (used by the reader only) |
This is True if the hook line is in the same direction as the x direction, and False if it is not. Range:
|
autocad_has_hook_line (used by the reader only) |
This is True if the leader has a hook line, and False if it does not. Range:
|
autocad_anno_type |
The type of annotation of the leader. This attribute is required by the writer if this leader is associated with an annotation entity and the association should be preserved. Range:
Default: autocad_anno_none |
autocad_anno_handle |
The handle of the annotation entity with which this leader is associated. This attribute is required by the writer if this leader is associated with an annotation entity and the association should be preserved. Range: Char[50] |
autocad_anno_height (used by the reader only) |
The height of the associated mtext entity. Range: 64-bit floating point number |
autocad_anno_width (used by the reader only) |
The width of the associated mtext entity. Range: 64-bit floating point number |
autocad_txt_offset_x |
The offset of the last leader vertex from the annotation placement point. Range: 64-bit floating point number |
autocad_txt_offset_y |
The offset of the last leader vertex from the annotation placement point. Range: 64-bit floating point number |
autocad_txt_offset_z |
The offset of the last leader vertex from the annotation placement point. Range: 64-bit floating point number |
autocad_x_dir_x autocad_x_dir_y autocad_x_dir_z (used by the reader only) |
The x, y, and z components of a vector indicating the horizontal direction of the text. Range: 64-bit floating point number |