setAllowCreation method

void setAllowCreation(
  1. bool allowCreation
)

Enable or disable creation.

Sets the following properties:

Deletion, selection and transformation properties are unaltered.

Parameters:

  • allowCreation — Indicates if creation is allowed.

Implementation

void setAllowCreation(
  bool allowCreation,
) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_InteractionConfiguration_setAllowCreation(
      _handle,
      allowCreation,
      errorHandler,
    );
  });
}