Skip to main content

OpenTD .NET8 reference 2025 R2

OpenTD.TdDbEntityData Class Reference

Last update: 16.07.2025

Base class for objects sorted on AutoCAD layers. More...

Inheritance diagram for OpenTD.TdDbEntityData:
OpenTD.DbObjectOpenTD.ITdDerivedOpenTD.OpenTDObjectOpenTD.IUpdatableOpenTD.IReassignableOpenTD.AcEllipseOpenTD.ArcOpenTD.CircleOpenTD.FloCAD.CompartmentOpenTD.FloCAD.RcCappmpDataOpenTD.FloCAD.RcFTieDataOpenTD.FloCAD.RcIFaceDataOpenTD.FloCAD.RcLumpDataOpenTD.FloCAD.RcPathDataOpenTD.FloCAD.RcPortDataOpenTD.FloCAD.RcTieDataOpenTD.HelixOpenTD.LineDataOpenTD.MeasureOpenTD.MeshDisplayerOpenTD.PolylineOpenTD.Polyline3dOpenTD.PressureLoadOpenTD.RadCAD.FEM.RcSolidElementOpenTD.RadCAD.FdSolid.RcFdSolidDataOpenTD.RadCAD.RcArticulatorDataOpenTD.RadCAD.RcEntityDataOpenTD.RcConductorDataOpenTD.RcConnDataOpenTD.RcHeatLoadDataOpenTD.RcHeaterDataOpenTD.RcNodeDataOpenTD.SplineOpenTD.TdTextData

Public Member Functions

 TdDbEntityData ()
 
void SetFrom (TdDbEntityData x)
 
 TdDbEntityData (string _Handle)
 
override string ToString ()
 
void SetFrom (DbObject x)
 
void SetFrom (OpenTDObject x)
 
override void Update ()
 Updates the TD entity with the latest client data.
 
override void UpdateFromTD ()
 Updates the client-side instance with the latest data from the TD entity.
 
override void CreateIn (ThermalDesktop td)
 Creates the TD entity in the specified TD instance.
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
void UpdateIn (ThermalDesktop td)
 Updates the TD entity corresponding to this object in the specified TD instance, if possible.
 

Static Public Member Functions

static bool operator== (DbObject first, DbObject second)
 
static bool operator!= (DbObject first, DbObject second)
 

Protected Member Functions

string ToString (string Submodel, string Id, string Comment)
 
string ToString (string Submodel, int Id, string Comment)
 

Protected Attributes

ITdCommander TdProxy
 

Properties

string Layer [get, set]
 
int ColorIndex [get, set]
 Specifies a color. See the AutoCAD Layer Properties Manager for valid values.
 
string Handle [get, set]
 
string TypeName [get, set]
 

Detailed Description

Base class for objects sorted on AutoCAD layers.

See also
OpenTD.DbObject

Constructor & Destructor Documentation

◆ TdDbEntityData() [1/2]

OpenTD.TdDbEntityData.TdDbEntityData ( )
inline

◆ TdDbEntityData() [2/2]

OpenTD.TdDbEntityData.TdDbEntityData ( string _Handle)
inline

Member Function Documentation

◆ CreateIn()

override void OpenTD.DbObject.CreateIn ( ThermalDesktop td)
inlineinherited

Creates the TD entity in the specified TD instance.

Implements OpenTD.IReassignable.

◆ Equals()

override bool OpenTD.DbObject.Equals ( object obj)
inlineinherited

◆ GetHashCode()

override int OpenTD.DbObject.GetHashCode ( )
inlineinherited

◆ operator!=()

static bool OpenTD.DbObject.operator!= ( DbObject first,
DbObject second )
inlinestaticinherited

◆ operator==()

static bool OpenTD.DbObject.operator== ( DbObject first,
DbObject second )
inlinestaticinherited

◆ SetFrom() [1/3]

void OpenTD.DbObject.SetFrom ( DbObject x)
inlineinherited

◆ SetFrom() [2/3]

void OpenTD.OpenTDObject.SetFrom ( OpenTDObject x)
inlineinherited

◆ SetFrom() [3/3]

void OpenTD.TdDbEntityData.SetFrom ( TdDbEntityData x)
inline

◆ ToString() [1/3]

override string OpenTD.TdDbEntityData.ToString ( )
inline

◆ ToString() [2/3]

string OpenTD.TdDbEntityData.ToString ( string Submodel,
int Id,
string Comment )
inlineprotected

◆ ToString() [3/3]

string OpenTD.TdDbEntityData.ToString ( string Submodel,
string Id,
string Comment )
inlineprotected

◆ Update()

override void OpenTD.DbObject.Update ( )
inlineinherited

Updates the TD entity with the latest client data.

Implements OpenTD.IUpdatable.

◆ UpdateFromTD()

override void OpenTD.DbObject.UpdateFromTD ( )
inlineinherited

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

Implements OpenTD.IUpdatable.

◆ UpdateIn()

void OpenTD.OpenTDObject.UpdateIn ( ThermalDesktop td)
inlineinherited

Updates the TD entity corresponding to this object in the specified TD instance, if possible.

Implements OpenTD.IReassignable.

Member Data Documentation

◆ TdProxy

ITdCommander OpenTD.OpenTDObject.TdProxy
protectedinherited

Property Documentation

◆ ColorIndex

int OpenTD.TdDbEntityData.ColorIndex
getset

Specifies a color. See the AutoCAD Layer Properties Manager for valid values.

◆ Handle

string OpenTD.DbObject.Handle
getsetinherited

◆ Layer

string OpenTD.TdDbEntityData.Layer
getset

◆ TypeName

string OpenTD.DbObject.TypeName
getsetinherited

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

Connect with Ansys