@twinfinity/core
    Preparing search index...

    Class T8Project<TProduct, TUnit>

    Represents a project in the T8 Client Model. A project is the root container that holds the site and overall project information.

    const model = readT8ClientModel(buffer);
    const project = model.project;
    console.log(`Project ID: ${project.globalId}`);
    if (project.isIterable()) {
    for (const product of project) { ... }
    }

    Type Parameters

    Index

    Constructors

    Properties

    aggregates: TProduct[]

    The products aggregated by the project (generally on single IfcSite)

    description?: string

    Optional description of the product

    globalId: string

    Global unique identifier (GUID)

    localId: number

    Local numerical identifier within the model

    name?: string

    Optional name of the product

    propertySets: Record<string, T8PropertySet<TUnit>>

    Property sets attached to this project

    quantities: Record<string, T8QuantitySet<TUnit>>

    Quantity sets attached to this project

    type: string

    Type name (e.g., 'IfcWall', 'IfcDoor')

    Accessors

    • get className(): string

      Returns string

    Methods