特征表示法
特殊的FME特征属性用于保存AutoCAD实体属性。AutoCAD编写器在输出期间填充实体结构时使用这些属性值。The AutoCAD reader sets these attributes in the FME feature it creates for each entity it reads.
FME considers the AutoCAD layer1个读取时,要素图层名称对应于要素类型和AutoCAD图层。这样可以在不需要FeatureTypeExtractor变压器的情况下提取层名称。to be theFME特征类型一个AutoCAD功能。每个AutoCAD实体,无论其实体类型如何,shares a number of other attributes,如下表所述。
Attribute Name |
Used by Reader or Writer |
内容 |
---|---|---|
AutoCAD图层 |
两者都有 | The name of the feature's layer.这与功能的类型值相同,并且在阅读时存储,以方便阅读。将实体写入图形文件时,忽略此值。 注:此属性用于单独的AutoCAD Map 3D对象数据编写器。 Range: char[50] Default: No default |
autocad_original_layer | 仅读卡器 | 源数据集中为生成功能而读取的实体层的名称。This is set when the original entity is not the entity that is represented by the feature. 例如,如果读卡器参数分解块实体被选中,the original entity read is the block and the entity represented by the feature is a block part.在这种情况下,theAutoCAD图层属性存储块零件层,and theautocad_original_layer属性存储块层。 Range: char[50] Default: No default |
autocad_layer_color |
两者都有 | This is the color value for the layer of the entity. This is only set when the存储要素的图层属性 reader parameter已选定。 Seeautocad_colorfor more information. Range: 0...256 默认值:256 |
autocad_layer_linetype |
两者都有 | 这是实体图层的线型值。Seeautocad_linetypefor more information. This is only set when the存储要素的图层属性 reader parameter已选定。 范围:字符[33] 默认:BYLAYER |
AutoCAD图层线条 |
两者都有 | This is the lineweight value for the layer of the entity. This is only set when the存储要素的图层属性 reader parameter已选定。 Seeautocad_lineweightfor more information. Range: 0,5,9岁,13,15岁,18岁,20,25,30岁,35岁,40岁,50,53岁,60岁,70岁,80岁,90,100个,106个,120,140个,158个,200个,211号,-1 (by layer),-2(分块)-3(默认) 默认值:-3(默认值) |
AutoCAD图层类型 (未在realdwg中使用) |
仅读卡器 | Indicates whether or not the feature comes from a frozen layer. Range: frozen | not_frozen |
AutoCAD图层冻结 | 仅读卡器 | Indicates whether or not the feature comes from a frozen layer.这提供了与AutoCAD图层类型. Range: yes | no 默认:否 |
autocad图层锁定 | 仅读卡器 | 指示功能是否来自锁定的层。 Range: yes | no 默认:否 |
autocad_layer_hidden | 仅读卡器 | 指示功能是否来自隐藏层。 Range: yes | no 默认:否 |
打开AutoCAD图层 | 仅读卡器 | 指示特征是否来自图形文件术语中“打开”的图层。 范围:是否 默认值:是 |
autocad_layer_plottable | 仅读卡器 | 指示功能是否来自可在图形文件术语中绘图的图层。 范围:是否 默认值:是 |
AutoCAD图层描述 | 仅读卡器 | 表示层的描述字段。 范围:字符[254] Default: No default |
autocad_color | 读者和作家 | The color number of the entity. 如果值为0,then the color of the entity isCOLOR_BYBLOCK,请即封闭块;如果值为256,then the color of the entity is颜色_BYLAYER表示实体图层指定的颜色;otherwise,the number specified determines the color of the entity. 如果reader parameter 解析实体颜色已设置,然后,这将是介于1和255之间的有效AutoCAD索引颜色。 如果autocad_coloris not specified during writing,然后该值将从fme_color.如果fme_coloris also not specified,然后它将被设置为颜色_BYLAYER. 请注意,无法将功能作为块的实体组件写入,因此,写入时的值0不是最有用的。 范围:0…256 默认值:256 |
autocad_original_color | 仅读卡器 | 实体在解析为特定颜色索引之前的颜色,using thereader parameter 解析实体颜色. 如果值为COLOR_BYBLOCK(index 0) or颜色_BYLAYER(索引256)那么这个属性的值是随块or按层,请分别。否则,指定的数字决定实体的颜色,喜欢的价值autocad_color. Seeautocad_colorfor more information. Range: 0...256 默认值:256 |
AutoCAD真彩色 | 读者和作家 | The true color Red Green Blue (RGB) values of the entity. This attribute is conditionally set on read in addition to theautocad_colorattribute.此属性优先于autocad_colorattribute on write to set the color of an entity. 如果不存在,查看autocad_colorattribute. 范围:0…255,0…255,0…255 Default: No default |
AutoCAD_实体_ |
读者和作家 | 十六进制的实体的唯一标识符。This value is unique within each AutoCAD file. 范围:十六进制标识符。 Default: No default |
AutoCAD实体可见性 |
仅读卡器 | 指示实体的可见性属性设置。这与隐藏层不同,although either may cause an entity to not appear. 范围:可见不可见。 |
autocad_linetype |
读者和作家 | 特征的线型名称。This can be a specific linetype value or it may be set to按层,请indicating that the linetype will be set to the linetype value of the layer. When writing,此名称必须与所用模板文件中的线条样式定义匹配。 Seeautocad_resolved_linetypefor more information. 范围:字符[33] 默认:BYLAYER |
autocad_linetype_scale | 读者和作家 | The amount to scale the feature's linetype by for viewing in AutoCAD. Failure to set appropriate values for linetype may result in viewing errors such as dashed lines appearing solid. 范围:64位浮点数 Default: 1.0 |
autocad_lineweight | 读者和作家 | The lineweight of the AutoCAD entity in hundredths of a millimeter. To set a lineweight of 0.05 mm in AutoCAD,将属性值设置为5(可以将其视为用于绘制线条的笔的大小)。 Range: 0,5,9岁,13,15岁,18岁,20,25,30岁,35岁,40岁,50,53岁,60岁,70岁,80岁,90,100个,106个,120,140个,158个,200个,211号,-1 (by layer),-2(分块)-3(默认) 默认值:-3(默认值) |
已解决的AutoCAD_ 线型 |
读者和作家 | This is used to store actual linetype value used for a feature.它将是特征的特定线型值,or if theautocad_linetype具有的值按层or按块,请then this value will be the linetype of the layer. 范围:字符[33] |
AutoCAD厚度 |
读者和作家 | The thickness value represents the extrusion or extension of a 2D entity along the normal to the plane of the entity. 范围:64位浮点数 默认值:0 |
AutoCAD_实体 |
读者和作家 | The FME name for the type of entity this feature represents. Range: SeeAutoCAD实体类型和说明 Default: No default |
autocad_original_entity |
读者和作家 | 此属性表示该实体是已解析为其组件的块引用实体的一部分。In general,if this attribute exists,它的值将是insert。 Range: SeeAutoCAD实体类型和说明 Default: insert |
AutoCAD原始实体类型 |
读者和作家 | The FME name for the original type of entity this feature represents.例如,if theAutoCAD_实体属性为AutoCAD线条,请此属性将指示行的类型(即,line,2多段线,lwpolyline或3dpyline)。 Range: SeeAutoCAD实体类型和说明 Default: The value of the autocad_entity attribute |
AutoCAD空间 |
读者和作家 | 此属性指示正在读取的实体是来自图纸空间还是模型空间。 当阅读纸张空间reader parameter is set to Yes and a paper space name is included in theRead Selected Paper Spacesreader parameter,这将包含与保留该功能的图纸空间相关联的布局的名称。指定模板文件时,作者将使用此属性将功能写入正确的图纸空间。 范围:模型_空间_纸张_空间_布局名称字符串 Default: No default |
AutoCAD_属性 |
仅限作者 | 指导编写器如何存储功能的属性。 如果将此属性指定为 查看Attribute Output 写入程序参数. Range: extended_entity_data | insert_attributes | external_attributes |
These topics describe attributes specific to each of the supported entity types: