WebCAD-Lib-TS API 文档 - v1.0.0
Preparing search index...
QuickSelectService
Class QuickSelectService
快速选择服务类
Index
Constructors
constructor
Methods
get
Source
Entities
filter
By
Type
filter
By
Condition
search
get
Entity
Description
get
Properties
For
Type
get
Operators
For
Property
apply
Selection
highlight
Entity
get
Layer
List
Constructors
constructor
new
QuickSelectService
()
:
QuickSelectService
Returns
QuickSelectService
Methods
get
Source
Entities
getSourceEntities
(
scope
:
SearchScope
)
:
EntityBase
[]
获取搜索范围内的实体
Parameters
scope
:
SearchScope
Returns
EntityBase
[]
filter
By
Type
filterByType
(
entities
:
EntityBase
[]
,
type
:
EntityTypeFilter
)
:
EntityBase
[]
按类型过滤实体
Parameters
entities
:
EntityBase
[]
type
:
EntityTypeFilter
Returns
EntityBase
[]
filter
By
Condition
filterByCondition
(
entities
:
EntityBase
[]
,
condition
:
FilterCondition
,
)
:
EntityBase
[]
按条件过滤实体
Parameters
entities
:
EntityBase
[]
condition
:
FilterCondition
Returns
EntityBase
[]
search
search
(
scope
:
SearchScope
,
entityType
:
EntityTypeFilter
,
condition
:
FilterCondition
,
)
:
QuickSelectResult
[]
执行搜索
Parameters
scope
:
SearchScope
entityType
:
EntityTypeFilter
condition
:
FilterCondition
Returns
QuickSelectResult
[]
get
Entity
Description
getEntityDescription
(
entity
:
EntityBase
)
:
string
获取实体描述信息
Parameters
entity
:
EntityBase
Returns
string
get
Properties
For
Type
getPropertiesForType
(
entityType
:
EntityTypeFilter
)
:
PropertyDefinition
[]
获取适用于指定实体类型的属性列表
Parameters
entityType
:
EntityTypeFilter
Returns
PropertyDefinition
[]
get
Operators
For
Property
getOperatorsForProperty
(
property
:
PropertyDefinition
)
:
OperatorOption
[]
获取属性对应的运算符列表
Parameters
property
:
PropertyDefinition
Returns
OperatorOption
[]
apply
Selection
applySelection
(
results
:
QuickSelectResult
[]
,
mode
:
SelectionMode
)
:
void
应用选择集操作
Parameters
results
:
QuickSelectResult
[]
mode
:
SelectionMode
Returns
void
highlight
Entity
highlightEntity
(
entity
:
EntityBase
)
:
void
高亮实体
Parameters
entity
:
EntityBase
Returns
void
get
Layer
List
getLayerList
()
:
string
[]
获取图层列表
Returns
string
[]
Settings
Member Visibility
Protected
Internal
Alpha
Beta
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
get
Source
Entities
filter
By
Type
filter
By
Condition
search
get
Entity
Description
get
Properties
For
Type
get
Operators
For
Property
apply
Selection
highlight
Entity
get
Layer
List
WebCAD-Lib-TS API 文档 - v1.0.0
Loading...
快速选择服务类