DoubleClickOptions.SetAction
Method
Description:
Changes the double-click action associated with a specified target.
Changes the double-click action associated with a specified target.
Remarks:
This change will be stored in the user's profile and will affect future sessions of Revit in addition to the current session.
This change will be stored in the user's profile and will affect future sessions of Revit in addition to the current session.
Parameters
Parameter | Type | Description |
---|---|---|
target | DoubleClickTarget | The double-click target whose action will be changed. |
action | DoubleClickAction | The action to assign to the target. |
Return Value
Exceptions
Exception | Condition |
---|---|
ArgumentException | The specified action is not valid for the target element. |
ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |