如何将一个元素的属性赋给另一个元素


MicroStation中能够将一个元素的属性(Level, Color, Line Style, Line Weight,Transparencey, Priority, Class, Template)赋给另一个元素,以下三种方法都可以实现。

方法1) 单独使用Change Element Attributes工具直接完成。
方法2) 通过Match Element Attributes和Change Element Attributes两个工具配合使用完成。
方法3) 通过SmartMatch和Change Element Attributes两个工具配合使用完成。

下面分别讲述如何使用上述三种方法。
例如,如下图所示,有元素A和元素B,我们想将元素A的属性拷贝给元素B时,操作过程分别如下。

方法1) 单独使用Change Element Attributes工具直接完成。
1-1) 选择Match Element Attributes工具,点击对话框右上部的吸管图标,然后点击元素A。
(这一步之后,元素A的所有上面列举的属性就作为Active Attributes被读到系统中去了)
注:如果你将鼠标长时间放到吸管图标上,你会看到此图标的名称就叫做“Match Element Attributs”,其实此吸管图标就是方法2中的Match Element Attributs工具,只是此处会将选中元素的所有属性读取到系统中,而使用方法2中的Match Element Attributs工具时,可以有选择的只读取一个或多个属性到系统中。


1-2) 选择Change Element Attributes工具,勾选一个或多个想要更改的属性,此处全部勾选。
这时你可以看到每勾选一项,就会从系统中读取1-1)的Active Attributes的属性值(即元素A的属性值)赋给勾选项。



1-3) 点击元素B,将勾选的属性赋给元素B。
(这一步之后,就完成了将元素A的属性赋给元素B的操作)

方法2) 通过Match Element Attributes和Change Element Attributes两个工具配合使用完成。
2-1) 选择Match Element Attributes工具,勾选一个或多个想要Match的属性,此处全部勾选。


2-2) 选择元素A。这时你可以看到元素A的属性就被读取到勾选的属性上。


2-3) 选择Change Element Attributes工具,勾选想要更改的属性,点击元素B。
(这一步之后,勾选的属性值就从元素A赋给了元素B)

方法3) 通过SmartMatch和Change Element Attributes两个工具配合使用完成。
3-1) 选择SmartMatch工具,点击元素A,元素A的属性就作为Active Attributes被读到系统中去了。


3-2) 选择Change Element Attributes工具,勾选上上部的Use Active Attributes,然后勾选下部想要更改的属性。
这时你可以看到每勾选一项,就会从系统中读取3-1)的Active Attributes的属性值(即元素A的属性值)赋给勾选项。


3-3) 点击元素B,将勾选的属性赋给元素B。

上述3种方法没有本质区别,只是操作方法和过程略有不同,可根据实际情况选择熟悉的方法。

另外想要说明的是Change Element Attributes是一个独立的工具,也可以单独使用更改某个元素自身的属性值。