Skip to main content

IfcSplitterConfig

Options of an IfcSplitter. Every field is optional and falls back to the exported default, so a config only needs what it changes.

Properties​

elementTypes?​

optional elementTypes: string[]

Upper-case IFC types treated as splittable building elements. Only these are distributed across groups by split and accepted by extract.

Default​

{@link ELEMENT_TYPES}

listArgIndex()?​

optional listArgIndex: (ifcType) => undefined | number

Given an upper-case IFC relationship type, the index of the argument that holds its list of related objects. Return undefined for types without one.

See​

listIdxByType

Parameters​

ParameterType
ifcTypestring

Returns​

undefined | number


spatialTypes?​

optional spatialTypes: string[]

Upper-case IFC types of the spatial structure, written to every output file.

Default​

{@link SPATIAL_TYPES}