Hide menu
Loading...
Searching...
No Matches
ModelReader

Reads MTKWEB data into a model.

Extends

Constructors

Constructor

new ModelReader(): ModelReader

Returns

ModelReader

Inherited from

BaseObject.constructor

Accessors

id

Get Signature

get id(): bigint

Returns the unique identifier of the object.

Returns

bigint

Inherited from

BaseObject.id

Methods

read()

read(filename, model, dataProvider): Promise<boolean>

Reads an MTKWEB model with the specified file name into a model.

Parameters

filename

string

Name of the MTKWEB file.

model

Model

Target model.

dataProvider

DataProvider

Provider used to load data stored in external files.

Returns

Promise<boolean>