Class BcfApi

java.lang.Object
nl.bimbase.bimworks.client.apis.SubApi
nl.bimbase.bimworks.client.apis.BcfApi

public class BcfApi extends SubApi
BCF related API calls
  • Constructor Details

  • Method Details

    • augment

      public InputStream augment(UUID versionUuid, Path inputFile) throws BimWorksException
      Throws:
      BimWorksException
    • createBcf

      public InputStream createBcf(Set<UUID> versionUuids, com.fasterxml.jackson.databind.node.ArrayNode topics) throws BimWorksException
      Create a BCF file with one topic per viewpoint. Each topic carries visualizationInfo.perspectiveCamera.{position,direction,up}, components with selection and coloring arrays (both may be empty, but must be present), and defaultSnapshot (a base64 PNG) — the server reads all of them unconditionally and answers with an empty response when one is missing. The caller closes the stream.
      Throws:
      BimWorksException