This event will be emitted whenever the current preset is about to be updated with new property values set by the user in the annotation toolbar.
Register a AnnotationPresetsUpdateEvent using NutrientViewer.EventName.ANNOTATION_PRESETS_UPDATE and prevent the current preset from being updated.
instance.addEventListener("annotationPresets.update", (event) => { event.preventDefault();}); Copy
instance.addEventListener("annotationPresets.update", (event) => { event.preventDefault();});
Current active preset ID.
Properties and values of the current active preset.
Properties and values to be merged with the ones in the current active preset.
Call this method to opt-out from updating the current preset.
This event will be emitted whenever the current preset is about to be updated with new property values set by the user in the annotation toolbar.
Example
Register a AnnotationPresetsUpdateEvent using NutrientViewer.EventName.ANNOTATION_PRESETS_UPDATE and prevent the current preset from being updated.