Reads MTKWEB format into the model.
new ModelReader():
ModelReader
read(
filename
,model
,dataProvider
):Promise
<boolean
>
Reads the MTKWEB model with the specified name into the specified model. Returns true
if the reading process succeeded, false
otherwise.
string
Name of the MTKWEB file.
Result model.
Provider for data stored in external files.
Promise
<boolean
>
readFromBuffer(
data
,model
,dataProvider
):Promise
<boolean
>
Reads the MTKWEB model from buffer into the specified model. Returns true
if the reading process succeeded, false
otherwise.
ArrayBufferLike
Buffer with model data.
Result model.
Provider for data stored in external files.
Promise
<boolean
>
true
if the reading process succeeded, false
otherwise.