    

 ## On this page

  

 

 # `StraightLineEdge`

 Last update: 09.03.2026 

<a id="ansys.mechanical.stubs.v251.Ansys.Mechanical.DataModel.ConstructionLines.Edges.StraightLineEdge"></a>

#### *class* Ansys.Mechanical.DataModel.ConstructionLines.Edges.StraightLineEdge

Bases: [`object`](https://docs.python.org/3/library/functions.html#object)

Representation of a straight line edge between to edge vertices.

<a id="overview"></a>

## Overview

### Properties

NameDescription[`EndPoint`](#StraightLineEdge.EndPoint)A Point representing the end vertex of the edge.[`IsRepresentation`](#StraightLineEdge.IsRepresentation)Check to see if there is a valid entity that this instance represents.[`Length`](#StraightLineEdge.Length)Length property.[`ObjectId`](#StraightLineEdge.ObjectId)Get the ID of the represented entity.[`StartPoint`](#StraightLineEdge.StartPoint)A Point representing the start vertex of an edge.<a id="property-detail"></a>

## Property detail

<a id="StraightLineEdge.EndPoint"></a>

### *property* StraightLineEdge.EndPoint *: [Ansys.Mechanical.DataModel.ConstructionLines.Point](../Point.md#ansys.mechanical.stubs.v251.Ansys.Mechanical.DataModel.ConstructionLines.Point) | [None](https://docs.python.org/3/library/constants.html#None)*

A Point representing the end vertex of the edge.

<a id="StraightLineEdge.IsRepresentation"></a>

### *property* StraightLineEdge.IsRepresentation *: [bool](https://docs.python.org/3/library/functions.html#bool) | [None](https://docs.python.org/3/library/constants.html#None)*

Check to see if there is a valid entity that this instance represents.

<a id="StraightLineEdge.Length"></a>

### *property* StraightLineEdge.Length *: Ansys.Core.Units.Quantity | [None](https://docs.python.org/3/library/constants.html#None)*

Length property.

<a id="StraightLineEdge.ObjectId"></a>

### *property* StraightLineEdge.ObjectId *: [int](https://docs.python.org/3/library/functions.html#int) | [None](https://docs.python.org/3/library/constants.html#None)*

Get the ID of the represented entity.

<a id="StraightLineEdge.StartPoint"></a>

### *property* StraightLineEdge.StartPoint *: [Ansys.Mechanical.DataModel.ConstructionLines.Point](../Point.md#ansys.mechanical.stubs.v251.Ansys.Mechanical.DataModel.ConstructionLines.Point) | [None](https://docs.python.org/3/library/constants.html#None)*

A Point representing the start vertex of an edge.