DoubleClickOptions Class


Double Click Options Class

Provides access to settings that control what happens when the current user double-clicks on an element.
Inheritance Hierarchy
System Object
Autodesk.Revit.UI DoubleClickOptions

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public class DoubleClickOptions : IDisposable

The DoubleClickOptions type exposes the following members.

Properties
Name Description
Public property IsValidObject Specifies whether the .NET object represents a valid Revit entity.
Top
Methods
Name Description
Public method Dispose Releases all resources used by the DoubleClickOptions
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object )
Public method GetAction Returns the active user's desired action for a particular double-click target.
Public method Static member GetDoubleClickOptions Returns the current user's DoubleClickOptions.
Public method GetHashCode Serves as the default hash function.
(Inherited from Object )
Public method GetType Gets the Type of the current instance.
(Inherited from Object )
Public method IsSupportedAction Checks whether the specified double-click target supports the specified action.
Public method SetAction Changes the double-click action associated with a specified target.
Public method ToString Returns a string that represents the current object.
(Inherited from Object )
Top
Remarks
These settings are stored on a per-user basis. Revit will follow these settings for all projects and families for this user.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →