ansys/pymotorcad

Create some way to return a licence

Opened this issue ยท 2 comments

๐Ÿ“ 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

Hi @itsToggle. Just a couple of questions:

Closing as not planned