Skip to main content

IfcMetadata

Defines strongly typed metadata for IFC files.

Hierarchy

Index

Properties

optionalreadonlyclasses

classes?: string[]

List of IFC classes available in IFC file

optionalreadonlyfloors

floors?: IfcFloor[]

List of floors (storey levels) available in IFC file

readonlyhasParseError

hasParseError: boolean

Set to true if the change has not been parsed correctly. For example if this happens for a .ifc or a .dwg file then it will not be possible to load the file.

optionalreadonlyparserVersion

parserVersion?: VersionInfo

Version of the parser that parsed this IFC file. Useful when we load IFC files which was parsed with old parsers to keep backwards compatibility. May be undefined if file was parsed before this property was introduced.

optionalreadonlysites

List of sites in IFC file

optionalreadonlystatistics

statistics?: { annotations?: { error?: number; information?: number; warning?: number }; productCount?: number }

Statistics of IFC file


Type declaration

  • optionalreadonlyannotations?: { error?: number; information?: number; warning?: number }

    Number of issues encountered while processing the IFC file.

    • optionalreadonlyerror?: number

      Number of error annotations made during file processing

    • optionalreadonlyinformation?: number

      Number of informational annotations made during file processing

    • optionalreadonlywarning?: number

      Number of warning annotations made during file processing

  • optionalreadonlyproductCount?: number

    Number of products in IFC file.

optionalreadonlytopIfcLocalPlacementTransform

topIfcLocalPlacementTransform?: BimTransform & { distanceToOrigo: number }

The transform of the topmost IfcLocalPlacement node in the IFC file. This tells us how the overall model is rotated, scaled and translated. Often very useful when determining why two IFC files do not align properly. One can often see that the translation or rotation part differs in those cases. The transform is expressed in meters.

readonlyurl

url: { geom?: string; idx?: string; prop?: string }

URLs for blobs containing IFC data.


Type declaration

  • optionalreadonlygeom?: string

    URL to IFC geometry file (needed for any 3D visualizations)

  • optionalreadonlyidx?: string

    URL to IFC index file (contains IFC product hierarchy)

  • optionalreadonlyprop?: string

    URL to IFC property set file.