Skip to main content
Back to top
Ctrl
+
K
Getting started
User guide
API reference
Examples
Contribute
Ctrl
+
K
GitHub
Support
Ctrl
+
K
Getting started
User guide
API reference
Examples
Contribute
GitHub
Support
Section Navigation
MotorCAD API
MotorCADCompatibility API
Geometry objects and functions
Region
RegionMagnet
Coordinate
Entity
EntityList
Line
coordinate_on_entity
get_coordinate_from_distance
get_coordinate_from_percentage_distance
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
midpoint
midpoint
#
property
Line.
midpoint
#
Get midpoint of Line.
Returns
:
Coordinate
On this page
Line.midpoint
Show Source