replace#

Region.replace(replacement_region)#

Replace self with another region.

This method replaces region entities with entities from the replacement region object, such as an imported DXF region.

Parameters:
replacement_regionansys.motorcad.core.geometry.Region

Motor-CAD region object whose entities are to replace those of the existing region.