Interface GeometryErrorEvent

Event that fires when the file fails to load.

interface GeometryErrorEvent {
    buffer?: ArrayBuffer | Uint8Array;
    data: Error;
    file: string | Model | File | Assembly | ArrayBuffer | File | Blob;
    model?: Model;
    type: "geometryerror";
}

Properties

buffer?: ArrayBuffer | Uint8Array

Deprecated since 26.4. Use file instead.

data: Error

Thrown exception.

file: string | Model | File | Assembly | ArrayBuffer | File | Blob

File to load.

model?: Model

Model from file to load. Only defined when loading a file from the Open Cloud Server.

type: "geometryerror"

Event type.