IFClite TypeScript API
    Preparing search index...

    Interface ObjectStyle

    Full graphic style for one IFC element category. Optional fields fall back to DEFAULT_OBJECT_STYLES['_default'].

    interface ObjectStyle {
        cutLines: ObjectStyleLineProps;
        fillColor: string | null;
        hatch: ObjectStyleHatch | null;
        label: string;
        projectionLines: ObjectStyleLineProps;
        visible: boolean;
    }
    Index

    Cut-plane line style (elements intersected by the section plane)

    fillColor: string | null

    Solid fill color for the cut polygon face. null = transparent

    hatch: ObjectStyleHatch | null

    Hatch/pattern overlay applied on top of the fill. null = no hatch

    label: string

    Human-readable label (used in the Object Styles UI table)

    projectionLines: ObjectStyleLineProps

    Below-cut projection line style

    visible: boolean

    Whether this category appears in 2D views at all