Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Bimplus WebClient version : 0.0.2

Table of Contents


BimExplorer


Parameters

  • domId string DOM Element Id of the containing iframe
  • token string a valid bimplus accesstoken
  • client object The external client to connect with
  • env string environment to use: dev, stage or prod

...

get the remote url of the Bim Portal


Parameters

Returns string url to embedded bim explorer

...

get the remote url of the Bim Portal


Parameters

Returns string url to embedded bim explorer

...

send a message to Bim Explorer control


Parameters


sendMessage

send a message to Bim Explorer control


Parameters


getDOMElementId

get the Id of the bound iframe element

Returns string url to embedded bim portal

...

get the Id of the bound iframe element

Returns string url to embedded bim portal

...

Load the Bim Explorer into the bound iframe, loading the passed project


Parameters


load

Load the Bim Explorer into the bound iframe, loading the passed project


Parameters


load

Load the Bim Explorer into the bound iframe, loading the passed project


Parameters


resetView

Reset the view

...

centerObject

Zoom to a given object


Parameters

  • objectId string Object to zoom to
  • flyTo bool Animated zoom or jump to object


BimExplorer


Parameters

  • domId string DOM Element Id of the containing iframe
  • token string a valid bimplus accesstoken
  • client object The external client to connect with
  • env string environment to use: dev, stage or prod

...

get the remote url of the Bim Portal


Parameters

Returns string url to embedded bim explorer

...

get the remote url of the Bim Portal


Parameters

Returns string url to embedded bim explorer

...

send a message to Bim Explorer control


Parameters


sendMessage

send a message to Bim Explorer control


Parameters


getDOMElementId

get the Id of the bound iframe element

Returns string url to embedded bim portal

...

get the Id of the bound iframe element

Returns string url to embedded bim portal

...

Load the Bim Explorer into the bound iframe, loading the passed project


Parameters


load

Load the Bim Explorer into the bound iframe, loading the passed project


Parameters


load

Load the Bim Explorer into the bound iframe, loading the passed project


Parameters


resetView

Reset the view

...

centerObject

Zoom to a given object


Parameters

  • objectId string Object to zoom to
  • flyTo bool Animated zoom or jump to object


BimPortal


Parameters

  • domId string DOM Element Id of the containing iframe
  • token string a valid bimplus accesstoken
  • client object The external client to connect with
  • env string environment to use: dev, stage or prod

...

get the remote url of the Bim Portal

Returns string url to embedded bim portal

...

send a message to Bim Portal control


Parameters


getDOMElementId

get the Id of the bound iframe element

Returns string url to embedded bim portal

...

Load the Bim Portal into the bound iframe


BimProjectNavigationBar


Parameters

  • domId string DOM Element Id of the containing iframe
  • token string a valid bimplus accesstoken
  • client object The external client to connect with
  • env string environment to use: dev, stage or prod

...

get the remote url of the Bim ProjrctManager


Parameters

Returns string url to embedded bim projectmanager

...

send a message to Bim BimProjectNavigationBar control


Parameters


getDOMElementId

get the Id of the bound iframe element

Returns string url to embedded bim portal

...

Load the Bim BimProjectNavigationBar into the bound iframe, loading the passed project


Parameters


BimTaskList


Parameters

  • domId string DOM Element Id of the containing iframe
  • token string a valid bimplus accesstoken
  • client object The external client to connect with
  • env string environment to use: dev, stage or prod

...

get the remote url of the task list control


Parameters

Returns string url to embedded task list

...

send a message to Bim Portal control


Parameters


getDOMElementId

get the Id of the bound iframe element

Returns string url to embedded bim portal


ExternalClient


Parameters


initialize

initialize and start listening to incomming messages

...

addMessageHandler

add a message handler


Parameters


removeMessageHandler

remove a message handler


Parameters


messageReceived

Handle a received messages


Parameters


sendMessage

Send a message to bimplus web application


Parameters

  • elemId string DOM Element Id of the containing iframe
  • message string Message name
  • data object message data


getClientName

get the client id

Returns string connected client id


getUrlParameter

get the current page url parameter


Parameters

Returns string Paramter value