ansys/pymotorcad

Adaptive template display issue: Cooper is displayed as Air or Fluid

Opened this issue ยท 0 comments

๐Ÿ” Before submitting the issue

  • I have searched among the existing issues
  • I am using a Python virtual environment

๐Ÿž Description of the bug

I used adaptive template. I modified coil region.
Though The result is calculated by copper, the coil region is displayed as air in the geometry view.

๐Ÿ“ Steps to reproduce

Modify the coil region by

Define new Armature region

NAR = mcApp.get_region("ArmatureSlotR1")
NAR.entities.clear()

NAR.name = NAR_name

NAR.material = "Copper(Pure)"
NAR.duplications = number_loop

and make points and line. then add entity to the model

๐Ÿ’ป Which operating system are you using?

Windows

๐Ÿ“€ Which ANSYS version are you using?

Motor-CAD 24R1.3
PyMotorCAD version: 0.4.3

๐Ÿ Which Python version are you using?

3.9

๐Ÿ“ฆ Installed packages

No package
I used Motor-CAD scripting tab