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

Public Member Functions

Properties

Detailed Description

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

Constructor & Destructor Documentation

SelectionOptions()

inline

Property Documentation

AllowedAcadTypes

get set Not currently used.

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

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

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

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

get set 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.

ForceSingleOperation

get set Not currently used.

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