Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WebIFCLoaderPlugin

Viewer plugin that uses web-ifc to load BIM models directly from IFC files.

Hierarchy

Index

Constructors

Properties

id: string

ID for this Plugin, unique within its Viewer.

viewer: Viewer

The Viewer that contains this Plugin.

Accessors

  • get excludeTypes(): string[]
  • set excludeTypes(arg: string[]): void
  • get excludeUnclassifiedObjects(): boolean
  • set excludeUnclassifiedObjects(arg: boolean): void
  • Gets whether we load objects that don't have IFC types.

    When loading IFC models and this is true, WebIFCLoaderPlugin will not load objects that don't have IFC types.

    Default value is false.

    Returns boolean

  • Sets whether we load objects that don't have IFC types.

    When loading IFC models and this is true, WebIFCLoaderPlugin will not load objects that don't have IFC types.

    Default value is false.

    Parameters

    • arg: boolean

    Returns void

  • get globalizeObjectIds(): boolean
  • set globalizeObjectIds(arg: boolean): void
  • get includeTypes(): string[]
  • set includeTypes(arg: string[]): void
  • get supportedVersions(): string[]

Methods

  • destroy(): void
  • error(msg: string): void
  • Logs an error message to the JavaScript developer console, prefixed with the ID of this Plugin.

    Parameters

    • msg: string

      The error message

    Returns void

  • fire(event: string, value: any): void
  • Fires an event at this Plugin.

    Parameters

    • event: string

      The event type name

    • value: any

      The event parameters

    Returns void

  • log(msg: string): void
  • Logs a message to the JavaScript developer console, prefixed with the ID of this Plugin.

    Parameters

    • msg: string

      The error message

    Returns void

  • on(event: string, callback: () => void): void
  • Subscribes to an event fired at this Plugin.

    Parameters

    • event: string

      The event

    • callback: () => void

      Callback fired on the event

        • (): void
        • Returns void

    Returns void

  • warn(msg: string): void
  • Logs a warning message to the JavaScript developer console, prefixed with the ID of this Plugin.

    Parameters

    • msg: string

      The error message

    Returns void

Generated using TypeDoc