isEnabled property

bool isEnabled

True to enable snapping to the geometries in the SnapSource, false otherwise. Default is false.

Snapping sources can be enabled or disabled individually. If SnapSettings.isEnabled is false, this value is ignored and snapping is not enabled.

Implementation

bool get isEnabled {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_SnapSourceSettings_getIsEnabled(
      _handle,
      errorHandler,
    );
  });
}
void isEnabled=(bool value)

Implementation

set isEnabled(bool value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_SnapSourceSettings_setIsEnabled(
      _handle,
      value,
      errorHandler,
    );
  });
}