1. isolateComponentsByType
将指定的构件隔离。
1.1. 参数说明:
名称 | 说明 | 类型 | 是否必填 | 示例 |
---|---|---|---|---|
type | 差异类型 | 字符串string | 是 | 见BOS3D.Plugins.CompareComponentType |
state | 构件状态 true为隐藏,false为略微可 见,模型 true | 布尔值boolean | 否 | true |
返回值说明 | 类型 | 示例 |
---|---|---|
无返回值 | NULL | NULL |
1.2. 调用方式:
/**
* 将指定的构件隔离
* @isolateComponentsByType
* @param {string} type 对比结果的类型
* @param {boolean} state 构件状态,true为隐藏,false为略微可见,模型true
* @return {void}
*/
compare.isolateComponentsByType(BOS3D.Plugins.CompareComponentType.added,true);