This enumerated type contains object snap types allowed to be set during PickPoint operations.
Namespace: Autodesk.Revit.UI.SelectionAssembly: RevitAPIUI (in RevitAPIUI.dll) Version: 21.0.0.0 (21.1.1.109)
Syntax
| C# |
|---|
[FlagsAttribute] public enum ObjectSnapTypes |
| Visual Basic |
|---|
<FlagsAttribute> _ Public Enumeration ObjectSnapTypes |
| Visual C++ |
|---|
[FlagsAttribute] public enum class ObjectSnapTypes |
Members
| Member name | Description |
|---|---|
| None | Snaps to nothing. |
| Endpoints | Snaps to the endpoint of an element or component. |
| Midpoints | Snaps to the midpoint of an element or component. |
| Nearest | Snaps to the nearest element or component. |
| WorkPlaneGrid | Snaps to a work plane grid. |
| Intersections | Snaps to intersections. |
| Centers | Snaps to the center of an arc. |
| Perpendicular | Snaps to perpendicular elements or components. |
| Tangents | Snaps tangent to an arc. |
| Quadrants | Snaps to quadrant points. For arcs, jump snaps are enabled. |
| Points | Snaps to site points. |