Methods
Model
loadModelsFromToken
loads models from a viewer token example usage const options = { modelid "my model id" }; const url = "https //api catenda com/v2/projects/{project id}/viewer3d/data?token={token}"; const modelinfopromise = viewer3d loadmodelsfromtoken(url, options); parameters url viewer token url true 330,331left unhandled content type left unhandled content type left unhandled content type left unhandled content type options options when loading the model true 330,331left unhandled content type left unhandled content type left unhandled content type left unhandled content type properties true 136,100,100,100left 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 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 headers map of headers to send with the request true 661left unhandled content type left unhandled content type initialstate initial visibility state of the model valid values are hidden visible mapobjectid function for mapping the object id to a custom id true 661left unhandled content type left unhandled content type query query to send with the request true 661left unhandled content type left unhandled content type transform the initial transform of the model true 165,165,165,166left 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 the model info for the loaded models true 661left unhandled content type left unhandled content type modelinfo true 220,220,221left 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