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

# Class Polyline

Namespace: [OpenTD](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD)\
Assembly: OpenTD.dll

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

```csharp theme={null}
[MessagePackObject(true)]
public class Polyline : TdDbEntityData, IUpdatable
```

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[OpenTDObject](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.OpenTDObject.md) ←
[DbObject](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.DbObject.md) ←
[TdDbEntityData](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.TdDbEntityData.md) ←
[Polyline](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.Polyline.md)

## Implements

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

## Inherited Members

[TdDbEntityData.SetFrom(TdDbEntityData)](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.TdDbEntityData.md#setfrom-tddbentitydata),
[TdDbEntityData.Layer](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.TdDbEntityData.md#layer),
[TdDbEntityData.ColorIndex](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.TdDbEntityData.md#colorindex),
[TdDbEntityData.ToString(string, string, string)](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.TdDbEntityData.md#tostring),
[TdDbEntityData.ToString(string, int, string)](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.TdDbEntityData.md#tostring),
[TdDbEntityData.ToString()](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.TdDbEntityData.md#tostring),
[DbObject.SetFrom(DbObject)](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.DbObject.md#setfrom-dbobject),
[DbObject.Update()](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.DbObject.md#update),
[DbObject.UpdateFromTD()](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.DbObject.md#updatefromtd),
[DbObject.CreateIn(ThermalDesktop)](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.DbObject.md#createin-thermaldesktop),
[DbObject.Handle](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.DbObject.md#handle),
[DbObject.TypeName](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.DbObject.md#typename),
[DbObject.Equals(object)](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.DbObject.md#equals-object),
[DbObject.GetHashCode()](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.DbObject.md#gethashcode),
[OpenTDObject.SetFrom(OpenTDObject)](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.OpenTDObject.md#setfrom-opentdobject),
[OpenTDObject.Update()](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.OpenTDObject.md#update),
[OpenTDObject.UpdateFromTD()](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.OpenTDObject.md#updatefromtd),
[OpenTDObject.UpdateIn(ThermalDesktop)](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.OpenTDObject.md#updatein-thermaldesktop),
[OpenTDObject.CreateIn(ThermalDesktop)](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.OpenTDObject.md#createin-thermaldesktop),
[OpenTDObject.TdProxy](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.OpenTDObject.md#tdproxy),
[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.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),
[object.ReferenceEquals(object?, object?)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Constructors

### Polyline()

```csharp theme={null}
public Polyline()
```

## Properties

### Closed

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

```csharp theme={null}
public bool Closed { get; set; }
```

#### Property Value

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

### Elevation

Distance from WCS origin to plane that contains polyline.

```csharp theme={null}
public Dimensional<ModelLength> Elevation { get; set; }
```

#### Property Value

[Dimensional](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.Dimension.Dimensional-1.md)\<[ModelLength](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.Dimension.ModelLength.md)>

### ExtrusionThickness

Extrusion thickness in the normal direction.

```csharp theme={null}
public Dimensional<ModelLength> ExtrusionThickness { get; set; }
```

#### Property Value

[Dimensional](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.Dimension.Dimensional-1.md)\<[ModelLength](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.Dimension.ModelLength.md)>

### Normal

Normal of the plane that contains the polyline.

```csharp theme={null}
public Vector3d Normal { get; set; }
```

#### Property Value

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

### Vertices

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.

```csharp theme={null}
public List<PolylineVertex> Vertices { get; set; }
```

#### Property Value

[List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)\<[PolylineVertex](https://developer.synopsys.com/docs/thermal-desktop/opentd-reference/net8-reference/OpenTD.PolylineVertex.md)>

## Methods

### CreateIn(ThermalDesktop)

Creates the TD entity in the specified TD instance.

```csharp theme={null}
public override void CreateIn(ThermalDesktop td)
```

#### Parameters

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

### Update()

Updates the TD entity with the latest client data.

```csharp theme={null}
public override void Update()
```

## See Also

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