BCFManager

class Communicator.BCFManager()

This class provides an interface to the BIM Collaboration Format related features of the viewer.

Constructors


Constructors

constructor

Communicator.BCFManager.constructor(viewer)
Arguments
Return type

Communicator.BCFManager

Methods

addBCFFromBuffer

Communicator.BCFManager.addBCFFromBuffer(buffer, filename)

Imports BCF data from a buffer.

Arguments
  • buffer (ArrayBuffer()) –

  • filename (Communicator.BCFName()) –

Return type

Promise[void]

addBCFFromFile

Communicator.BCFManager.addBCFFromFile(filename)

Imports BCF data from a BCF file.

Arguments
  • filename (Communicator.BCFName()) –

Return type

Promise[void]

createBCFData

Communicator.BCFManager.createBCFData(filename)

Creates a BCF file.

Arguments
  • filename (Communicator.BCFName()) –

Return type

Communicator.BCFData

getBCFData

Communicator.BCFManager.getBCFData(id)

Gets the parsed BCF data for a BCF file.

Arguments
  • id (number()) – corresponding to the BCF file.

Return type

{  }

getBCFMap

Communicator.BCFManager.getBCFMap()

Gets a map containing BCF data correlated with the BCF filename.

Return type

Map[number, Communicator.BCFData]

removeBCFData

Communicator.BCFManager.removeBCFData(id)

Removes the parsed BCF data for a BCF file.

Arguments
  • id (number()) – corresponding to the BCF file.

Return type

void