new CustomClassifications(components, ui)
Constructor for the CustomClassifications component.
| Name | Type | Description |
|---|---|---|
components |
Components |
The components instance. |
ui |
GoIFCUI |
The UI instance. |
Extends
- undefined
Members
-
activate
-
Sets the activation state of the component.
-
classificationsColors
-
Gets the classification colors.
-
classificationsUi
-
Gets the classifications UI instance.
-
customClassifications
-
Gets the custom classifications.
-
customClassificationsMap
-
Gets the custom classifications map.
-
fragmentsInClassification
-
Gets the fragments in classifications.
-
goIFCComponents
-
Gets the GoIFCComponents instance.
-
itemNames
-
Gets the item names in classifications.
-
itemsInClassification
-
Gets the items in classifications.
-
loader
-
Gets the loader instance.
-
ui
-
Gets the UI instance.
Methods
-
deactivate()
Interactions/IFC/interact/GoIFCComponents/Components/CustomClassifications/index.ts, line 524 -
Deactivates the component.
-
getClassGroup(classiName){Map.<string, any>}
Interactions/IFC/interact/GoIFCComponents/Components/CustomClassifications/index.ts, line 513 -
Gets a classification group.
Name Type Description classiNamestring The name of the classification group.
Returns:
Type Description Map.<string, any> The classification group. -
asyncload()
Interactions/IFC/interact/GoIFCComponents/Components/CustomClassifications/index.ts, line 190 -
Loads the component. Throws an error if loading fails.
-
restorePreviusHighlights()
Interactions/IFC/interact/GoIFCComponents/Components/CustomClassifications/index.ts, line 131 -
Restores previous highlights. Throws an error if GoIFCHighlighter is not found.
-
toggleClassVisibility(classGroupName, className)
Interactions/IFC/interact/GoIFCComponents/Components/CustomClassifications/index.ts, line 428 -
Toggles the visibility of a classification.
Name Type Description classGroupNamestring The name of the classification group.
classNamestring The name of the classification.
-
updateClassVisibility(classGroupName, className, visibility)
Interactions/IFC/interact/GoIFCComponents/Components/CustomClassifications/index.ts, line 446 -
Updates the visibility of a classification.
Name Type Description classGroupNamestring The name of the classification group.
classNamestring The name of the classification.
visibilityboolean optional Whether to make the classification visible.
