add_region_xy#

MotorCAD.add_region_xy(x, y, region_name)#

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:
xfloat

Region position for the x coordinate.

yfloat

Region position for the y coordinate.

region_namestr

Name of the region.