> ## 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.

# Class SelectionOptions

Namespace: [OpenTD](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net4-reference/OpenTD)\
Assembly: OpenTD.dll

Use SelectionOptions to control how ThermalDesktop.GetSelection requests the
user to select entities from the TD graphics window.

```csharp theme={null}
public class SelectionOptions
```

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[SelectionOptions](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net4-reference/OpenTD.SelectionOptions.md)

## Inherited Members

[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring),
[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

## Constructors

### SelectionOptions()

```csharp theme={null}
public SelectionOptions()
```

## Properties

### AllowedAcadTypes

Not currently used.

```csharp theme={null}
public List<string> AllowedAcadTypes { get; set; }
```

#### Property Value

[List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)\<[string](https://learn.microsoft.com/dotnet/api/system.string)>

### AllowedDomainTypes

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.

```csharp theme={null}
public List<DomainType> AllowedDomainTypes { get; set; }
```

#### Property Value

[List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)\<[DomainType](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net4-reference/OpenTD.DomainType.md)>

### EnableDomains

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.

```csharp theme={null}
public bool EnableDomains { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### EnableFilterDialog

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.

```csharp theme={null}
public bool EnableFilterDialog { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### EnableGroupSelection

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.

```csharp theme={null}
public bool EnableGroupSelection { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### EnableModelBrowserSelection

If true, allows the user to select entities from the Model Browser lists,
in addition to or instead of picking entities graphically. Defaults to true.

```csharp theme={null}
public bool EnableModelBrowserSelection { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### ForceSingleOperation

Not currently used.

```csharp theme={null}
public bool ForceSingleOperation { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### Prompt

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.

```csharp theme={null}
public string Prompt { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

## See Also

[ThermalDesktop](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net4-reference/OpenTD.ThermalDesktop.md).[GetSelection](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net4-reference/OpenTD.ThermalDesktop.md#getselection)([SelectionOptions](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net4-reference/OpenTD.SelectionOptions.md))
