    

 ## On this page

  

 

 # Class SelectionOptions

 Last update: 09.03.2026 

Namespace: [OpenTD](OpenTD.md)  
Assembly: OpenTD.dll

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

```csharp
public class SelectionOptions

```

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [SelectionOptions](OpenTD.SelectionOptions.md)

## Inherited Members

[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.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), [object.ReferenceEquals(object?, object?)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals), [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Constructors

### SelectionOptions()

```csharp
public SelectionOptions()

```

## Properties

### AllowedAcadTypes

Not currently used.

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

```

#### Property Value

[List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)&lt;[string](https://learn.microsoft.com/dotnet/api/system.string)&gt;

### 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
public List<DomainType> AllowedDomainTypes { get; set; }

```

#### Property Value

[List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)&lt;[DomainType](OpenTD.DomainType.md)&gt;

### 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
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
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
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
public bool EnableModelBrowserSelection { get; set; }

```

#### Property Value

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

### ForceSingleOperation

Not currently used.

```csharp
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
public string Prompt { get; set; }

```

#### Property Value

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

## See Also

[ThermalDesktop](OpenTD.ThermalDesktop.md).[GetSelection](OpenTD.ThermalDesktop.md#OpenTD_ThermalDesktop_GetSelection_OpenTD_SelectionOptions_)([SelectionOptions](OpenTD.SelectionOptions.md))