isGeometryGuidesEnabled property

bool isGeometryGuidesEnabled

True to allow interactive snapping relative to the current GeometryEditor.geometry, false otherwise. Default is false.

When enabled, additional visual cues appear as temporary guides when interactively editing polygon or polyline geometries, allowing edits to be snapped to:

The guides shown indicate the type of snap occurring.

Ignored if SnapSettings.isEnabled is false.

Geometry guides can be combined with snapping to other features or graphics by ensuring SnapSettings.isFeatureSnappingEnabled is true and configuring SnapSettings.sourceSettings appropriately.

Implementation

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

Implementation

set isGeometryGuidesEnabled(bool value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_SnapSettings_setIsGeometryGuidesEnabled(
      _handle,
      value,
      errorHandler,
    );
  });
}