File

src/client/app/frameworks/apis/services/bime.isolate.service.ts

Description

构件隐藏显示对象
命名空间:window.BIMe.control.BIMeIsolate

Constructor

constructor(bimeElementData: BIMeElementData, resourceService: ResourceService, isolateService: IsolateService, filterService: FilterService, viewerService: ViewerService, rendererService: RendererService)

Methods

Public isolateElementByElementId
isolateElementByElementId(elementId: string | string[], isClear: boolean)

根据构件ID来隔离构件

Parameters :
  • elementId

    构件ID

  • isClear

    是否清空已隔离的构件,默认为true

Example :
   function isolateElementByElementId() {
window.BIMe.control.BIMeIsolate.isolateElementByElementId(elementId);
}
Returns: void
Public filterIsolate
filterIsolate(levelId: string[], category: string[])

自定义隔离

Parameters :
  • levelId

    楼层ID

  • category

    类别

Returns: void
Public isolateElementByElementName
isolateElementByElementName(elementName: string | string[], modelId: string)

根据构件名称来隔离对象

Parameters :
  • elementName

    构件名称 string|string[]

  • modelId

    模型Id

Example :
   function isolateElementByElementName() {
window.BIMe.control.BIMeIsolate.isolateElementByElementName(elementId, modelId);
}
Returns: void
Public isolateElementByLevelId
isolateElementByLevelId(levelId: string | string[], modelId: string)

按照楼层来隔离对象

Parameters :
  • levelId

    楼层Id string|string[]

  • modelId

    模型Id

Example :
   function isolateElementByLevelId() {
window.BIMe.control.BIMeIsolate.isolateElementByLevelId(levelId, modelId);
}
Returns: void
Public isolateElementByCatagoryId
isolateElementByCatagoryId(categoryId: string | string[], modelId: string)

按照构件类型Id来隔离对象

Parameters :
  • categoryId

    类型Id string|string[]

  • modelId

    模型Id

Example :
   function isolateElementByCatagoryId() {
window.BIMe.control.BIMeIsolate.isolateElementByCatagoryId(categoryId, modelId);
}
Returns: void
Public isolateElementByCategoryName
isolateElementByCategoryName(categoryName: string | string[], modelId: string)

根据构件类型名称来隔离构件

Parameters :
  • categoryName

    类型名称 string|string[]

  • modelId

    模型Id

Example :
   function isolateElementByCategoryName() {
window.BIMe.control.BIMeIsolate.isolateElementByCategoryName(categoryName, modelId);
}
Returns: void
Public isolateElementByTypeId
isolateElementByTypeId(typeId: string | string[], modelId: string)

根据构件类别来隔离对象

Parameters :
  • typeId

    类别Id string|string[]

  • modelId

    模型Id

Example :
   function isolateElementByTypeId() {
window.BIMe.control.BIMeIsolate.isolateElementByTypeId(typeId, modelId);
}
Returns: void
Public isolateElementByTypeName
isolateElementByTypeName(typeName: string | string[], modelId: string)

根据类别名称来隔离对象

Parameters :
  • typeName

    类别名称 string|string[]

  • modelId

    模型Id

Example :
   function isolateElementByTypeName() {
window.BIMe.control.BIMeIsolate.isolateElementByTypeName(typeName, modelId);
}
Returns: void
Public isolateElementByFamilyId
isolateElementByFamilyId(familyId: string | string[], modelId: string)

根据族id来隔离对象

Parameters :
  • familyId

    族Id

  • modelId

    模型Id

Example :
   function isolateElementByFamilyId() {
window.BIMe.control.BIMeIsolate.isolateElementByFamilyId(familyId, modelId);
}
Returns: void
Public isolateElementByFamilyName
isolateElementByFamilyName(familyName: string | string[], modelId: string)

根据族名称来隔离对象

Parameters :
  • familyName

    族名称

  • modelId

    模型Id

Example :
   function isolateElementByFamilyName() {
window.BIMe.control.BIMeIsolate.isolateElementByFamilyName(familyName, modelId);
}
Returns: void
Public removeAllIsolateElement
removeAllIsolateElement()

显示所有隔离对象

Returns: void
Public getIsolateElementIds
getIsolateElementIds()

得到当前所有隔离对象的数组

Returns: string[]

隔离对象Ids

results matching ""

    No results matching ""