BH.oM.Adapters.Revit.Commands.Select¶
Select action allows direct interaction with External Application.
Class structure¶
Implemented interfaces and base types¶
The Select is inheriting from the following base type(s) and implements the following interfaces:
- BH.oM.Adapter.IExecuteCommand
- BH.oM.Base.IObject
Properties¶
Defining properties¶
The following properties are defined on the class
Name | Type | Description | Quantity |
---|---|---|---|
Targets | List<object> | Elements to be selected, specified as either IBHoMObjects or integers representing ElementIds. | - |
ShowObjects | bool | Set True to focus view on selected objects in the External Application UI as a part of this action. | - |
Code and Schema¶
C# implementation¶
Assembly: Revit_oM.dll
The C# class definition is available on github:
All history and changes of the class can be found by inspection the history.
JSON Schema implementation¶
The object is defined as a JSON schema. You can validate a JSON instance against this schema by reference. To do this, use the schema reference below in a validator like this one.
JSON Schema
{
"$ref" : "https://raw.githubusercontent.com/BHoM/BHoM_JSONSchema/develop/Revit_oM/Commands/Select.json"
}
The JSON Schema is available on github here: