Description
Whenever a keyword representing a built-in OSNAP mode can be used, the keyword of any of the registered custom OSNAP modes can also be entered. These places include:
- establishing an OSNAP override whenever a point is being acquired.
- establishing the equivalent of running OSNAP modes via the -OSNAP command as explained in AutoCAD User Guide and Reference.
- invoking the AutoLISP (OSNAP) function
CustomOsnapManager defines the manager object for registered custom OSNAP modes. A custom OSNAP mode is defined by registering an instance of CustomOsnapMode with the CustomOsnapManager object. Custom modes are registered and deregistered through this object, they can be activated and deactivated, and the set of currently active modes can be queried through this object.
Note: This .NET class wraps the AcDbCustomOsnapMode and AcDbCustomOsnapManager ObjectARX classes.
Class Hierarchy
Autodesk.AutoCAD.DatabaseServices.CustomObjectSnapMode
C#
public sealed class CustomObjectSnapMode : DisposableWrapper;
Visual Basic
Public sealed Class CustomObjectSnapMode Inherits DisposableWrapper
Links
CustomObjectSnapMode Constructor, CustomObjectSnapMode Methods, CustomObjectSnapMode Properties