Skip to main content
Version: 3.x

Class: CdfModelIdentifier

@cognite/reveal/extensions/datasource.CdfModelIdentifier

Identifies a 3D model stored in CDF by the combination of a modelId, a revisionId and a format.

Implements

Constructors

constructor

new CdfModelIdentifier(modelId, revisionId)

Parameters

NameType
modelIdnumber
revisionIdnumber

Defined in

packages/modeldata-api/src/CdfModelIdentifier.ts:16

Properties

modelId

Readonly modelId: number

Defined in

packages/modeldata-api/src/CdfModelIdentifier.ts:13


revealInternalId

Readonly revealInternalId: symbol

Unique ID of the model.

Implementation of

ModelIdentifier.revealInternalId

Defined in

packages/modeldata-api/src/CdfModelIdentifier.ts:11


revisionId

Readonly revisionId: number

Defined in

packages/modeldata-api/src/CdfModelIdentifier.ts:14

Methods

toString

toString(): string

Returns

string

Defined in

packages/modeldata-api/src/CdfModelIdentifier.ts:22