Skip to main content

OpenTD .NET4 reference 2025 R2

OpenTD.DbObject Class Reference

Last update: 16.07.2025

Base class for objects stored in the AutoCAD database and uniquely-identified by AutoCAD handles. More...

Inheritance diagram for OpenTD.DbObject:
OpenTD.OpenTDObjectOpenTD.IUpdatableOpenTD.IReassignableOpenTD.RadCAD.OrbitOpenTD.TdDbEntityDataOpenTD.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

 DbObject ()
 
void SetFrom (DbObject x)
 
 DbObject (string _Handle)
 
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 SetFrom (OpenTDObject x)
 
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 Attributes

ITdCommander TdProxy
 

Properties

string Handle [get, set]
 
string TypeName [get, set]
 

Detailed Description

Base class for objects stored in the AutoCAD database and uniquely-identified by AutoCAD handles.

Constructor & Destructor Documentation

◆ DbObject() [1/2]

OpenTD.DbObject.DbObject ( )
inline

◆ DbObject() [2/2]

OpenTD.DbObject.DbObject ( string _Handle)
inline

Member Function Documentation

◆ CreateIn()

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

Creates the TD entity in the specified TD instance.

Implements OpenTD.IReassignable.

◆ Equals()

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

◆ GetHashCode()

override int OpenTD.DbObject.GetHashCode ( )
inline

◆ operator!=()

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

◆ operator==()

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

◆ SetFrom() [1/2]

void OpenTD.DbObject.SetFrom ( DbObject x)
inline

◆ SetFrom() [2/2]

void OpenTD.OpenTDObject.SetFrom ( OpenTDObject x)
inlineinherited

◆ Update()

override void OpenTD.DbObject.Update ( )
inline

Updates the TD entity with the latest client data.

Implements OpenTD.IUpdatable.

◆ UpdateFromTD()

override void OpenTD.DbObject.UpdateFromTD ( )
inline

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

◆ Handle

string OpenTD.DbObject.Handle
getset

◆ TypeName

string OpenTD.DbObject.TypeName
getset

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

Connect with Ansys