I created 2 dll's
One for autocad the other one for civil
I created another dll that loads using
Reflection.Assembly.LoadFrom("file")
the dlls into autocad at startup
I want to be able to detect if the productID is civil to be able to load the civil3d dll.
Can somebody tell me how to detect this?
Thanks
product variable for both autocad and civil3d has the same content:
PRODUCT = "AutoCAD" (read only)
I need something to be able to see if is civil3d or not.
Hi,
Oops, It seems you have to extract that info from the registry, this link may hel you: registry Product Info
Gaston Nunez
thanks this helped
I used
Autodesk.AutoCAD.Runtime.SystemObjects.DynamicLinker.ProductKey = "Software\Autodesk\AutoCAD\R18.2\ACAD-a000:409"