> ## 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.MaterialStackData Class Reference

\<exclude >

Inheritance diagram for OpenTD.MaterialStackData:

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

## Public Member Functions

| Type | Name |
| - | - |
| | [MaterialStackData](#adaf34a2077e481bfc14fac31f05828e3) () |
| override void | [Update](#a9b8c9db97d51b75229a14c4c579572f0) () Updates the TD entity with the latest client data. |
| override void | [UpdateFromTD](#a820aeeec9a16b6ec61a27a22659720e9) () Updates the client-side instance with the latest data from the TD entity. |
| override void | [CreateIn](#a1a2cb97ce4630893320c0bb072557e46) ([ThermalDesktop](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_thermal_desktop.md) td) Creates the TD entity in the specified TD instance. |
| virtual void | [Rename](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_unique_name_object.md#ab83691a4d2f3bd34519f9372cfc73951) (string to) Use this method to rename the client-side object and the TD item it is linked to. |
| override string | [ToString](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_unique_name_object.md#af373d173d2d75fd2b4c6edb8ee4165b2) () |
| void | [SetFrom](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_open_t_d_object.md#aa2e0aa2793e95a56891ef59fb4843ca2) ([OpenTDObject](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_open_t_d_object.md) x) |
| void | [UpdateIn](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_open_t_d_object.md#a1e5228ce309c9a85ec09e8119318024d) ([ThermalDesktop](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_thermal_desktop.md) td) Updates the TD entity corresponding to this object in the specified TD instance, if possible. |

## Protected Member Functions

| Type | Name |
| - | - |
| override void | [ProxyRename](#a0f2ff397d309e08b18f5306569ff40e2) (string from, string to) |
| virtual string | [ModifyName](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_unique_name_object.md#a1343e99cd573893ee16d36c337fde7b1) (string name) |

## Protected Attributes

| Type | Name |
| - | - |
| [ITdCommander](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/interface_open_t_d_1_1_internal_1_1_communication_1_1_i_td_commander.md) | [TdProxy](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_open_t_d_object.md#a0da16592e6b635ca0def27b355d669b3) |

## Properties

| Type | Name |
| - | - |
| string | [Comment](#a93da4e1189a5dfba7825077c21f89a56)`[get, set]` |
| List\< [MaterialStackLayerData](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_material_stack_layer_data.md) > | [Layers](#ad72839a5fa60c97f91991c9265afaaa1)`[get, set]` |
| int | [GenerateLateralConductors](#a2b57c6858159ba85a3957283292edff2)`[get, set]` |
| string | [Name](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_unique_name_object.md#a81ee04aec6314a6dd404826b41564162)`[get]` This object is uniquely-identified by this name. |
| string | [\_n](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_unique_name_object.md#a4546becfb33773b2b9d0ae2264c9dd2d)`[get, set]` Do not use. |

## Detailed Description

\<exclude >

## Constructor & Destructor Documentation

### MaterialStackData()

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

`inline`

## Member Function Documentation

### CreateIn()

```csharp theme={null}
override void OpenTD.MaterialStackData.CreateIn(ThermalDesktop td)
```

`inline`

Creates the TD entity in the specified TD instance.

Implements [OpenTD.IReassignable](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/interface_open_t_d_1_1_i_reassignable.md#a94cbc52d002a10e44f5dc2daaf9c87db).

### ModifyName()

```csharp theme={null}
virtual string OpenTD.UniqueNameObject.ModifyName(string name)
```

`inline` `protected` `virtual` `inherited`

Reimplemented in [OpenTD.SubmodelData](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_submodel_data.md#a607b0ad2b1e47186137ea8149940f481).

### ProxyRename()

```csharp theme={null}
override void OpenTD.MaterialStackData.ProxyRename(
    string from,
    string to
)
```

`inline` `protected`

### Rename()

```csharp theme={null}
virtual void OpenTD.UniqueNameObject.Rename(string to)
```

`inline` `virtual` `inherited`

Use this method to rename the client-side object and the TD item it is linked to.

### SetFrom()

```csharp theme={null}
void OpenTD.OpenTDObject.SetFrom(OpenTDObject x)
```

`inline` `inherited`

### ToString()

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

`inline` `inherited`

### Update()

```csharp theme={null}
override void OpenTD.MaterialStackData.Update()
```

`inline`

Updates the TD entity with the latest client data.

Implements [OpenTD.IUpdatable](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/interface_open_t_d_1_1_i_updatable.md#a162ef7c717f51047a1d45c7df4282470).

### UpdateFromTD()

```csharp theme={null}
override void OpenTD.MaterialStackData.UpdateFromTD()
```

`inline`

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

Implements [OpenTD.IUpdatable](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/interface_open_t_d_1_1_i_updatable.md#a47f3096415cfb5694fd822df8a1eceb0).

### UpdateIn()

```csharp theme={null}
void OpenTD.OpenTDObject.UpdateIn(ThermalDesktop td)
```

`inline` `inherited`

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

Implements [OpenTD.IReassignable](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/interface_open_t_d_1_1_i_reassignable.md#a90dffde7dd442e9d940f9e5c5fabde14).

## Member Data Documentation

### TdProxy

```csharp theme={null}
ITdCommander OpenTD.OpenTDObject.TdProxy
```

`protected` `inherited`

## Property Documentation

### \_n

```csharp theme={null}
string OpenTD.UniqueNameObject._n
```

`get` `set` `inherited`

Do not use.

### Comment

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

`get` `set`

### GenerateLateralConductors

```csharp theme={null}
int OpenTD.MaterialStackData.GenerateLateralConductors
```

`get` `set`

### Layers

```csharp theme={null}
List< MaterialStackLayerData > OpenTD.MaterialStackData.Layers
```

`get` `set`

### Name

```csharp theme={null}
string OpenTD.UniqueNameObject.Name
```

`get` `inherited`

This object is uniquely-identified by this name.

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

* C:/Users/mgarrett/source/repos/BuildsTdSuite/builds/TDDEV\_ALPHA/buildXX/OpenTD/**MaterialStack.cs**
