AttributeSelectModel

用于处理场景中图层的属性选择和高亮显示功能

关系

Implements

AttributeSelectModel Implements IAttributeSelectModel

实现接口: IAttributeSelectModel

用于处理场景中图层的属性选择和高亮显示功能

构造函数

AttributeSelectModel

构造函数

new AttributeSelectModel(props)

参数

返回:AttributeSelectModel AttributeSelectModel对象

属性

isSelectHeightLight

是否选中高亮

isSelectHeightLight: boolean

类型: boolean

props

模型属性

props: IPluginModelProps

sceneLayerArr

场景中所有图层数组

sceneLayerArr: \

类型: \

selectFeaturesArr

选中的属性数组

selectFeaturesArr: \

类型: \

方法

allLayerAttributeSelect

全图层属性选择

allLayerAttributeSelect(where): Promise

参数

  • where: string 属性选择条件

返回:Promise

attributeSelect

属性选择

attributeSelect(sublayerView, where): Promise

参数

  • sublayerView: any 所筛选的单图层子图层
  • where: string 属性选择条件

返回:Promise

formatWhere

设置筛选条件格式化

formatWhere(attribute, value, type): string

参数

  • attribute: string | number 所要筛选的属性
  • value: string | number 所筛选属性的值
  • type: ">" | "<" | "=" | "<>" | ">=" | "<=" 比较类型

返回:string

getAllSceneLayer

获取场景中所有图层

getAllSceneLayer(): Promise

返回:Promise

oneLayerAttributeSelect

单图层属性选择

oneLayerAttributeSelect(layerView, where): Promise

参数

  • layerView: any 所筛选的单图层
  • where: string 属性选择条件

返回:Promise

removeHighLight

高亮事件清除

removeHighLight(): void

返回:void

setHighLight

设置场景高亮

setHighLight(): void

返回:void

BIMFlux AI