Skip to main content
Back to top
Ctrl
+
K
Site Navigation
Getting started
User guide
API reference
Examples
Contribute
GitHub
Support
Site Navigation
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
draw_regions
Geometry shapes
PyAnsys
API reference
Geometry objects and functions
Line
is_horizontal
is_horizontal
#
property
Line.
is_horizontal
#
Check whether line is horizontal.
Returns
:
bool
On this page
Line.is_horizontal
Show Source