Skip to main content

OpenTD reference 2026 R1

Class Polyline

Last update: 09.03.2026

Namespace: OpenTD
Assembly: OpenTD.dll

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

[DataContract]
public class Polyline : TdDbEntityData, IUpdatable

Inheritance

object ← OpenTDObject ← DbObject ← TdDbEntityData ← Polyline

Implements

IUpdatable

Inherited Members

TdDbEntityData.SetFrom(TdDbEntityData), TdDbEntityData.Layer, TdDbEntityData.ColorIndex, TdDbEntityData.ToString(string, string, string), TdDbEntityData.ToString(string, int, string), TdDbEntityData.ToString(), DbObject.SetFrom(DbObject), DbObject.Update(), DbObject.UpdateFromTD(), DbObject.CreateIn(ThermalDesktop), DbObject.Handle, DbObject.TypeName, DbObject.Equals(object), DbObject.GetHashCode(), OpenTDObject.SetFrom(OpenTDObject), OpenTDObject.Update(), OpenTDObject.UpdateFromTD(), OpenTDObject.UpdateIn(ThermalDesktop), OpenTDObject.CreateIn(ThermalDesktop), OpenTDObject.TdProxy, object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Constructors

Polyline()

public Polyline()

Properties

Closed

Gets or sets a value indicating whether this is a closed curve.

[DataMember]
public bool Closed { get; set; }

Property Value

bool

Elevation

Distance from WCS origin to plane that contains polyline.

[DataMember]
public Dimensional<ModelLength> Elevation { get; set; }

Property Value

Dimensional<ModelLength>

ExtrusionThickness

Extrusion thickness in the normal direction.

[DataMember]
public Dimensional<ModelLength> ExtrusionThickness { get; set; }

Property Value

Dimensional<ModelLength>

Normal

Normal of the plane that contains the polyline.

[DataMember]
public Vector3d Normal { get; set; }

Property Value

Vector3d

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.

[DataMember]
public List<PolylineVertex> Vertices { get; set; }

Property Value

List<PolylineVertex>

Methods

CreateIn(ThermalDesktop)

Creates the TD entity in the specified TD instance.

public override void CreateIn(ThermalDesktop td)

Parameters

td ThermalDesktop

Update()

Updates the TD entity with the latest client data.

public override void Update()

See Also

ThermalDesktop

Connect with Ansys