ansys / pymotorcad

https://motorcad.docs.pyansys.com
MIT License
15 stars 1 forks source link

Create some way to return a licence #280

Open itsToggle opened 5 months ago

itsToggle commented 5 months ago

📝 Description of the feature

I'm building a simulation queue management for MotorCAD, where multiple MotorCAD instances are running in parallel. If a new job comes in, an instance is picked and the jobs simulation commands are executed, starting with "upload_mot_file(...)". This command will check out a licence. After the simulation is done, I want the MotorCAD instance to go back to ideling without taking up any licences. This is currently not possible without having to quit and restart the instance, which is taking up unnecessary time.

There should be a "return_licence" method.

💡 Steps for implementing the feature

No response

🔗 Useful links and references

No response

jgsdavies commented 5 months ago

Hi @itsToggle. Just a couple of questions: