插入

autocad_entity:autocad_insert

插入点特性使用 in AutoCAD to specify block locations and associated attribution.插入 are another way in which attribution is stored within an AutoCAD drawing file.The features returned from the AutoCAD reader encapsulate all the information from the AutoCAD insert entity and all attribute entities that are associated with the insert entity.

Insert features can be thought of as block references.They represent the location of an instance of a block definition.When passing features to the AutoCAD writer, those features with the type autocad_insert can be used to match existing block definitions in the TEMPLATE file.

If an attribute passed to the writer is defined by an AutoCAD Attribute Definition in the TEMPLATE file, then the placement of the attribute is taken from the TEMPLATE file unless it is overridden by the attributes shown in the table below.

如果 position of the attribute is not specified in a TEMPLATE file and is not specified in the attributes below, then the attributes are placed at the insert location.Apart from the user-defined attributes specified within it, each insert entity also has the following attributes.

Attribute Name

Contents

autocad_xscale

The scale factor for the inserted block in the x direction.

范围:64位浮点数

默认值:1

autocad_yscale

The scale factor for the inserted block in the y direction.

范围:64位浮点数

默认值:1

autocad_zscale

The scale factor for the inserted block in the z direction.

范围:64位浮点数

默认值:1

autocad_size_x

The size of the inserted block in ground units in the x direction.This value will be used to set the scale factor of the inserted block, and takes precedence over the value forautocad_xscale

范围: Any positive real number.

默认值:无默认

autocad_size_y

The size of the inserted block in ground units in the y direction.This value will be used to set the scale factor of the inserted block, and takes precedence over the value forautocad_yscale.

范围: Any positive real number.

默认值:无默认

autocad_size_z

The size of the inserted block in ground units in the z direction.This value will be used to set the scale factor of the inserted block, and takes precedence over the value forautocad_zscale.

范围: Any positive real number.

默认值:无默认

autocad_回转

The rotation of the inserted block, counterclockwise from horizontal.

范围: -360.0 ..360.0

默认值:0

autocad_number_columns

The column count for the insert.

范围: 0..65536

默认值:1

autocad_number_rows

The row count for the insert.

范围: 0..65536

默认值:1

autocad_column_distance

The column spacing for the insert.

范围:64位浮点数 > 0

默认值:0

autocad_row_distance

The row spacing for the insert.

范围:64位浮点数 > 0

默认值:0

autocad_block_name

The name of the block insert to be inserted.

范围: char[33]

Default:FMEBLOCK where段号is some unique positive integer > 0.

autocad_block_insert_x

autocad_block_insert_y

autocad_block_insert_z

块参照实体的插入点位置。

读取时,这些属性被添加到块参考分量实体读取器参数时爆炸块到实体商店插入位置上的组件都被选中。

当写入时,这些属性自动块创建过程中设置的块的插入点。

范围:64位浮点数

默认值:0

autocad_attributes_follow

写来表示,如果属性也将被存储与插入实体时使用。如果要素属性将被写成插入属性AutoCAD的输出文件这必须被指定。

此属性影响块的两个创建属性时DEFAULT_ATTR_STORAGE指令被设为INSERT_ATTRIBUTES和块的自动块创建期间创建。

范围:TRUE | false

默认值:true

autocad_attribute_display

指示属性值是可见或不可见。这不会覆盖现有的模板文件属性的定义中发现的可见性标记。

范围:可见| invisible

默认值:隐形

autocad_attr_def_tag

指示用于“属性”定义的标签。(只读)

范围:文本字符串

autocad_attr_def_prompt

指定在插入包含该属性定义的块时显示的提示。(只读)

范围:文本字符串

autocad_attr_def_default

指定默认属性值。(只读)

范围:文本字符串

fme_attrib_info {N} .field_name

该列表属性举行的第N个属性的名称。

此属性应该是相同的顺序和参考块匹配的属性定义标签名称。否则,可能会造成不可预料的插入属性数据。

不建议更改在AutoCAD中对AutoCAD的翻译这个属性。

范围:文本字符串

fme_attrib_info {N} .field_size

该列表属性持有N个属性的大小。

范围的整数

默认值:0

fme_attrib_info {N} .field_value

此列表属性持有N个属性的值。

范围:文本字符串

autocad_ _X
autocad_ _y

autocad_ _z

fme_attrib_info {N} .location_x

fme_attrib_info {N} .location_y

fme_attrib_info {N} .location_z

使用时,属性与该插入元件相关联,从而实现用于显示目的而指定的属性的位置。这指定确切位置的属性将被放置。请注意,FME属性可能包含比AutoCAD的属性不同的值。这是因为如果该理由没有企图baseline_left转换进入或离开支持这些FME属性的其它格式时更为有用的FME属性的值将被修改。

范围:任何64位浮点数

默认值:X,Y,和插入的Z值坐标(用于AutoCAD的属性)

0,0,0(用于FME属性)

Reprojectable:是

autocad_ _
alignment_x
autocad_ _
alignment_y

autocad_ _
alignment_z

fme_attrib_info {N} .align_x

fme_attrib_info {N} .align_y

使用时,属性与该插入元件相关联,从而实现用于显示目的而指定的属性的位置。这指定了属性是被放置在对准位置。请注意,FME属性可能包含比AutoCAD的属性不同的值。这是因为如果该理由没有企图baseline_left转换进入或离开支持这些FME属性的其它格式时更为有用的FME属性的值将被修改。

范围:任何64位浮点值

默认值:0,0,0(用于AutoCAD的属性)

的价值fme_attrib_info {N} .location_ [X | Y | Z](用于FME属性)

Reprojectable:是

autocad_ _

理由

的属性的相对于其插入点的理由(未对准其点)。

范围:

autocad_top_left |
autocad_top_center |
autocad_top_right |
autocad_top_middle |
autocad_top_aligned |
autocad_top_fit |
autocad_middle_left |
autocad_middle_center |
autocad_middle_right |
autocad_middle_middle |
autocad_middle_aligned |
autocad_middle_fit |
autocad_bottom_left |
autocad_bottom_center |
autocad_bottom_right |
autocad_bottom_middle |
autocad_bottom_aligned |
autocad_bottom_fit |
autocad_baseline_left |
autocad_baseline_center |
autocad_baseline_right |
autocad_baseline_middle |
autocad_baseline_aligned |
autocad_baseline_fit
默认值:无默认

fme_attrib_info {N} .justification

的属性的相对于其插入点的理由(未对准其点)。

范围:

TOP_LEFT |
TOP_CENTER |
TOP_RIGHT |
top_middle |
top_aligned |
top_fit |
MIDDLE_LEFT |
MIDDLE_CENTER |
MIDDLE_RIGHT |
middle_middle |
middle_aligned |
middle_fit |
BOTTOM_LEFT |
BOTTOM_CENTER |
BOTTOM_RIGHT |
bottom_middle |
bottom_aligned |
bottom_fit |
baseline_left |
baseline_center |
baseline_right |
baseline_middle |
baseline_aligned |
baseline_fit

默认值:baseline_left

fme_attrib_info {N} .generation

生成的N个属性的。

范围:

正常|
upside_down |
向后|
upsidedown_backwards

默认值:正常

autocad_ _样式

fme_attrib_info {N} .style

该属性的文字样式的名称。对于由作家使用这个属性,必须指定包含文本样式的模板文件。

默认值:无默认

fme_attrib_info {N} .width_
因子

缩放在x方向上,这使得该文本更宽或更窄施加。然而,这并不影响文本字符串的重量(即气魄)。

范围:64位浮点数> 0且<= 10000

默认值:1

autocad_ _颜色

属性的色号。看到autocad_color了解更多信息。

默认值:该层的颜色在其上插入件被放置(不一样COLOR_BYLAYER)。

fme_attrib_info {N} .color.red

fme_attrib_info {N} .color.green

fme_attrib_info {N} .color.blue

这些列表中的属性保持在RGB值的第N个属性的颜色,在0.0和1.0之间的范围内。

范围:实数0.0-1.0(含)

默认值:无默认

fme_attrib_info {N} .color.source

颜色的来源。如果属性的颜色不从块或层来了,然后它被赋予明确的数值。

范围:use_layer | use_block | explicit

默认值:明确

autocad_ _
回转

fme_attrib_info {N} .rotation

这指定属性的旋转,以度为单位测量的。

范围:从水平测量旋转逆时针的程度。

默认值:0

Reprojectable:是

fme_attrib_info {N} .oblique

这指定的属性,它会使文本瘦到右边或左边的竖,其中正数表示向右的obliquing角度。

为了方便起见,AutoCAD的读取器和写入器将把值的范围从275.0..360.0,如从-85.0..0范围的可替换规范。

范围:-85.0 ..85.0

默认值:0

autocad_ _
高度

fme_attrib_info {N} .height

这指定地面部队属性的高度。

范围:任何64位浮点数

默认值:1

Reprojectable:是

autocad_ _attribute_flag

fme_attrib_info {N} .attribute_flag

位编码值。数据可以通过另外结合。可能的值有:

1 =属性是不可见的(未显示)。

2 =该属性包含一个恒定值。

4 =验证需要此属性的输入。

8 =属性被预先设定(在插入过程中没有提示)。

如果fme_attrib_info {N} .attribute_flag属性时,隐形位将被覆盖由fme_attrib_info {N} .isVisible属性。

如果autocad_ _attribute_flag 属性时,隐形位将被覆盖由autocad_attribute_display如果属性autocad_visible_attributes {}autocad_invisible_attributes {}被指定。

默认值:0如果该属性不存在的属性定义(即,当DEFAULT_ATTR_STORAGE关键字或autocad_attributes属性被设置为insert_attributes), 要么
如果使用的属性定义从属性定义值。

autocad_ _层

fme_attrib_info {N} .layer

在其上的属性定义,对应于该属性,创建层。

默认值:无

fme_attrib_info {N} .isVisible

这些列表属性指示N个属性是否应该被显示。

范围:TRUE | FALSE

默认值:FALSE

autocad_visible_attributes {}

被设置为可见的属性的列表。这是一个列表属性。该列表将覆盖现有的模板文件属性的定义中发现的可见性标记。

如果属性的这个列表中的字符串值已经嵌入换行字符,则多行属性将被写入。

autocad_invisible_attributes {}

被设置为不可见的属性的列表。这是一个列表属性。该列表将覆盖现有的模板文件属性的定义中发现的可见性标记。

如果属性的这个列表中的字符串值已经嵌入换行字符,则多行属性将被写入。

autocad_ _x_off
autocad_ _y_off

autocad_ _z_off

使用时,属性与用于显示的目的而指定使属性的位置插入元件相关联。这指定从插入的位置偏移。

范围:任何64位浮点数

默认值:x,y和插入的Z值坐标