TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: velasquez on June 30, 2011, 07:47:32 AM
-
In the Windows registry: HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\R18.1\ACAD-9001:409
AutoCAD 2011 is R18.1 Curver is 9001:409
Can anyone tell me these values for AutoCAD 2012?
Thanks
-
(vlax-product-key)
-
(vlax-product-key)
I forgot to say that I do not have AutoCAD 2012 installed.
-
HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\R18.2\ACAD-A001:409
-----------------------------------------------------------
Version Format Hex:Country
2004 R16.0 2001 : 409
2005 R16.1 3001 : 409
2006 R16.2 4001 : 409
2007 R17.0 5001 : 409
2008 R17.1 6001 : 409
2009 R17.2 7001 : 409
2010 R18.0 8001 : 409
2011 R18.1 9001 : 409
2012 R18.2 A001 : 409
-----------------------------------------------------
2013 ,no 2013 because it's doomsday :wink:
I am not sure it is right.
It doesn't matter, the above function will work on any machine, so if you want to write to that part of the registry, use:
(strcat "HKEY_LOCAL_MACHINE\\" (vlax-product-key) "\\" ...)
(vlax-product-key) Good way.
-
(vlax-product-key)
I forgot to say that I do not have AutoCAD 2012 installed.
It doesn't matter, the above function will work on any machine, so if you want to write to that part of the registry, use:
(strcat "HKEY_LOCAL_MACHINE\\" (vlax-product-key) "\\" ...)
-
Thanks for the replies.
Velasquez