Constructor CadCustomSnap
CadCustomSnap(string, string, CadSnapFinder)
Makes a snap.
public CadCustomSnap(string name, string keyword, CadSnapFinder finder)
Parameters
namestringThe name the menus, Drafting Settings and the snap tip show: "Circle top".
keywordstringThe word typed to take only this snap for the next point, in either case: "CTOP". Checked when the snap is added to the host: letters and digits only, 2 to 16 long, not an AutoCAD snap keyword (END MID CEN GCE NOD QUA INT EXT INS PER TAN NEA APP PAR NON) or a word that starts with one, and not FROM, TT, M2P or MTP.
finderCadSnapFinderGives the points for an entity.
Exceptions
- ArgumentNullException
Thrown when the name, the keyword or the finder is null.
- ArgumentException
Thrown when the name is empty.