Bitbybit Docs
    Preparing search index...

    Class AddMaterialDto<T>Beta (Inputs.IFC)

    A material to add for materials.add, which layer sets, columns and beams then name.

    Type Parameters

    • T
    Index

    Constructors

    • Beta

      Type Parameters

      • T

      Parameters

      • Optionalmodel: T
      • Optionalname: string
      • Optionalcategory: string
      • Optionalcolor: string
      • Optionaltransparency: number

      Returns AddMaterialDto<T>

    Properties

    model: T

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

    undefined
    
    name?: string

    The material's name, unique in the model, by which layer sets and members refer to it.

    Material
    
    category?: string

    A broad category such as concrete, steel, brick or timber.

    undefined
    

    true

    color?: string

    The colour the material is shown with, as hex such as #b5651d. Leave it out for none.

    undefined
    

    true

    transparency?: number

    How see-through the material is shown, from 0 for opaque to 1 for invisible; used with color.

    0
    

    0

    1