Check out/in Terra License on Module Load/Unload

To ensure a product license is checked out before loading a module and checked back in when finished with a module, create load/unload tools in the MicroStation CONNECT ribbon that call a batch file to check out/in the license before/after loading/unloading the module making use of the silent checkout capabilities of the Terra License Manager.

Custom Ribbon Tools to License and Load/Unload Terra Module
Example tool to checkout a license and load the TerraScan module

Key-in to checkout a license and load the module:

“! c:\terra64\license\CheckoutTScanLicense.bat; mdl l tscan”

, where CheckoutTScanLicense.bat is:

c:
cd C:\terra64\license\
license_manager 020 1 scan
exit

Key-in to unload the module and check in the license:

mdl u tscan; ! c:\terra64\license\CheckinTScanLicense.bat

, where CheckinTScanLicense.bat is:

c:
cd C:\terra64\license\
license_manager 020 0 scan
exit

Share

GeoCue Group Support

GeoCue Group Support has written 808 articles

Leave a Reply