Methods
Model
loadUrl
loads a model from a url by default removes existing models before loading the new model example usage const options = { append true, modelid "my model id", modelname "my model name" }; const url = "https //api catenda com/v2/projects/{project id}/viewer2d/geometry?token=your token"; const modelinfospromise = viewer2d loadurl(url, options); parameters url url to the model true 330,331left unhandled content type left unhandled content type left unhandled content type left unhandled content type options options for loading the model true 330,331left unhandled content type left unhandled content type left unhandled content type left unhandled content type properties true 120,117 79838709677419,91 34257747782868,331 8590354253971left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type return value promise that resolves to a list of model information for the loaded models true 661left unhandled content type left unhandled content type modelinfo true 220,119,322left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type