Skip to main content
Back to top
Ctrl
+
K
Getting started
User guide
API reference
Examples
Contribute
Ctrl
+
K
Choose version
GitHub
Support
Ctrl
+
K
Getting started
User guide
API reference
Examples
Contribute
Choose version
GitHub
Support
Section Navigation
MotorCAD API
MotorCADCompatibility API
Geometry objects and functions
Region
RegionMagnet
Coordinate
Entity
EntityList
Line
coordinate_on_entity
get_arc_intersection
get_coordinate_from_distance
get_coordinate_from_percentage_distance
get_intersection
get_line_intersection
mirror
reverse
rotate
translate
angle
gradient
is_horizontal
is_vertical
length
midpoint
y_intercept
Arc
get_entities_have_common_coordinate
xy_to_rt
rt_to_xy
Geometry drawing
Geometry shapes
PyAnsys
API reference
Geometry objects and functions
Line
length
length
#
property
Line.
length
#
Get length of line.
Returns
:
float
Length of line
On this page
Line.length
Show Source