Skip to main content
Ctrl+K
pymotorcad-core - Home pymotorcad-core - Home
  • Getting started
  • User guide
  • API reference
  • Examples
  • Contribute
Ctrl+K
  • GitHub
  • Support
Ctrl+K
  • Getting started
  • User guide
  • API reference
  • Examples
  • Contribute
  • GitHub
  • Support

Section Navigation

  • MotorCAD API
  • MotorCADCompatibility API
  • Geometry objects and functions
    • Region
    • RegionMagnet
      • 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
      • br_multiplier
      • br_used
      • br_value
      • br_x
      • br_y
      • child_names
      • children
      • lamination_type
      • linked_region
      • magnet_angle
      • magnet_polarity
      • motorcad_instance
      • parent
      • parent_name
      • points
      • region_type
      • singular
    • Coordinate
    • Entity
    • EntityList
    • Line
    • Arc
    • get_entities_have_common_coordinate
    • xy_to_rt
    • rt_to_xy
  • Geometry drawing
  • Geometry shapes
  • PyAnsys
  • API reference
  • Geometry objects and functions
  • RegionMagnet
  • subtract

subtract#

RegionMagnet.subtract(region)#

Subtract region from self, returning any additional regions.

Parameters:
regionansys.motorcad.core.geometry.Region

Motor-CAD region object

Returns:
list of ansys.motorcad.core.geometry.Region

list of Motor-CAD region object

On this page
  • RegionMagnet.subtract()
Show Source

© Copyright (c) 2024 ANSYS, Inc. All rights reserved.

Created using Sphinx 8.1.3.

Built with the Ansys Sphinx Theme 1.2.2.
Last updated on