OpenTD.Domains Class Reference
Last update: 16.07.2025Use 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]
|
inline |
◆ Domains() [2/2]
|
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()
|
inline |
Returns all domain names. Call UpdateFromTD() first to synchronize with the TD instance.
- Returns
- List<System.String>.
◆ UpdateFromTD() [1/2]
|
inline |
Updates the client-side instance with the latest data from the TD entity.
◆ UpdateFromTD() [2/2]
|
inline |
Updates the client-side instance with the latest data from the TD entity.
Property Documentation
◆ EdgeDomains
|
getset |
Key = Name of domain Value = list of connections in domain.
◆ EdgeDomainsXREF
|
getset |
Key = Name of XREF Value = list of domain names in XREF.
◆ LumpDomains
|
getset |
Key = Name of domain Value = list of connections in domain.
◆ LumpDomainsXREF
|
getset |
Key = Name of XREF Value = list of domain names in XREF.
◆ NodeDomains
|
getset |
Key = Name of domain Value = list of connections in domain.
◆ NodeDomainsXREF
|
getset |
Key = Name of XREF Value = list of domain names in XREF.
◆ PathDomains
|
getset |
Key = Name of domain Value = list of connections in domain.
◆ PathDomainsXREF
|
getset |
Key = Name of XREF Value = list of domain names in XREF.
◆ SolidDomains
|
getset |
Key = Name of domain Value = list of connections in domain.
◆ SolidDomainsXREF
|
getset |
Key = Name of XREF Value = list of domain names in XREF.
◆ SurfaceDomains
|
getset |
Key = Name of domain Value = list of connections in domain.
◆ SurfaceDomainsXREF
|
getset |
Key = Name of XREF Value = list of domain names in XREF.
◆ 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