T8Product <TEntityType, TUnit>
Hierarchy
- T8Product
Index
Constructors
constructor
Type parameters
- TEntityType = T8EntityType<T8Unit>
- TUnit = T8Unit
Parameters
localId: number
Local numerical identifier within the model
globalId: string
Global unique identifier (GUID)
className: string
Class name (e.g., 'IfcWall', 'IfcDoor')
data: Record<string, string | number | boolean>
Custom data values attached to this product
propertySets: Record<string, T8PropertySet<TUnit>> = ...
Property sets (e.g., Pset_WallCommon)
computedPropertySets: Record<string, T8PropertySet<TUnit>> = ...
Computed property sets (e.g., Pset_Twinfinity_Aggregates)
quantities: Record<string, T8QuantitySet<TUnit>> = ...
Quantity sets (e.g., Qto_WallBaseQuantities)
name: undefined | string = undefined
Optional name of the product
description: undefined | string = undefined
Optional description of the product
optionaltag: string
Optional tag identifier
Returns T8Product<TEntityType, TUnit>
Properties
publicreadonlyaggregates
Products that are aggregated by this product
publicclassName
Class name (e.g., 'IfcWall', 'IfcDoor')
publiccomputedPropertySets
Computed property sets (e.g., Pset_Twinfinity_Aggregates)
publicreadonlycontains
Products that are contained within this product (spatial containment)
publicdata
Custom data values attached to this product
publicoptionaldefinedByType
The entity type (class) this product is an instance of
publicdescription
Optional description of the product
facility
facilityPart
publicglobalId
Global unique identifier (GUID)
publiclocalId
Local numerical identifier within the model
publicname
Optional name of the product
parent
publicpropertySets
Property sets (e.g., Pset_WallCommon)
publicquantities
Quantity sets (e.g., Qto_WallBaseQuantities)
site
publicoptionaltag
Optional tag identifier
Accessors
children
Returns Iterable<T8Product<TEntityType, TUnit>, any, any>
class
Returns ModelProductClass
hasGeometry
Returns boolean
hasStructuredRelationships
Returns boolean
meshes
Returns readonly ModelMesh[]
polylines
Returns readonly ModelPolyline[]
quantitySets
Returns Record<string, T8QuantitySet<TUnit>>
publictype
Returns undefined | TEntityType
Methods
publicstaticconnect
Type parameters
- TEntityType
- TUnit
Parameters
dto: T8ClientProductConnectionsDTO<T8Product<TEntityType, TUnit>, TEntityType>
product: T8Product<TEntityType, TUnit>
Returns void
publicstaticcreate
Type parameters
- TEntityType
- TUnit
Parameters
dto: T8ClientProductDTO<TUnit>
Returns T8Product<TEntityType, TUnit>
Represents a building product (element) in the T8 Client Model. Products represent physical or logical building components (walls, doors, spaces, etc.).