Autodesk License Management27 Oct, 2010 By: Robert Green
CAD Manager's Toolbox: This tip can help you manage license servers across multiple offices.
Reader Andrea Andreetti of DuctiSoft provided a great tip for managing multiple Autodesk license servers in various offices.
Find this key in the Windows registry:
"HKEY_LOCAL_MACHINE\SOFTWARE\FLEXlm License Manager\ADSKFLEX_LICENSE_FILE"
You can now enter your FLEXlm port number using this format:
"Port number @ IP address" of the server where the FLEXlm is installed. (example email@example.com)
But you can also put in several numbers for your branch offices such as:
firstname.lastname@example.org is your office in Halifax
email@example.com is your office in Ottawa
firstname.lastname@example.org is your office in Montreal
Which would look like this entered into the registry key:
email@example.com; firstname.lastname@example.org; email@example.com
The second server will take over if there are no more licenses available on the first one.
If you're familiar with AutoLISP, you can use the following code to achieve the same result:
(setq cadlic (vl-registry-read "HKEY_LOCAL_MACHINE\\SOFTWARE\\FLEXlm License Manager" "ADSKFLEX_LICENSE_FILE"))
(if (/= cadlic (setq iplic "firstname.lastname@example.org;email@example.com;firstname.lastname@example.org"))
(vl-registry-write "HKEY_LOCAL_MACHINE\\SOFTWARE\\FLEXlm License Manager" "ADSKFLEX_LICENSE_FILE" iplic))
Got a question or tip for the CAD Manager's Newsletter, like Andrea did? Send it to me at email@example.com. If I use your contribution in the newsletter, you'll receive a cool Cadalyst prize!
In her easy-to-follow, friendly style, long-time Cadalyst contributing editor and Autodesk Technical Evangelist Lynn Allen guides you through a new feature or time-saving trick in every episode of her popular AutoCAD video tips. Subscribe to the free Cadalyst Video Picks newsletter and we'll notify you every time a new video tip is published. All exclusively from Cadalyst!