Bitbybit Docs
    Preparing search index...

    Class ElementSharedDto<T>Abstract Beta (Inputs.IFC)

    What every element elements.add and elements.addShape add shares: the model, the storey it stands on, its class, names, placement and material.

    Type Parameters

    • T

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    model: T

    The model to change; it stays as it was, and the call returns the changed model.

    undefined
    
    storey: string

    The storey the element stands on, by GlobalId or by the id it was added with.

    undefined
    
    id?: string

    An id of your own for the element. Leave it out for a generated one.

    undefined
    

    true

    name?: string

    A name for the element, which other tools show.

    Element
    
    type?: string

    The IFC class of the element, any kind of IfcElement that is not abstract, such as IfcBuildingElementProxy, IfcFurniture or IfcPipeFitting.

    IfcBuildingElementProxy
    
    predefinedType?: string

    The predefined type of a class that has one, as IFC writes it, such as NOTDEFINED; left out, NOTDEFINED, or USERDEFINED when objectType is given.

    undefined
    

    true

    objectType?: string

    What the element is, in words, when no predefined type says it, such as Bracket.

    undefined
    

    true

    position?: Bit.Inputs.Base.Point3

    Where the body's origin stands, as [x, y, z] in the storey's plan, z up from its floor.

    [0, 0, 0]
    
    rotation?: number

    How far the body turns about the vertical, in degrees, counterclockwise seen from above.

    0
    

    -360

    360

    15

    material?: string

    The name of a material the model holds, given to the element.

    undefined
    

    true