BIM.works SDKs - v3.0.0-b.115
    Preparing search index...

    The BVL runtime: shows resolved BVL actions (the server's ResolvedActions JSON, documented with the BVL language) in the viewers - colours, visibility, selection, labels, annotations, shapes, routes and check overlays (docs/ui-api-wp5/README.md §2.6)

    Index

    Constructors

    • Parameters

      • objectStateManager: ObjectStateManager
      • Optionalviewer3d: unknown

        a Viewer3d; without one only colours, visibility, selection and labels are applied (no shapes, routes, overlays or measurements)

      Returns BvlHelper

    Properties

    iconRoot: string

    Where the app's img/ folder is, for svg("glyphicons-…") icons: the page's own folder ("") by default

    Methods

    • Applies a pick's actions on top of what is shown: only colours (also COLOR RESULT), ON_TOP, SHOW of hidden objects and annotations, the ones that can be taken away again; returns how to

      Parameters

      • actions: object
      • Optionaloptions: { resultColorOf?: ((qid: string) => string | null) | null }

      Returns Promise<BvlUndo>

    • Resolves BVL input on the server (ResolveBvl) and shows the result; rejects when the server refuses it

      Parameters

      • versionUuids: string[]
      • input: string | object

      Returns Promise<void>

    • Shows resolved BVL actions; by default it first takes away the previous result (Viewer3d.resetResults)

      Parameters

      Returns Promise<void>

    • Takes a pick away again: what applyDelta returned

      Parameters

      Returns Promise<void>