Add a region to the Motor-CAD geometry with an x, y coordinate system.
If a region already exists, this method overwrites the existing region.
- Parameters:
- x
float
Region position for the x coordinate.
- y
float
Region position for the y coordinate.
- region_name
str
Name of the region.
- .. deprecated:: 0.6.0
add_region_xy will be removed with Motor-CAD 2025R2 (tentative).
Functionality replaced by adaptive templates.