方面

autocad_entity:autocad_dimension.

尺寸是AutoCAD中使用的聚合功能,以在AutoCAD绘图中指定尺寸。尺寸特征具有下面描述的属性。

对齐尺寸:

  • DEFPT2.是第一延长线的终点。
  • DEFPT3.是endpoint of the second extension line.
  • Dimlineft.指定维度行。

旋转(线性)尺寸:

  • 第一个扩展线由DEFPT2。
  • 第二个扩展线由DEFPT3。
  • 尺寸线是指定的Dimlineft.

角尺寸:

  • DEFPT2.是第一延长线的开始。
  • DEFPT3.是第一延长线的终点。
  • DEFPT4.是startpoint of the second extension line.
  • Dimlineft.是endpoint of the second extension line.
  • ArcDefpt.指定尺寸线弧。

角度3点尺寸:

  • DEFPT2.是第一延长线的终点。
  • DEFPT3.是endpoint of the second extension line.
  • DEFPT4.是弧的中心点。
  • Dimlineft.指定尺寸线弧。

直径尺寸:

  • DEFPT4.是在圆圈或弧形上选择的点。
  • Dimlineft.从选择点完全绕过圆的点。

径向尺寸:

  • DEFPT4.是在圆圈或弧形上选择的点。
  • Dimlineft.是圆圈或弧的中心点。

直径尺寸:

  • DEFPT4.是在圆圈或弧形上选择的点。
  • Dimlineft.从选择点完全绕过圆的点。

纵坐标:

  • DEFPT2.是选择的点。
  • DEFPT3.是领导者的终点。
  • Dimlineft.是origin definition point of the dimension.

电弧长度尺寸:

  • DEFPT2.是第一延长线的终点。
  • DEFPT3.是endpoint of the second extension line.
  • DEFPT4.是弧的中心点。
  • Dimlineft.指定尺寸弧。

属性名称

内容

autocad_actual_measurement.

X方向插入块的比例因子。

范围:64位浮点数

默认值:1

autocad_arc_defpt.x
autocad_arc_defpt.y
autocad_arc_defpt.z

This defines the dimension arc for an angular dimension. This is equivalent to the 16,26,36 group in DXF.

范围:64位浮点数

默认值:无

autocad_arc_defpt2.x
autocad_arc_defpt2.y
autocad_arc_defpt2.z

定义点。This is equivalent to the 13,23,33 group in DXF.

范围:64位浮点数

默认值:无

autocad_arc_defpt3.x.
autocad_arc_defpt3.y.
autocad_arc_defpt3.z.

定义点。这相当于DXF中的14,24,34组。

范围:64位浮点数

默认值:无

autocad_arc_defpt4.x.
autocad_arc_defpt4.y.
autocad_arc_defpt4.z.

定义点。这相当于DXF中的15,25,35组。

范围:64位浮点数

默认值:无

autocad_dim_arc_is_partial.

弧长尺寸标志,指示电弧仅由两个点指定。

Range: 0 for false | 1 for true

默认值:0

autocad_dim_arc_start_param.

The arc parameter for the arc corresponding to the start point of the arc length dimension.

范围:64位浮点数

默认值:0.0

autocad_dim_arc_end_param.

The arc parameter for the arc corresponding to the end point of the arc length dimension.

范围:64位浮点数

默认值: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符号前面的文本

1 =弧符号是高于文本

2= no arc symbol is used

范围:0..2

默认值:无

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.

范围:64位浮点数

默认值:无

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.

范围:64位浮点数

默认值:无

autocad_dimension_attach_point.



这是定义的尺寸的附件点

  • 1 =左上角
  • 2 =顶部中心
  • 3.= Top Right
  • 4.= Middle Left
  • 5.= Middle Center
  • 6 =中间权利
  • 7.= Bottom Left
  • 8.= Bottom Center
  • 9.= Bottom Right

autocad_dim_arrowhead_pt_ .x

autocad_dim_arrowhead_pt_ .y

这些属性由读者提供但不由作者使用,描述了每个箭头上的顶点的x,y坐标,可以称为“箭头尖端”。是1之间的一些数字,维度中的箭头数。如果没有箭头,则不会提供此属性。

autocad_dimension_flag.


这是AutoCAD文件的原始值,指示维度类型。请参阅AutoCAD_dimension_type以获取此项的解码版本。

autocad_dimension_style_name.

使用的尺寸样式的名称。使用AutoCAD Writer时,重要的是在模板文件中定义了使用的维度样式;否则,不会设置任何样式,并且不会显示维度文本。即使使用标准维度样式,模板文件也必须保持其定义。

autocad_dimension_type.


This indicates the type of the autocad dimension. Possible values are:

autocad_rotated.
autocad_aligned.
autocad_angular.
autocad_diameter
autocad_radius.
autocad_angular3pt.
autocad_ordinate
autocad_bord.

autocad_leader_length.

This is the length of the dimension leader line.

autocad_linespace_style.

这是线间距的风格。它是1(至少)或2(精确)。

autocad_linespace_factor.

使用的默认线间距的百分比。

范围:0.25..4.0

默认值:1

autocad_rotation_angle.

The rotation angle of the dimension.

autocad_text_midpoint.x.
autocad_text_midpoint.y.y.
autocad_text_midpoint.z.

The midpoint of the text.

autocad_text_rotation

维度文本的旋转。

autocad_text_size.

地面单位中文的大小。

autocad_text_string

The dimension text value.

autocad_ucs_xangle

The angle of the ucs (user coordinate system) when the dimension was created.