Skip to main content

Mechanical scripting interface

StraightLineEdge

Last update: 14.01.2025

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

Bases: object

Representation of a straight line edge between to edge vertices.

Overview

Properties

Name Description
EndPoint A Point representing the end vertex of the edge.
IsRepresentation Check to see if there is a valid entity that this instance represents.
Length Length property.
ObjectId Get the ID of the represented entity.
StartPoint A Point representing the start vertex of an edge.

Property detail

property StraightLineEdge.EndPoint : Ansys.Mechanical.DataModel.ConstructionLines.Point | None

A Point representing the end vertex of the edge.

property StraightLineEdge.IsRepresentation : bool | None

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

property StraightLineEdge.Length : Ansys.Core.Units.Quantity | None

Length property.

property StraightLineEdge.ObjectId : int | None

Get the ID of the represented entity.

property StraightLineEdge.StartPoint : Ansys.Mechanical.DataModel.ConstructionLines.Point | None

A Point representing the start vertex of an edge.