delete_regions#

MotorCAD.delete_regions(region_name)#

Delete a comma-separated list of named regions or all regions.

Parameters:
region_name: list

List of names for the regions to delete. If the list is empty, all regions are deleted. If the name of a region to delete contains a space, enclose the name in double quotation marks. For example, "Rotor Pocket".

.. deprecated:: 0.6.0

delete_regions will be removed with Motor-CAD 2025R2 (tentative). Functionality replaced by adaptive templates.