setAllowTransformation method

void setAllowTransformation(
  1. bool allowTransformation
)

Enable or disable interactions that transform the GeometryEditor.geometry, for example InteractionConfiguration.allowMovingSelectedElement.

Sets the following properties:

Creation, deletion and selection properties are unaltered.

Parameters:

  • allowTransformation — Indicates if transformation is allowed.

Implementation

void setAllowTransformation(
  bool allowTransformation,
) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_InteractionConfiguration_setAllowTransformation(
      _handle,
      allowTransformation,
      errorHandler,
    );
  });
}