autocad_entity: autocad_dimension
Dimensions are aggregate features used in AutoCAD to specify dimensions within an AutoCAD drawing. The dimension features have the attributes described below.
Aligned dimensions:
defpt2 is the endpoint of the first extension line.defpt3 is the endpoint of the second extension line.dimlinedefpt specifies the dimension line.Rotated (linear) dimensions:
Angular dimensions:
defpt2 is the startpoint of the first extension line.defpt3 is the endpoint of the first extension line.defpt4 is the startpoint of the second extension line.dimlinedefpt is the endpoint of the second extension line.arcdefpt specifies the dimension line arc.Angular 3-point dimensions:
defpt2 is the endpoint of the first extension line.defpt3 is the endpoint of the second extension line.defpt4 is the center point of the arc.dimlinedefpt specifies the dimension line arc.Diameter dimensions:
defpt4 is the point selected on the circle or arc being dimensioned.dimlinedefpt is the point on the circle exactly across from the selection point.Radial dimensions:
defpt4 is the point selected on the circle or arc being dimensioned.dimlinedefpt is the center point of the circle or arc.Diameter dimensions:
Ordinate dimensions:
defpt2 is the point which was selected.defpt3 is the endpoint of the leader.dimlinedefpt is the origin definition point of the dimension.Arc length dimensions:
defpt2 is the endpoint of the first extension line.defpt3 is the endpoint of the second extension line.defpt4 is the center point of the arc.dimlinedefpt specifies the dimension arc.|
Attribute Name |
Contents |
|
autocad_actual_measurement |
The scale factor for the inserted block in the x direction. Range: 64-bit floating point number Default: 1 |
|
autocad_arc_defpt.x |
This defines the dimension arc for an angular dimension. This is equivalent to the 16,26,36 group in DXF. Range: 64-bit floating point number Default: none |
|
autocad_arc_defpt2.x |
Definition Point. This is equivalent to the 13,23,33 group in DXF. Range: 64-bit floating point number Default: none |
|
autocad_arc_defpt3.x |
Definition Point. This is equivalent to the 14,24,34 group in DXF. Range: 64-bit floating point number Default: none |
|
autocad_arc_defpt4.x |
Definition Point. This is equivalent to the 15,25,35 group in DXF. Range: 64-bit floating point number Default: none |
| autocad_dim_arc_is_partial |
Flag for arc length dimensions indicating that the arc is specified by only two points. Range: 0 for false | 1 for true Default: 0 |
| autocad_dim_arc_start_param |
The arc parameter for the arc corresponding to the start point of the arc length dimension. Range: 64-bit floating point number Default: 0.0 |
| autocad_dim_arc_end_param |
The arc parameter for the arc corresponding to the end point of the arc length dimension. Range: 64-bit floating point number Default: 0.0 |
| autocad_dim_arc_symbol_type |
The indicates the use of an arc symbol with the text of an arc length dimension, as defined 0 = arc symbol precedes text 1 = arc symbol is above text 2 = no arc symbol is used Range: 0..2 Default: none |
|
autocad_dim_leader_pt1.x autocad_dim_leader_pt1.y autocad_dim_leader_pt1.z |
Start point for an optional extra leader for an arc length dimension. Range: 64-bit floating point number Default: none |
|
autocad_dim_leader_pt2.x autocad_dim_leader_pt2.y autocad_dim_leader_pt2.z |
End point for an optional extra leader for an arc length dimension. Range: 64-bit floating point number Default: none |
|
autocad_dimension_attach_point |
This is the attachment point of dimension, as defined
|
|
autocad_dim_arrowhead_pt_<number>.x autocad_dim_arrowhead_pt_<number>.y |
These attributes, provided by the reader but not used by the writer, describe the x,y coordinates of the vertex, on each arrowhead, that could be called the “tip of the arrow.” <number> is some number between 1 and the number of arrowheads in the dimension. If there are no arrowheads, then this attribute will not be supplied. |
|
autocad_dimension_flag |
This is the raw value from the AutoCAD file that indicates the type of dimension. See autocad_dimension_type for the decoded version of this. |
|
autocad_dimension_style_name |
The name of the dimension style used. When using the AutoCAD writer, it is important that the dimension style used is defined in the template file; otherwise, no style will be set and the dimension text will not be displayed. Even if the standard dimension style is used, the template file must hold a definition for it. |
|
autocad_dimension_type |
This indicates the type of the autocad dimension. Possible values are: autocad_rotated |
|
autocad_leader_length |
This is the length of the dimension leader line. |
|
autocad_linespace_style |
This is the style of the line spacing. It is either 1 (at least) or 2 (exact). |
|
autocad_linespace_factor |
The percentage of default line spacing used. Range: 0.25..4.0 Default: 1 |
|
autocad_rotation_angle |
The rotation angle of the dimension. |
|
autocad_text_midpoint.x |
The midpoint of the text. |
|
autocad_text_rotation |
The rotation of the dimension text. |
|
autocad_text_size |
The size of the text in ground units. |
|
autocad_text_string |
The dimension text value. |
|
autocad_ucs_xangle |
The angle of the ucs (user coordinate system) when the dimension was created. |