Skip to main content

OpenTD reference 2026 R1

Class OpenTDObject

Last update: 09.03.2026

Namespace: OpenTD
Assembly: OpenTD.dll

Base class for client-side objects linked to entities in a TD instance.

[Union(0, typeof(CaseSetData))]
[Union(1, typeof(DbObject))]
[Union(2, typeof(Layer))]
[Union(3, typeof(LogicObject))]
[Union(4, typeof(MeasureMappingTolerances))]
[Union(5, typeof(Notes))]
[Union(6, typeof(UniqueNameObject))]
public abstract class OpenTDObject : IUpdatable

Inheritance

object ← OpenTDObject

Derived

DbObject, LogicObject, MeasureMappingTolerances, UniqueNameObject

Implements

IUpdatable

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

OpenTDObject()

public OpenTDObject()

Fields

TdProxy

protected ITdCommander TdProxy

Field Value

ITdCommander

Methods

CreateIn(ThermalDesktop)

Creates the TD entity in the specified TD instance.

public abstract void CreateIn(ThermalDesktop td)

Parameters

td ThermalDesktop

SetFrom(OpenTDObject)

public void SetFrom(OpenTDObject x)

Parameters

x OpenTDObject

Update()

Updates the TD entity with the latest client data.

public abstract void Update()

UpdateFromTD()

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

public abstract void UpdateFromTD()

UpdateIn(ThermalDesktop)

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

public void UpdateIn(ThermalDesktop td)

Parameters

td ThermalDesktop

See Also

ThermalDesktop

Connect with Ansys