isFeatureSnappingEnabled property

bool isFeatureSnappingEnabled

True to allow interactive snapping to other features and graphics, based on the configured SnapSettings.sourceSettings, false otherwise. Default is true.

Ignored if SnapSettings.isEnabled is false.

Feature snapping can be combined with geometry guides by ensuring SnapSettings.isGeometryGuidesEnabled is true.

Implementation

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

Implementation

set isFeatureSnappingEnabled(bool value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_SnapSettings_setIsFeatureSnappingEnabled(
      _handle,
      value,
      errorHandler,
    );
  });
}