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

Client-side representation of an AutoCAD [Polyline](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_polyline.md) (3dPoly) entity in a TD instance.

Inheritance diagram for OpenTD.Polyline3d:

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

## Public Member Functions

| Type | Name |
| - | - |
| | [Polyline3d](#abeacb4805a5c4f25e5637e9a5d00cf00) () |
| override void | [Update](#a59e3d978f11c0c58b6f144a00db6375c) () Updates the TD entity with the latest client data. |
| override void | [CreateIn](#adf9d02ecd2fafb5bb24d01165187533a) ([ThermalDesktop](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md) td) Creates the TD entity in the specified TD instance. |
| void | [SetFrom](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_td_db_entity_data.md#abf5b57b46dd355b945d17eca954fe173) ([TdDbEntityData](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_td_db_entity_data.md) x) |
| void | [SetFrom](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_db_object.md#a595c3f7ce20889de96e2adf759fb4c2c) ([DbObject](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_db_object.md) x) |
| void | [SetFrom](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_open_t_d_object.md#aa2e0aa2793e95a56891ef59fb4843ca2) ([OpenTDObject](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_open_t_d_object.md) x) |
| override string | [ToString](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_td_db_entity_data.md#a46aa7decbbbda0df648389d237df11e1) () |
| override void | [UpdateFromTD](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_db_object.md#a0d02db5bdd966c2ec9f83d3f07c4a6e8) () Updates the client-side instance with the latest data from the TD entity. |
| override bool | [Equals](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_db_object.md#a07cda25341543659c639e815879e5e38) (object obj) |
| override int | [GetHashCode](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_db_object.md#a10d2aadcea2f0c8dbdd597c71cd1f7ad) () |
| void | [UpdateIn](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_open_t_d_object.md#a1e5228ce309c9a85ec09e8119318024d) ([ThermalDesktop](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-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. |

## Static Public Member Functions

| Type | Name |
| - | - |
| static bool | [operator==](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_db_object.md#adc17b71dfa209f83a3a1730c95a032a6) ([DbObject](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_db_object.md) first, [DbObject](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_db_object.md) second) |
| static bool | [operator!=](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_db_object.md#ae362d2d78aad41f0cec5dcc3c345b33d) ([DbObject](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_db_object.md) first, [DbObject](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_db_object.md) second) |

## Protected Member Functions

| Type | Name |
| - | - |
| string | [ToString](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_td_db_entity_data.md#ab07a5432adb933ee336d5e01c9bbed94) (string [Submodel](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_submodel.md), string Id, string Comment) |
| string | [ToString](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_td_db_entity_data.md#a96616691bb090a4b73f12d23f76a1a76) (string [Submodel](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_submodel.md), int Id, string Comment) |

## Protected Attributes

| Type | Name |
| - | - |
| [ITdCommander](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-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-net8-reference/class_open_t_d_1_1_open_t_d_object.md#a0da16592e6b635ca0def27b355d669b3) |

## Properties

| Type | Name |
| - | - |
| List\< [Point3d](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_point3d.md) > | [Vertices](#a05b19cb68cccc1d8e07d14f3c75782f8)`[get, set]` 3-D points defining the [Polyline3d](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_polyline3d.md). |
| bool | [Closed](#a4c882fef8cfa949d624b4afebbbae6b1)`[get, set]` Gets or sets a value indicating whether this [Polyline3d](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_polyline3d.md) is a closed curve. |
| string | [Layer](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_td_db_entity_data.md#a41b404d510f026f172463d453c74c112)`[get, set]` |
| int | [ColorIndex](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_td_db_entity_data.md#ae76026f8ee74723b4fea0623eb0c4cf4)`[get, set]` Specifies a color. See the AutoCAD [Layer](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_layer.md) Properties Manager for valid values. |
| string | [Handle](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_db_object.md#a64061b4cada0773c01f886b2670ab156)`[get, set]` |
| string | [TypeName](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_db_object.md#ab9ed363a260a75e71e606e61d3f86352)`[get, set]` |

## Detailed Description

Client-side representation of an AutoCAD [Polyline](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_polyline.md) (3dPoly) entity in a TD instance.

**See also**

[OpenTD.ThermalDesktop](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_thermal_desktop.md)

## Constructor & Destructor Documentation

### Polyline3d()

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

`inline`

## Member Function Documentation

### CreateIn()

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

`inline`

Creates the TD entity in the specified TD instance.

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

### Equals()

```csharp theme={null}
override bool OpenTD.DbObject.Equals(object obj)
```

`inline` `inherited`

### GetHashCode()

```csharp theme={null}
override int OpenTD.DbObject.GetHashCode()
```

`inline` `inherited`

### operator!=()

```csharp theme={null}
static bool OpenTD.DbObject.operator!=(
    DbObject first,
    DbObject second
)
```

`inline` `static` `inherited`

### operator==()

```csharp theme={null}
static bool OpenTD.DbObject.operator==(
    DbObject first,
    DbObject second
)
```

`inline` `static` `inherited`

### SetFrom() \[1/3]

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

`inline` `inherited`

### SetFrom() \[2/3]

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

`inline` `inherited`

### SetFrom() \[3/3]

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

`inline` `inherited`

### ToString() \[1/3]

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

`inline` `inherited`

### ToString() \[2/3]

```csharp theme={null}
string OpenTD.TdDbEntityData.ToString(
    string Submodel,
    int Id,
    string Comment
)
```

`inline` `protected` `inherited`

### ToString() \[3/3]

```csharp theme={null}
string OpenTD.TdDbEntityData.ToString(
    string Submodel,
    string Id,
    string Comment
)
```

`inline` `protected` `inherited`

### Update()

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

`inline`

Updates the TD entity with the latest client data.

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

### UpdateFromTD()

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

`inline` `inherited`

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

Implements [OpenTD.IUpdatable](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-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-net8-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

### Closed

```csharp theme={null}
bool OpenTD.Polyline3d.Closed
```

`get` `set`

Gets or sets a value indicating whether this [Polyline3d](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_polyline3d.md) is a closed curve.

### ColorIndex

```csharp theme={null}
int OpenTD.TdDbEntityData.ColorIndex
```

`get` `set` `inherited`

Specifies a color. See the AutoCAD [Layer](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_layer.md) Properties Manager for valid values.

### Handle

```csharp theme={null}
string OpenTD.DbObject.Handle
```

`get` `set` `inherited`

### Layer

```csharp theme={null}
string OpenTD.TdDbEntityData.Layer
```

`get` `set` `inherited`

### TypeName

```csharp theme={null}
string OpenTD.DbObject.TypeName
```

`get` `set` `inherited`

### Vertices

```csharp theme={null}
List< Point3d > OpenTD.Polyline3d.Vertices
```

`get` `set`

3-D points defining the [Polyline3d](https://developer.synopsys.com/docs/thermal-desktop/opentd-net8-reference/class_open_t_d_1_1_polyline3d.md).

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

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