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

    Constructors

    Methods

    • An upload of data already in memory, in the browser and in Node.js

      Parameters

      • arrayBuffer: ArrayBuffer
      • filename: string
      • nodeUuid: string
      • OptionalforceReprocessing: boolean

      Returns Promise<ModelUpload>

    • Parameters

      • file: unknown
      • nodeUuid: string
      • OptionalforceReprocessing: boolean

      Returns Promise<ModelUpload>

    • Node.js only: the file at this path on disk. Rejects in the browser.

      Parameters

      • filename: string
      • nodeUuid: string
      • OptionalforceReprocessing: boolean

      Returns Promise<ModelUpload>

    • Parameters

      • item: unknown
      • nodeUuid: string
      • OptionalforceReprocessing: boolean

      Returns Promise<ModelUpload>

    • Fetches the URL here and uploads the bytes: it must be same-origin or CORS-enabled

      Parameters

      • url: string
      • filename: string
      • nodeUuid: string
      • OptionalforceReprocessing: boolean

      Returns Promise<ModelUpload>