Skip to main content

OpenTD .NET4 reference 2025 R2

OpenTD.Domains Class Reference

Last update: 16.07.2025

Use to get all domains within a TD instance. More...

Public Member Functions

 Domains ()
 
 Domains (ThermalDesktop tdInstance)
 Creates dictionaries for each type of domain. Domains in master drawing will create dictionary where key=domain name, value=list of connections in domain Domains in XREF drawing will create dictionary where key=database name (name of XREF), value=list of domains Does not determine connections for domains in XREF drawings.
 
void UpdateFromTD (ThermalDesktop tdInstance)
 Updates the client-side instance with the latest data from the TD entity.
 
void UpdateFromTD ()
 Updates the client-side instance with the latest data from the TD entity.
 
List< string > GetNames ()
 Returns all domain names. Call UpdateFromTD() first to synchronize with the TD instance.
 

Properties

Dictionary< string, List< Connection > > EdgeDomains [get, set]
 Key = Name of domain Value = list of connections in domain.
 
Dictionary< string, List< Connection > > LumpDomains [get, set]
 Key = Name of domain Value = list of connections in domain.
 
Dictionary< string, List< Connection > > NodeDomains [get, set]
 Key = Name of domain Value = list of connections in domain.
 
Dictionary< string, List< Connection > > PathDomains [get, set]
 Key = Name of domain Value = list of connections in domain.
 
Dictionary< string, List< Connection > > SolidDomains [get, set]
 Key = Name of domain Value = list of connections in domain.
 
Dictionary< string, List< Connection > > SurfaceDomains [get, set]
 Key = Name of domain Value = list of connections in domain.
 
Dictionary< string, List< string > > EdgeDomainsXREF [get, set]
 Key = Name of XREF Value = list of domain names in XREF.
 
Dictionary< string, List< string > > LumpDomainsXREF [get, set]
 Key = Name of XREF Value = list of domain names in XREF.
 
Dictionary< string, List< string > > NodeDomainsXREF [get, set]
 Key = Name of XREF Value = list of domain names in XREF.
 
Dictionary< string, List< string > > PathDomainsXREF [get, set]
 Key = Name of XREF Value = list of domain names in XREF.
 
Dictionary< string, List< string > > SolidDomainsXREF [get, set]
 Key = Name of XREF Value = list of domain names in XREF.
 
Dictionary< string, List< string > > SurfaceDomainsXREF [get, set]
 Key = Name of XREF Value = list of domain names in XREF.
 
ThermalDesktop TD [get, set]
 

Detailed Description

Use to get all domains within a TD instance.

Constructor & Destructor Documentation

◆ Domains() [1/2]

OpenTD.Domains.Domains ( )
inline

◆ Domains() [2/2]

OpenTD.Domains.Domains ( ThermalDesktop tdInstance)
inline

Creates dictionaries for each type of domain. Domains in master drawing will create dictionary where key=domain name, value=list of connections in domain Domains in XREF drawing will create dictionary where key=database name (name of XREF), value=list of domains Does not determine connections for domains in XREF drawings.

Parameters
tdInstance

Member Function Documentation

◆ GetNames()

List< string > OpenTD.Domains.GetNames ( )
inline

Returns all domain names. Call UpdateFromTD() first to synchronize with the TD instance.

Returns
List<System.String>.
See also
OpenTD.Domains.UpdateFromTD(), OpenTD.Domains.UpdateFromTD(ThermalDesktop)

◆ UpdateFromTD() [1/2]

void OpenTD.Domains.UpdateFromTD ( )
inline

Updates the client-side instance with the latest data from the TD entity.

◆ UpdateFromTD() [2/2]

void OpenTD.Domains.UpdateFromTD ( ThermalDesktop tdInstance)
inline

Updates the client-side instance with the latest data from the TD entity.

Property Documentation

◆ EdgeDomains

Dictionary<string, List<Connection> > OpenTD.Domains.EdgeDomains
getset

Key = Name of domain Value = list of connections in domain.

◆ EdgeDomainsXREF

Dictionary<string, List<string> > OpenTD.Domains.EdgeDomainsXREF
getset

Key = Name of XREF Value = list of domain names in XREF.

◆ LumpDomains

Dictionary<string, List<Connection> > OpenTD.Domains.LumpDomains
getset

Key = Name of domain Value = list of connections in domain.

◆ LumpDomainsXREF

Dictionary<string, List<string> > OpenTD.Domains.LumpDomainsXREF
getset

Key = Name of XREF Value = list of domain names in XREF.

◆ NodeDomains

Dictionary<string, List<Connection> > OpenTD.Domains.NodeDomains
getset

Key = Name of domain Value = list of connections in domain.

◆ NodeDomainsXREF

Dictionary<string, List<string> > OpenTD.Domains.NodeDomainsXREF
getset

Key = Name of XREF Value = list of domain names in XREF.

◆ PathDomains

Dictionary<string, List<Connection> > OpenTD.Domains.PathDomains
getset

Key = Name of domain Value = list of connections in domain.

◆ PathDomainsXREF

Dictionary<string, List<string> > OpenTD.Domains.PathDomainsXREF
getset

Key = Name of XREF Value = list of domain names in XREF.

◆ SolidDomains

Dictionary<string, List<Connection> > OpenTD.Domains.SolidDomains
getset

Key = Name of domain Value = list of connections in domain.

◆ SolidDomainsXREF

Dictionary<string, List<string> > OpenTD.Domains.SolidDomainsXREF
getset

Key = Name of XREF Value = list of domain names in XREF.

◆ SurfaceDomains

Dictionary<string, List<Connection> > OpenTD.Domains.SurfaceDomains
getset

Key = Name of domain Value = list of connections in domain.

◆ SurfaceDomainsXREF

Dictionary<string, List<string> > OpenTD.Domains.SurfaceDomainsXREF
getset

Key = Name of XREF Value = list of domain names in XREF.

◆ TD

ThermalDesktop OpenTD.Domains.TD
getset

The documentation for this class was generated from the following file:
  • C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/TDDEV_ALPHA/buildXX/OpenTD/Domains.cs

Connect with Ansys