自定义线风格
自定义行样式存储为元素的链接。
在v7中,自定义行样式名存储在igds_custom_linestyle属性。在v8中,自定义行样式名存储在igds_style_name
属性。还有一个igds_style
属性存储自定义行样式名称ID(负整数)。
用户有责任提供包含自定义行样式定义的正确种子文件,并复制.rsc
将文件放入包含其他Microstation资源文件的文件夹中。
以下是为自定义线路样式配置Microstation的步骤:
- 打开种子文件或目标文件。
- 选择工作区>配置>符号。
- 点击选择。
- 选择
.rsc
要使用的文件。 - 单击“添加”以添加
.rsc
文件到列表。 - 单击OK,然后完成。
- 关闭文件,然后重新打开。(关闭档案是很重要的;否则,不会反映配置中最近的更改。)
- 从“活动线样式”下拉菜单中,选择“自定义”。然后选择要使用的行样式的名称,双击以激活它。
- 选择文件>保存设置。
- 重复你要使用的每一行风格。
在v7中,要编写自定义行样式,用户需要设置igds_custom_linestyle
属性。在v8中,自定义行样式不能通过它的名称来设置—相反,用户需要设置igds_style
属性,然后用于匹配种子文件中现有的行样式定义。
V7需要和可选的值 | |
---|---|
要求 | igds_custom_linestyle |
可选 | igds_custom_linestyle_rbit igds_custom_linestyle_mbit igds_custom_linestyle_ibit igds_custom_linestyle_class |
V8需要和可选的值 | |
---|---|
要求 | igds_style |
可选 | igds_style_name igds_custom_linestyle_flags igds_custom_linestyle_scale igds_custom_linestyle_start_width igds_custom_linestyle_end_width igds_custom_linestyle_distance_shift igds_custom_linestyle_fraction_shift igds_custom_linestyle_center_shift igds_custom_linestyle_rotation |
如果您没有为这两个版本提供可选属性,那么编写器将使用默认值。
注意:在将源数据集中复杂链具有自定义行样式的DGN转换为DGN时,必须设置关键字PROPAGATE_CHAIN_ELEMENT_LINKAGES
来真正的
要正确地将自定义行样式转换为目标格式。
如果一个复杂的链有不同的行样式,为了保留这些行样式,将“Drop complex chain”设置为yes。