BIM Models
Load BIM models using the loadModelsFromToken method.
Example
1. Create a 3D Viewer token
Request a viewer token for the asset stored in the models section.
curl --request POST \
--url https://api.catenda.com/v2/projects/{PROJECT_ID}/viewer3d/token \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json'2. Use the token to load the model
Invoke the loadModelsFromToken method with the viewer token.
const url = "https://api.catenda.com/v2/projects/{PROJECT_ID}/viewer3d/data?token={TOKEN}";
viewer3d.loadModelsFromToken(url);