Skip to content

PyMotorCAD unable to launch new Motor-CAD instance #140

@jgsdavies

Description

@jgsdavies

🔍 Before submitting the issue

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

🐞 Description of the bug

When "Hide command Window" selected, PyMotorCAD can't launch new Motor-CAD.
image

The string in C:\Ansys_Motor-CAD\Shared Files\activex.bat changes format so _find_motor_cad_exe() in rpc_client_core.py fails to find the Motor-CAD exe. We need to handle this case.

📝 Steps to reproduce

  • Select "Hide command Window"
  • Ensure registered version is current version
  • Try launch Motor-CAD with pymotorcad.MotorCAD()

💻 Which operating system are you using?

Windows

📀 Which ANSYS version are you using?

No response

🐍 Which Python version are you using?

3.11

📦 Installed packages

N/A

Metadata

Metadata

Labels

bugSomething isn't workinggood first issueEasy to solve for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions