Skip to main content

OpenTD reference 2026 R1

Class TdDbEntityData

Last update: 09.03.2026

Namespace: OpenTD
Assembly: OpenTD.dll

Base class for objects sorted on AutoCAD layers.

[MessagePackObject(true)]
public class TdDbEntityData : DbObject, IUpdatable

Inheritance

object ← OpenTDObject ← DbObject ← TdDbEntityData

Derived

AcEllipse, Arc, Circle, Compartment, Helix, Measure, MeshDisplayer, Polyline, Polyline3d, PressureLoad, RcEntityData, RcFdSolidData, RcSolidElement, Spline

Implements

IUpdatable

Inherited Members

DbObject.SetFrom(DbObject), DbObject.Update(), DbObject.UpdateFromTD(), DbObject.CreateIn(ThermalDesktop), DbObject.Handle, DbObject.TypeName, DbObject.Equals(object), DbObject.GetHashCode(), OpenTDObject.SetFrom(OpenTDObject), OpenTDObject.Update(), OpenTDObject.UpdateFromTD(), OpenTDObject.UpdateIn(ThermalDesktop), OpenTDObject.CreateIn(ThermalDesktop), OpenTDObject.TdProxy, object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

TdDbEntityData()

public TdDbEntityData()

TdDbEntityData(string)

public TdDbEntityData(string _Handle)

Parameters

_Handle string

Properties

ColorIndex

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

public int ColorIndex { get; set; }

Property Value

int

Layer

public string Layer { get; set; }

Property Value

string

Methods

SetFrom(TdDbEntityData)

public void SetFrom(TdDbEntityData x)

Parameters

x TdDbEntityData

ToString(string, string, string)

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

Parameters

Submodel string

Id string

Comment string

Returns

string

ToString(string, int, string)

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

Parameters

Submodel string

Id int

Comment string

Returns

string

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

See Also

DbObject

Connect with Ansys