SelectionUIOptions
Description:
Provides access to user settings related to how selection will behave in Revit's UI.
Provides access to user settings related to how selection will behave in Revit's UI.
Remarks:
The settings in this class define how selection will behave when the user is selecting one or more elements in a graphical view. These settings do not affect programmatic selection behavior. Some UI commands may override the user's settings while the command is active.
The settings in this class define how selection will behave when the user is selecting one or more elements in a graphical view. These settings do not affect programmatic selection behavior. Some UI commands may override the user's settings while the command is active.
These settings are per user and will affect the selection behavior in all projects and families. The settings are not stored in the project.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.UI.SelectionUIOptions
System.Object
Autodesk.Revit.UI.SelectionUIOptions
public class SelectionUIOptions : IDisposable
| Name | Return Type | Description |
|---|---|---|
| Dispose() | None | Releases all resources used by the |
| ElementSelectsAsPinned(Document, Element) | bool | Checks whether the specified element will be treated as pinned for the purposes of selection. |
| GetSelectionUIOptions() | SelectionUIOptions | Returns the current user's SelectionOptions. |
| Name | Return Type | Description |
|---|---|---|
| ActivateControlsAndDimensionsOnMultiSelect | bool | Indicates whether controls and temporary dimensions are activated on selection of multiple elements. |
| DragOnSelection | bool | Indicates whether elements can be dragged immediately when they are selected. |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |
| SelectFaces | bool | Indicates whether elements can be selected by clicking on the interior of a face. |
| SelectLinks | bool | Indicates whether Revit and CAD link instances can be selected. |
| SelectPinned | bool | Indicates whether pinned elements can be selected. |
| SelectUnderlay | bool | Indicates whether elements that are displayed as underlay can be selected. |