Property SnapOverride
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
SnapOverride
Gets or sets the object snap taken for the next point alone (the window sets it with its own override): a point typed at a prompt for a point, at "Select objects:", at a prompt for one object, at a corner of a window and at a point of a fence or a polygon is snapped to the snap point of the object under it, within SnapAperture, as AutoCAD 2021 snaps it, the point of an object found however far from the typed point it lies: with END, an aperture of 1.3 and a line from (0, 0) to (100, 0), 30,1 gives (0, 0) and 70,1 gives (100, 0), but 50,3 gives "No Endpoint found for specified point." and then the words of the prompt it was typed at ("Invalid point.", "Invalid selection" at "Select objects:", "Invalid window specification." at a corner, "Invalid response." at a fence), and the prompt is asked again. The override is for one point: it is cleared once a point is typed. ENDpoint, MIDpoint, CENter, QUAdrant, NODe, INSert, NEArest, PERpendicular, TANgent and GCEnter are taken; INTersection and APPint take the crossing of two objects under the point, or where one lies there ask " and" for the second, answered by a point on it, and with the objects not crossing say "No Intersection found for specified point."; EXTension and PARallel, which need the cursor to rest on an object, find nothing at a point typed. Where a snap has no name in AutoCAD's words (NEArest, TANgent, GCEnter, APPint, EXTension, PARallel) it says "No found for specified point." NONe leaves the point as typed. Null for none.
public CadSnapModes? SnapOverride { get; set; }