03-09-2023, 01:36 AM
Hi,
You can use License().
//www.sinclairbody.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.
You can use License().
//www.sinclairbody.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.