> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenTD.ExpressionData Class Reference

Data describing a TD expression.

Inheritance diagram for OpenTD.ExpressionData:

![](https://mintcdn.com/synopsys-00a47cbc/Srh1_f--TdKCLyqD/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_expression_data.png?fit=max\&auto=format\&n=Srh1_f--TdKCLyqD\&q=85\&s=25bb0707d89b211d1a46f6f30175d038)

## Public Member Functions

| Type | Name |
| - | - |
| | [ExpressionData](#a30f43bb2112861c2af55dac747626045) () Initializes a new instance of the [ExpressionData](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_expression_data.md) class. |
| | [ExpressionData](#a92b9be7f3b2194ef1250c6344504cf04) (string expression) Initializes a new instance of the [ExpressionData](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_expression_data.md) class. |
| | [ExpressionData](#ac0dd18fbac6350f4d242ce9bf8ab58c8) (string expression, [UnitsData](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_units_data.md) expressionUnits) Initializes a new instance of the [ExpressionData](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_expression_data.md) class. |
| | [ExpressionData](#ab9aa4176536136f91b99695862bdfd22) ([ExpressionData](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_expression_data.md) x) |
| override string | [ToString](#a69fea6b34343ffec3dcd75a5b7db6ee1) () |

## Static Public Member Functions

| Type | Name |
| - | - |
| static implicit | [operator string](#a5716d4965faacf8b38f1521a6e70b05c) ([ExpressionData](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_expression_data.md) x) |

## Properties

| Type | Name |
| - | - |
| [UnitsData.UnitsType](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_units_data.md#a8ef90b9a88e34fdf1acefcff4e8d4508) | [unitsType](#afcee9c31bee2fafbb116168bca5fb2f3)`[get, set]` |
| [UnitsData](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_units_data.md) | [units](#a3d01330f540f66ec82006e89e2d8a7a1)`[get, set]` ExpressionDatas contain their own unit system, independent of the dwg units or [OpenTD](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/namespace_open_t_d) WorkingUnits. This unit system defaults to the WorkingUnits but can be changed. |
| bool | [OutputToSinda](#ab860639853a72fc0f16d4f9d4d2469b8)`[get, set]` |
| bool | [ExpressionInSindaUnits](#a7dafa947af3161dac16a376dfa5340d7)`[get, set]` |
| bool | [DisableWarnings](#a0843788a4c8e21c842d815df25142478)`[get, set]` |
| string | [Comment](#ae67f64ec0cc6ebd9057b4677154b7e46)`[get, set]` |
| string | [Value](#aa8a5478e375585849be2b9acda060401)`[get, set]` |

## Detailed Description

Data describing a TD expression.

## Constructor & Destructor Documentation

### ExpressionData() \[1/4]

```csharp theme={null}
OpenTD.ExpressionData.ExpressionData()
```

`inline`

Initializes a new instance of the [ExpressionData](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_expression_data.md) class.

### ExpressionData() \[2/4]

```csharp theme={null}
OpenTD.ExpressionData.ExpressionData(string expression)
```

`inline`

Initializes a new instance of the [ExpressionData](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_expression_data.md) class.

**Parameters**

| Name | Description |
| - | - |
| expression | The expression. |

### ExpressionData() \[3/4]

```csharp theme={null}
OpenTD.ExpressionData.ExpressionData(
    string expression,
    UnitsData expressionUnits
)
```

`inline`

Initializes a new instance of the [ExpressionData](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_expression_data.md) class.

**Parameters**

| Name | Description |
| - | - |
| expression | The expression. |
| expressionUnits | The expression units. |

### ExpressionData() \[4/4]

```csharp theme={null}
OpenTD.ExpressionData.ExpressionData(ExpressionData x)
```

`inline`

## Member Function Documentation

### operator string()

```csharp theme={null}
static implicit OpenTD.ExpressionData.operator string(ExpressionData x)
```

`inline` `static`

### ToString()

```csharp theme={null}
override string OpenTD.ExpressionData.ToString()
```

`inline`

## Property Documentation

### Comment

```csharp theme={null}
string OpenTD.ExpressionData.Comment
```

`get` `set`

### DisableWarnings

```csharp theme={null}
bool OpenTD.ExpressionData.DisableWarnings
```

`get` `set`

### ExpressionInSindaUnits

```csharp theme={null}
bool OpenTD.ExpressionData.ExpressionInSindaUnits
```

`get` `set`

### OutputToSinda

```csharp theme={null}
bool OpenTD.ExpressionData.OutputToSinda
```

`get` `set`

### units

```csharp theme={null}
UnitsData OpenTD.ExpressionData.units
```

`get` `set`

ExpressionDatas contain their own unit system, independent of the dwg units or [OpenTD](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/namespace_open_t_d) WorkingUnits. This unit system defaults to the WorkingUnits but can be changed.

### unitsType

```csharp theme={null}
UnitsData.UnitsType OpenTD.ExpressionData.unitsType
```

`get` `set`

### Value

```csharp theme={null}
string OpenTD.ExpressionData.Value
```

`get` `set`

The documentation for this class was generated from the following file:

* C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/OpenTD/OpenTD/**ExpressionData.cs**
