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
  • Geometry drawing
    • draw_objects
    • draw_objects_debug
  • Geometry shapes
  • Geometry fitting
  • PyAnsys
  • API reference
  • Geometry drawing

Geometry drawing#

Geometry drawing functions are used to visualise Motor-CAD geometry objects using PyMotorCAD. More information on Adaptive Templates is available in the User guide under Motor-CAD adaptive templates scripting.

draw_objects(objects)

Draw geometry objects on a plot.

draw_objects_debug(objects)

Draw regions on plot if not being run in Motor-CAD.

  • Show Source

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

Created using Sphinx 8.1.3.

Built with the Ansys Sphinx Theme 1.2.7.
Last updated on