Skip to main content
Back to top
Ctrl
+
K
Getting started
User guide
API reference
Examples
Contribute
Ctrl
+
K
dev
dev
0.7 (stable)
0.6
0.5
Older versions
Light
Dark
System Settings
GitHub
Support
Ctrl
+
K
Getting started
User guide
API reference
Examples
Contribute
dev
dev
0.7 (stable)
0.6
0.5
Older versions
Light
Dark
System Settings
GitHub
Support
Section Navigation
MotorCAD API
MotorCADCompatibility API
Geometry objects and functions
Region
add_entity
add_point
collides
edit_point
find_entity_from_coordinates
from_coordinate_list
insert_entity
insert_polyline
is_closed
mirror
remove_entity
replace
rotate
round_corner
round_corners
subtract
translate
unite
update
area
centroid
child_names
children
colour
duplications
entities
lamination_type
linked_region
material
mesh_length
motorcad_instance
name
parent
parent_name
points
region_coordinate
region_type
singular
RegionMagnet
RegionType
Coordinate
Entity
EntityList
Line
Arc
get_entities_have_common_coordinate
xy_to_rt
rt_to_xy
Geometry drawing
Geometry shapes
Geometry fitting
PyAnsys
API reference
Geometry objects and functions
Region
centroid
centroid
#
property
Region.
centroid
#
Get the region centroid.
On this page
Region.centroid
Show Source