Frameworks
Integrations
Mendix
SharePoint
Default UI
Modular UI
AnnotationManager
Annotation Types
Customize
Version 11
Version 10
v10.12
v10.11
v10.10
v10.9
v10.8
v10.7
v10.6
v10.5
v10.4
v10.3
v10.2
v10.1
v10.0
Version 8
v8.12
v8.11
v8.10
v8.9
v8.8
v8.7
v8.6
v8.5
v8.4
v8.3
v8.2
v8.1
v8.0
Version 7
Version 6
v6.3
v6.2
v6.1
v6.0
Version 5
Version 4
Version 3
Version 2
WebViewer Server
WebViewer BIM
Annotation selection is intuitively understood as selecting and/or clicking on a visible annotation in the viewer. The AnnotationManager
allows you to get the selected annotations at any point in time. This could be helpful in serializing only selected annotations after pressing a button.
The AnnotationManager can also be used to select and deselect annotations. This may be helpful to batch select annotations and bring them into attention in the viewer for a review process.
When annotations are selected or deselected, whether through the viewer or programmatically, this will trigger the annotationsSelected event on the AnnotationManager.
Aside from the annotationSelected
event, the AnnotationManager provides the getSelectedAnnotations
API that can be called on demand instead of hooking into an event.
Selecting annotations through the AnnotationManager is done using either the selectAnnotation
or selectAnnotations
APIs.
Deselecting annotations can be done in a similar way using the deselectAnnotation
and deselectAnnotations
APIs. This could be potentially used to deselect certain annotations after selecting a group of annotations.
Alternatively, you can use deselectAllAnnotations
to deselect all selected annotations.
When selecting an annotation via the notes panel, you will notice that the viewer will jump to the selected annotation. This can be triggered with the jumpToAnnotation
API on the AnnotationManager. You can then use this API to focus on certain selected annotations or simply jumping to an annotation after creation.
You can customize how selection models look and work on annotations. See how you can customize it in our custom annotation guide.
Did you find this helpful?
Trial setup questions?
Ask experts on DiscordNeed other help?
Contact SupportPricing or product questions?
Contact Sales