Panorama Images Repository
- 26 Feb 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
Panorama Images Repository
- Updated on 26 Feb 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Follow these steps to get panorama image metadata that is within a particular room and that is set to be hidden:
Run:
const room = await api.siteModel.repository.findOne(23); // arbitrary site model
Run:
const imgFilterBuilder: ImageFilterInterface = api.image.repository.createFilterBuilder(); imgFilterBuilder.siteModel(room); imgFilterBuilder.hidden(true); const imgFilter: RestFilterInterface = imgFilterBuilder.build();
Run:
api.image.repository.filter(imgFilter) .then((hiddenRoomImages: ImageInterface[]) => { // Perform actions on hidden panoramas located in a room });
Was this article helpful?