    

 ## On this page

  

 

 # Class Measure

 Last update: 09.03.2026 

Namespace: [OpenTD](OpenTD.md)  
Assembly: OpenTD.dll

Client-side representation of a TD Measure object.

```csharp
[DataContract]
public class Measure : TdDbEntityData, IUpdatable

```

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [OpenTDObject](OpenTD.OpenTDObject.md) ← [DbObject](OpenTD.DbObject.md) ← [TdDbEntityData](OpenTD.TdDbEntityData.md) ← [Measure](OpenTD.Measure.md)

## Implements

[IUpdatable](OpenTD.IUpdatable.md)

## Inherited Members

[TdDbEntityData.SetFrom(TdDbEntityData)](OpenTD.TdDbEntityData.md#OpenTD_TdDbEntityData_SetFrom_OpenTD_TdDbEntityData_), [TdDbEntityData.Layer](OpenTD.TdDbEntityData.md#OpenTD_TdDbEntityData_Layer), [TdDbEntityData.ColorIndex](OpenTD.TdDbEntityData.md#OpenTD_TdDbEntityData_ColorIndex), [TdDbEntityData.ToString(string, string, string)](OpenTD.TdDbEntityData.md#OpenTD_TdDbEntityData_ToString_System_String_System_String_System_String_), [TdDbEntityData.ToString(string, int, string)](OpenTD.TdDbEntityData.md#OpenTD_TdDbEntityData_ToString_System_String_System_Int32_System_String_), [TdDbEntityData.ToString()](OpenTD.TdDbEntityData.md#OpenTD_TdDbEntityData_ToString), [DbObject.SetFrom(DbObject)](OpenTD.DbObject.md#OpenTD_DbObject_SetFrom_OpenTD_DbObject_), [DbObject.Update()](OpenTD.DbObject.md#OpenTD_DbObject_Update), [DbObject.UpdateFromTD()](OpenTD.DbObject.md#OpenTD_DbObject_UpdateFromTD), [DbObject.CreateIn(ThermalDesktop)](OpenTD.DbObject.md#OpenTD_DbObject_CreateIn_OpenTD_ThermalDesktop_), [DbObject.Handle](OpenTD.DbObject.md#OpenTD_DbObject_Handle), [DbObject.TypeName](OpenTD.DbObject.md#OpenTD_DbObject_TypeName), [DbObject.Equals(object)](OpenTD.DbObject.md#OpenTD_DbObject_Equals_System_Object_), [DbObject.GetHashCode()](OpenTD.DbObject.md#OpenTD_DbObject_GetHashCode), [OpenTDObject.SetFrom(OpenTDObject)](OpenTD.OpenTDObject.md#OpenTD_OpenTDObject_SetFrom_OpenTD_OpenTDObject_), [OpenTDObject.Update()](OpenTD.OpenTDObject.md#OpenTD_OpenTDObject_Update), [OpenTDObject.UpdateFromTD()](OpenTD.OpenTDObject.md#OpenTD_OpenTDObject_UpdateFromTD), [OpenTDObject.UpdateIn(ThermalDesktop)](OpenTD.OpenTDObject.md#OpenTD_OpenTDObject_UpdateIn_OpenTD_ThermalDesktop_), [OpenTDObject.CreateIn(ThermalDesktop)](OpenTD.OpenTDObject.md#OpenTD_OpenTDObject_CreateIn_OpenTD_ThermalDesktop_), [OpenTDObject.TdProxy](OpenTD.OpenTDObject.md#OpenTD_OpenTDObject_TdProxy), [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring), [object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)), [object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)), [object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals), [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode), [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype), [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

## Constructors

### Measure()

```csharp
public Measure()

```

## Properties

### AllowMappingToXrefDomain

```csharp
[DataMember]
public bool AllowMappingToXrefDomain { get; set; }

```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### Comment

```csharp
[DataMember]
public string Comment { get; set; }

```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### Cond

```csharp
[DataMember]
public Dimensional<Conductance> Cond { get; set; }

```

#### Property Value

[Dimensional](OpenTD.Dimension.Dimensional-1.md)&lt;[Conductance](OpenTD.Dimension.Conductance.md)&gt;

### CondExp

```csharp
[DataMember]
public ExpressionData CondExp { get; set; }

```

#### Property Value

[ExpressionData](OpenTD.ExpressionData.md)

### DrawName

```csharp
[DataMember]
public bool DrawName { get; set; }

```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### Enabled

```csharp
[DataMember]
public int Enabled { get; set; }

```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### EnabledExp

```csharp
[DataMember]
public ExpressionData EnabledExp { get; set; }

```

#### Property Value

[ExpressionData](OpenTD.ExpressionData.md)

### GroupName

```csharp
[DataMember]
public string GroupName { get; set; }

```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### MapOption

```csharp
[DataMember]
public int MapOption { get; set; }

```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### Name

```csharp
[DataMember]
public string Name { get; set; }

```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### NodeId

```csharp
[DataMember]
public int NodeId { get; set; }

```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### Origin

```csharp
[DataMember]
public Point3d Origin { get; set; }

```

#### Property Value

[Point3d](OpenTD.Point3d.md)

### OutputNode

```csharp
[DataMember]
public bool OutputNode { get; set; }

```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### OutputRegister

```csharp
[DataMember]
public bool OutputRegister { get; set; }

```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### RegisterName

```csharp
[DataMember]
public string RegisterName { get; set; }

```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### Size

```csharp
[DataMember]
public Dimensional<ModelLength> Size { get; set; }

```

#### Property Value

[Dimensional](OpenTD.Dimension.Dimensional-1.md)&lt;[ModelLength](OpenTD.Dimension.ModelLength.md)&gt;

### Submodel

```csharp
[DataMember]
public string Submodel { get; set; }

```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### ThermalMass

```csharp
[DataMember]
public Dimensional<ThermalMass> ThermalMass { get; set; }

```

#### Property Value

[Dimensional](OpenTD.Dimension.Dimensional-1.md)&lt;[ThermalMass](OpenTD.Dimension.ThermalMass.md)&gt;

### ThermalMassExp

```csharp
[DataMember]
public ExpressionData ThermalMassExp { get; set; }

```

#### Property Value

[ExpressionData](OpenTD.ExpressionData.md)

### UseContactAndMass

```csharp
[DataMember]
public bool UseContactAndMass { get; set; }

```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### UseMLI

```csharp
[DataMember]
public bool UseMLI { get; set; }

```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### ZAxis

```csharp
public DimensionlessVector3d ZAxis { get; set; }

```

#### Property Value

[DimensionlessVector3d](OpenTD.DimensionlessVector3d.md)

### \_ZAxis

Do not use.

```csharp
[DataMember]
public Vector3d _ZAxis { get; set; }

```

#### Property Value

[Vector3d](OpenTD.Vector3d.md)

## Methods

### CreateIn(ThermalDesktop)

Creates the TD entity in the specified TD instance.

```csharp
public override void CreateIn(ThermalDesktop td)

```

#### Parameters

`td` [ThermalDesktop](OpenTD.ThermalDesktop.md)

### Update()

Updates the TD entity with the latest client data.

```csharp
public override void Update()

```

### UpdateFromTD()

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

```csharp
public override void UpdateFromTD()

```