CAD Programming Interface

Sunday, May 17, 2009

Before sending any application developed with Pro/Toolkit, it has to be unlocked.Unlocked application enables users to run it without Pro/Toolkit license.

Users without Pro/Toolkit license may get errors in startup of application, if the application is not unlocked.

"The Pro/TOOLKIT application "PTKApp" was not unlocked before distribution to your site.

Please contact the provider of "PTKApp" for assistance."

Unlocking application for distribution:

Firstly make sure if a valid Pro/Toolkit Development license is available.Start Pro/Engineer setup using <Pro/Engineer Installation>\bin\ptcsetup.bat.FLEXnet License Servers page should show Pro/Toolkit license available.Click on Exit button to exit setup.

Use protk_unlock.bat for unlocking, which can be found in <Pro/Engineer Installation>\bin\. protk_unlock.bat accepts paths to multiple exe or dll files to be unlocked.For example, on command prompt protk_unlock.bat can be used as:<Pro/Engineer Installation>\bin\protk_unlock "<Folder>\PTKApplication.dll"

For Pro/Toolkit application development, unlocking of files can be avoided using following steps: