Hi Alexandra,
Yes, this is possible using the Trimble Connect for Browser 3D viewer Workspace API. Please check the API documentation and example app in https://3d.connect.trimble.com/docs/api/index.html
Also Connect for Windows applications TCD API has this feature. Please refer to the API documentation in the local installation folder in your hard drive.
Best regards,
Jari