> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenTD.SelectionOptions Class Reference

Use [SelectionOptions](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_selection_options.md) to control how [ThermalDesktop.GetSelection](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md#a267f34c601b9bff7c9768622992ba00d) requests the user to select entities from the TD graphics window.

## Public Member Functions

| Type | Name |
| - | - |
| | [SelectionOptions](#a77f1a7bde9e97c6317bd981d98e85fda) () |

## Properties

| Type | Name |
| - | - |
| string | [Prompt](#a102a34ca93c0e311cb3154708a989d5a)`[get, set]` This will be printed to the TD commandline to prompt the user to select entities. If blank or null, TD will use a default prompt. |
| List\< string > | [AllowedAcadTypes](#ad21ee57666799a0c08ba6ccbd832805e)`[get, set]` Not currently used. |
| bool | [EnableDomains](#aa4ccd3674fd0602b40391a9e0b3e1011)`[get, set]` If true and domains exist in the model, GetSelection will allow the user to select domains by name in addition to or instead of picking entities graphically. Defaults to true. |
| List\< [DomainType](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/namespace_open_t_d#a32fac0407236002ba6e4819e5acdf724) > | [AllowedDomainTypes](#a601a3cfe8287514b04ec9c3a910b4b9f)`[get, set]` If EnableDomains is true, only domain types in this list can be selected by the user in TD. If null or empty, any domain type is allowed. |
| bool | [ForceSingleOperation](#ad827c5d3158a09f4f16075275053c6ba)`[get, set]` Not currently used. |
| bool | [EnableModelBrowserSelection](#a4e59a3fe49a54fce8ef9d3152c94f2cd)`[get, set]` If true, allows the user to select entities from the [Model](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_model.md) Browser lists, in addition to or instead of picking entities graphically. Defaults to true. |
| bool | [EnableGroupSelection](#aec1e341a5248eac84a29780f3605180a)`[get, set]` If true and named AutoCAD groups exist in the model, GetSelection will allow the user to select groups by name in addition to or instead of picking entities graphically. Defaults to true. |
| bool | [EnableFilterDialog](#ab8e10585e720189ad2516d199f5d28b1)`[get, set]` Displays the filter dialog if: 1. set true, 2. the user selects more than one entity, and 3. the global RC Filter is turned on. Use the TD command "RCFILTER" to toggle the RC Filter state. Unfortunately, there is no easy way to query the filter state. Defaults to true. |

## Detailed Description

Use [SelectionOptions](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_selection_options.md) to control how [ThermalDesktop.GetSelection](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md#a267f34c601b9bff7c9768622992ba00d) requests the user to select entities from the TD graphics window.

**See also**

[OpenTD.ThermalDesktop.GetSelection](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md#a267f34c601b9bff7c9768622992ba00d)

## Constructor & Destructor Documentation

### SelectionOptions()

```csharp theme={null}
OpenTD.SelectionOptions.SelectionOptions()
```

`inline`

## Property Documentation

### AllowedAcadTypes

```csharp theme={null}
List<string> OpenTD.SelectionOptions.AllowedAcadTypes
```

`get` `set`

Not currently used.

### AllowedDomainTypes

```csharp theme={null}
List< DomainType > OpenTD.SelectionOptions.AllowedDomainTypes
```

`get` `set`

If EnableDomains is true, only domain types in this list can be selected by the user in TD. If null or empty, any domain type is allowed.

### EnableDomains

```csharp theme={null}
bool OpenTD.SelectionOptions.EnableDomains
```

`get` `set`

If true and domains exist in the model, GetSelection will allow the user to select domains by name in addition to or instead of picking entities graphically. Defaults to true.

### EnableFilterDialog

```csharp theme={null}
bool OpenTD.SelectionOptions.EnableFilterDialog
```

`get` `set`

Displays the filter dialog if: 1. set true, 2. the user selects more than one entity, and 3. the global RC Filter is turned on. Use the TD command "RCFILTER" to toggle the RC Filter state. Unfortunately, there is no easy way to query the filter state. Defaults to true.

### EnableGroupSelection

```csharp theme={null}
bool OpenTD.SelectionOptions.EnableGroupSelection
```

`get` `set`

If true and named AutoCAD groups exist in the model, GetSelection will allow the user to select groups by name in addition to or instead of picking entities graphically. Defaults to true.

### EnableModelBrowserSelection

```csharp theme={null}
bool OpenTD.SelectionOptions.EnableModelBrowserSelection
```

`get` `set`

If true, allows the user to select entities from the [Model](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_model.md) Browser lists, in addition to or instead of picking entities graphically. Defaults to true.

### ForceSingleOperation

```csharp theme={null}
bool OpenTD.SelectionOptions.ForceSingleOperation
```

`get` `set`

Not currently used.

### Prompt

```csharp theme={null}
string OpenTD.SelectionOptions.Prompt
```

`get` `set`

This will be printed to the TD commandline to prompt the user to select entities. If blank or null, TD will use a default prompt.

The documentation for this class was generated from the following file:

* C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/OpenTD/OpenTD/**SelectionOptions.cs**
