How to check and wait for Licences #1207
-
Hello, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Pinging @samigithub2022 |
Beta Was this translation helpful? Give feedback.
-
Hi @lstubbig , Currently if launch_mechanical is unable to grab license then printing pymechanical app will not show any thing in representation string, with license from ansys.mechanical.core import launch_mechanical
app=launch_mechanical()
print(app)
Without license
you can have a check in above to see if pymechanical app has obtained the license or not. The other way is , after app is created you can run Let me know if this helps, |
Beta Was this translation helpful? Give feedback.
Hi @lstubbig ,
Currently
launch_mechanical
will not wait for license. If there is no license available it wont take any. You can have a check in your workflow with below information.if launch_mechanical is unable to grab license then printing pymechanical app will not show any thing in representation string,
with license
Without license
you can have a check in above to see if pymechanical app has obtained the license or not.
T…