Reference·JavaScript · @bimworks/jssdkJavaScript

Version

Class in @bimworks/jssdk.

API catalogue · @bimworks/jssdk · Class

TypeScript#
class Version

In BIM.works a "Version" refers to a specific version of a Model.

Members#

Member Kind Description
constructor Method
bim_context Property
created_by Property By whom this Version was created. This will normally contain the full username (email address) of the user that created the Version
created_on Property When this particular Version was created, unmodifiable
deleted_status Property
demo_locked Property True on a Version a demo model in a Demo folder came with, which cannot be deleted; absent elsewhere
discipline Property
discipline_source Property Provenance of the discipline fields; absent on legacy rows
disciplines Property Multi-label disciplines ordered by share, primary first; absent on rows predating multi-label
geo_reference Property
im_metadata Property Metadata of the indexed model (derivative set) of this Version. Required by the viewers: a Version can only be passed to the ModelManager when im_metadata is…
indexedmodel_uuid Property
input_file_type Property
metadata Property
model_uuid Property
node_name Property The name of the Node this Version belongs to, denormalized
node_uuid Property Unique ID of the Node this version belongs to. A Node can have multiple Version
status Property The status of this Version
unique_model_uuid Property
uuid Property Unique ID of the Version. Also commonly called "versionUuid" or Vid
version Property The integer version number of thie Version. Usually these are incrementing with each new Version on a Node, starting at one

constructor#

TypeScript#
constructor()

bim_context#

TypeScript#
public bim_context: string

created_by#

TypeScript#
public created_by: string

By whom this Version was created. This will normally contain the full username (email address) of the user that created the Version

created_on#

TypeScript#
public created_on: Date

When this particular Version was created, unmodifiable

deleted_status#

TypeScript#
public deleted_status: NodeVersionDeletedStatus

demo_locked#

TypeScript#
public demo_locked: boolean | undefined

True on a Version a demo model in a Demo folder came with, which cannot be deleted; absent elsewhere

discipline#

TypeScript#
public discipline: Discipline

discipline_source#

TypeScript#
public discipline_source: DisciplineSource | undefined

Provenance of the discipline fields; absent on legacy rows

disciplines#

TypeScript#
public disciplines: (Discipline)[] | undefined

Multi-label disciplines ordered by share, primary first; absent on rows predating multi-label

geo_reference#

TypeScript#
public geo_reference: GeoReference

im_metadata#

TypeScript#
public im_metadata: unknown

Metadata of the indexed model (derivative set) of this Version. Required by the viewers: a Version can only be passed to the ModelManager when im_metadata is present. It is null/absent while the model is still being processed, and on summary version objects (e.g. from tree notifications) — fetch the complete Version with BimWorksClient.getNodeVersion.

indexedmodel_uuid#

TypeScript#
public indexedmodel_uuid: string

input_file_type#

TypeScript#
public input_file_type: InputFileType

metadata#

TypeScript#
public metadata: unknown

model_uuid#

TypeScript#
public model_uuid: string

node_name#

TypeScript#
public node_name: string

The name of the Node this Version belongs to, denormalized

node_uuid#

TypeScript#
public node_uuid: string

Unique ID of the Node this version belongs to. A Node can have multiple Version

status#

TypeScript#
public status: TreeNodeVersionStatus

The status of this Version

unique_model_uuid#

TypeScript#
public unique_model_uuid: string

uuid#

TypeScript#
public uuid: string

Unique ID of the Version. Also commonly called "versionUuid" or Vid

version#

TypeScript#
public version: number

The integer version number of thie Version. Usually these are incrementing with each new Version on a Node, starting at one