Activate License Over API可打印版本 +- RoboDK Forum (//www.sinclairbody.com/forum) +-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN) +--- Forum: RoboDK API (//www.sinclairbody.com/forum/Forum-RoboDK-API) +--- Thread: Activate License Over API (/Thread-Activate-License-Over-API) |
Activate License Over API-rshanor-10-11-2022 Is this possible? This thread (//www.sinclairbody.com/forum/Thread-Licence-Deployment) seems to suggest it is possible but the following does not work.
Code:
link.AddFile("/path/to/License.rdklic")
Looks like AddFile works even if an invalid item is returned. 再保险:激活许可证/ API-Albert-10-12-2022 The method you mentioned should work (you get an invalid item returned because it does not create any item in your project). There are other ways to activate your license. The simplest may be through a command line option. Example:
Code:
C:/RoboDK/bin/RoboDK.exe -NOUI "path-to-rdilic-file.rdklic" -QUIT
More information here: //www.sinclairbody.com/lic-FAQ-advanced |