Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Checking License Status through API

#1
Is there a way to check if the License has expired or is about to expire through the API?
#2
Hi,

You can use License().
https://robodk.com/doc/en/PythonAPI/robo...nk.License

from robodk import robolink # RoboDK API
from robodk import robomath # Robot toolbox
RDK = robolink.Robolink()
print(RDK.License())

If a professional is activated in my pc:
your License type is returned.
('Professional (RoboDK)', 'SomeString')
('Educational (Chris Chung)', 'SomeString')

if a license with problems:
'No license' is returned.

('No license', 'SomeString')

I hope it can help you.
  




Users browsing this thread:
1 Guest(s)