Version
Class in @bimworks/jssdk.
API catalogue · @bimworks/jssdk · Class
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#
constructor()bim_context#
public bim_context: stringcreated_by#
public created_by: stringBy whom this Version was created. This will normally contain the full username (email address) of the user that created the Version
created_on#
public created_on: DateWhen this particular Version was created, unmodifiable
deleted_status#
public deleted_status: NodeVersionDeletedStatusdemo_locked#
public demo_locked: boolean | undefinedTrue on a Version a demo model in a Demo folder came with, which cannot be deleted; absent elsewhere
discipline#
public discipline: Disciplinediscipline_source#
public discipline_source: DisciplineSource | undefinedProvenance of the discipline fields; absent on legacy rows
disciplines#
public disciplines: (Discipline)[] | undefinedMulti-label disciplines ordered by share, primary first; absent on rows predating multi-label
geo_reference#
public geo_reference: GeoReferenceim_metadata#
public im_metadata: unknownMetadata 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#
public indexedmodel_uuid: stringinput_file_type#
public input_file_type: InputFileTypemetadata#
public metadata: unknownmodel_uuid#
public model_uuid: stringnode_name#
public node_name: stringThe name of the Node this Version belongs to, denormalized
node_uuid#
public node_uuid: stringUnique ID of the Node this version belongs to. A Node can have multiple Version
status#
public status: TreeNodeVersionStatusThe status of this Version
unique_model_uuid#
public unique_model_uuid: stringuuid#
public uuid: stringUnique ID of the Version. Also commonly called "versionUuid" or Vid
version#
public version: numberThe integer version number of thie Version. Usually these are incrementing with each new Version on a Node, starting at one