BCFManager
- class Communicator.BCFManager()
This class provides an interface to the BIM Collaboration Format related features of the viewer.
Constructors
Methods
Constructors
constructor
- Communicator.BCFManager.constructor(viewer)
- Arguments
viewer (
Communicator.WebViewer()
) –
- 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
{ }