Skip to main content
Namespace: OpenTD
Assembly: OpenTD.dll
Use SelectionOptions to control how ThermalDesktop.GetSelection requests the user to select entities from the TD graphics window.

Inheritance

object ← SelectionOptions

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

SelectionOptions()

Properties

AllowedAcadTypes

Not currently used.

Property Value

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

Property Value

List<DomainType>

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.

Property Value

bool

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.

Property Value

bool

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.

Property Value

bool

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.

Property Value

bool

ForceSingleOperation

Not currently used.

Property Value

bool

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.

Property Value

string

See Also

ThermalDesktop.GetSelection(SelectionOptions)