allowDeletingSelectedElement property
True if the selected GeometryEditorElement can be interactively deleted, false otherwise. Default is true.
Whether true or false, an element can be deleted by GeometryEditor.deleteSelectedElement.
If false, then the GeometryEditorElement.canDelete property of the GeometryEditor.selectedElement is also false. If you have implemented a customization to allow users to interactively delete the selected element, then you can use this property to check if that customization should be enabled.
InteractionConfiguration.setAllowDeletion sets this property.
Implementation
bool get allowDeletingSelectedElement {
return _withThrowingErrorHandler((errorHandler) {
return runtimecore
.RT_InteractionConfiguration_getAllowDeletingSelectedElement(
_handle,
errorHandler,
);
});
}
Implementation
set allowDeletingSelectedElement(bool value) {
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_InteractionConfiguration_setAllowDeletingSelectedElement(
_handle,
value,
errorHandler,
);
});
}