Hi-- I'm trying to find a way to identify an AutoCAD sessions license server (viz. Help -> Product Information -> License Server). We're on a multi-state WAN with 7 distributed lic. servers and I'm trying to find a way to write out a simple CDF file from ACADDOC. Our environment variable ADSK_LICENSE_FILE has seven componets, so any given AutoCAD session in any office can grab a license from any office. As far as I can tell there's no system variable or registry key that I can access except for: (setq LSRV (vl-registry-read "HKEY_CURRENT_USER\\SOFTWARE\\AUTODESK\\NETWORK SETUP IZARD\\AutoCAD\\" "AcadServerHostName")) and this only returns something on the system which created the deployments. Any help will be much appreiciated...
Hi, Try searching the registry for FlexLM. You may find something there. I'm looking at a omputer with a stand alone AutoCAD, but it has FlexLM licensng for another product. This product has a "HKLM\Software\FlexLM Licence Manager" key with references to the licence file. -- Regards, Laurie Comerford www.cadapps.com.au
Hi Laurie-- Great idea, hadn't thought of that one but all I can find is a LicensePath key. The value of which is the entire ADSK_LICENSE_FILE string (viz. @Server1;@server2 &c). Thanks for the idea though, if I figure it out i'll post something. CR