isGeometryGuidesEnabled property
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:
- coincide with an existing edge (segment) or vertex of the current GeometryEditor.geometry
- create a new segment perpendicular to the previous segment of the current GeometryEditor.geometry
- create a new segment as an extension of the previous segment of the current GeometryEditor.geometry
- create a new segment parallel to an existing segment of the current GeometryEditor.geometry
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,
);
});
}
Implementation
set isGeometryGuidesEnabled(bool value) {
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_SnapSettings_setIsGeometryGuidesEnabled(
_handle,
value,
errorHandler,
);
});
}