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

Client-side representation of an AutoCAD LWPolyline entity in a TD instance.

Inheritance diagram for OpenTD.Polyline:

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

## Public Member Functions

| Type | Name |
| - | - |
| | [Polyline](#a406f65b875581e54b2a33b2045ff27a1) () |
| override void | [Update](#a93fea92d49ee11732a1bc469a22f6b25) () Updates the TD entity with the latest client data. |
| override void | [CreateIn](#ab707153a481b3551914ed7d651b9ff6e) ([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. |
| void | [SetFrom](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_td_db_entity_data.md#abf5b57b46dd355b945d17eca954fe173) ([TdDbEntityData](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_td_db_entity_data.md) x) |
| void | [SetFrom](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_db_object.md#a595c3f7ce20889de96e2adf759fb4c2c) ([DbObject](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_db_object.md) x) |
| 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) |
| override string | [ToString](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_td_db_entity_data.md#a46aa7decbbbda0df648389d237df11e1) () |
| override void | [UpdateFromTD](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-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-net4-reference/class_open_t_d_1_1_db_object.md#a07cda25341543659c639e815879e5e38) (object obj) |
| override int | [GetHashCode](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_db_object.md#a10d2aadcea2f0c8dbdd597c71cd1f7ad) () |
| 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. |

## Static Public Member Functions

| Type | Name |
| - | - |
| static bool | [operator==](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_db_object.md#adc17b71dfa209f83a3a1730c95a032a6) ([DbObject](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_db_object.md) first, [DbObject](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_db_object.md) second) |
| static bool | [operator!=](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_db_object.md#ae362d2d78aad41f0cec5dcc3c345b33d) ([DbObject](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_db_object.md) first, [DbObject](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-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-net4-reference/class_open_t_d_1_1_td_db_entity_data.md#ab07a5432adb933ee336d5e01c9bbed94) (string [Submodel](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_submodel.md), string Id, string Comment) |
| string | [ToString](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_td_db_entity_data.md#a96616691bb090a4b73f12d23f76a1a76) (string [Submodel](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-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-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 |
| - | - |
| List\< [PolylineVertex](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_polyline_vertex.md) > | [Vertices](#a47f1731e751dbf73a87bc873235b0423)`[get, set]` 2-D points defining the polyline in a plane. Vertex properties affect the segment following a given vertex. For example, if the Bulge of vertex 3 is 1.0, then the segment from vertex 3 to 4 is a semi-circular arc. |
| bool | [Closed](#af13a27ade5d85c4c97d6fd569e5d0afe)`[get, set]` Gets or sets a value indicating whether this [Polyline](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_polyline.md) is a closed curve. |
| [Vector3d](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_vector3d.md) | [Normal](#a472cdf5853ec78c773459ef83fa1f45b)`[get, set]` Normal of the plane that contains the polyline. |
| Dimensional\< [ModelLength](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_dimension_1_1_model_length.md) > | [Elevation](#a2fd5290d59a614fbe2e1aa9a11a3d2d6)`[get, set]` Distance from WCS origin to plane that contains polyline. |
| Dimensional\< [ModelLength](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_dimension_1_1_model_length.md) > | [ExtrusionThickness](#a22bc3743c3c833b73addd391299b85b6)`[get, set]` Extrusion thickness in the normal direction. |
| string | [Layer](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-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-net4-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-net4-reference/class_open_t_d_1_1_layer.md) [Properties](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/namespace_open_t_d_1_1_properties.md) Manager for valid values. |
| string | [Handle](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_db_object.md#a64061b4cada0773c01f886b2670ab156)`[get, set]` |
| string | [TypeName](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_db_object.md#ab9ed363a260a75e71e606e61d3f86352)`[get, set]` |

## Detailed Description

Client-side representation of an AutoCAD LWPolyline entity in a TD instance.

**See also**

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

## Constructor & Destructor Documentation

### Polyline()

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

`inline`

## Member Function Documentation

### CreateIn()

```csharp theme={null}
override void OpenTD.Polyline.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).

### 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.Polyline.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.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-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

### Closed

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

`get` `set`

Gets or sets a value indicating whether this [Polyline](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/class_open_t_d_1_1_polyline.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-net4-reference/class_open_t_d_1_1_layer.md) [Properties](https://developer.synopsys.com/docs/thermal-desktop/opentd-net4-reference/namespace_open_t_d_1_1_properties.md) Manager for valid values.

### Elevation

```csharp theme={null}
Dimensional< ModelLength > OpenTD.Polyline.Elevation
```

`get` `set`

Distance from WCS origin to plane that contains polyline.

### ExtrusionThickness

```csharp theme={null}
Dimensional< ModelLength > OpenTD.Polyline.ExtrusionThickness
```

`get` `set`

Extrusion thickness in the normal direction.

### Handle

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

`get` `set` `inherited`

### Layer

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

`get` `set` `inherited`

### Normal

```csharp theme={null}
Vector3d OpenTD.Polyline.Normal
```

`get` `set`

Normal of the plane that contains the polyline.

### TypeName

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

`get` `set` `inherited`

### Vertices

```csharp theme={null}
List< PolylineVertex > OpenTD.Polyline.Vertices
```

`get` `set`

2-D points defining the polyline in a plane. Vertex properties affect the segment following a given vertex. For example, if the Bulge of vertex 3 is 1.0, then the segment from vertex 3 to 4 is a semi-circular arc.

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

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