Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set_Region makes Motor-CAD UI hangs #278

Open
2 tasks done
ravi-ansys opened this issue Mar 13, 2024 · 2 comments
Open
2 tasks done

Set_Region makes Motor-CAD UI hangs #278

ravi-ansys opened this issue Mar 13, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@ravi-ansys
Copy link
Collaborator

🔍 Before submitting the issue

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

🐞 Description of the bug

A magnet region has been deleted and an duct has been place on it. When using set_region command Motor-CAD hangs.

📝 Steps to reproduce

with attached example, uncheck the last line
mc.set_region(this_duct).
Running it will hang the UI
e9_eMobility_IPM_User_delete_region.zip

💻 Which operating system are you using?

Windows

📀 Which ANSYS version are you using?

No response

🐍 Which Python version are you using?

3.10

📦 Installed packages

pymotorcad
@ravi-ansys ravi-ansys added the bug Something isn't working label Mar 13, 2024
@jgsdavies
Copy link
Collaborator

Hi @ravi-ansys. I think this has been fixed by @matthewAnsys. Can you please test and close this ticket if resolved

@ravi-ansys
Copy link
Collaborator Author

Hi @ravi-ansys. I think this has been fixed by @matthewAnsys. Can you please test and close this ticket if resolved

Hi @jgsdavies This issue happens when we don't provide/specify "name" of the region. I have tested this with 2024.0.20 with pymotorcad updated to latest version. The Motor-CAD UI still hangs. It would be good if some error message can popup reminding the user to specify name of the region.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants