I created 2 dll's
One for autocad the other one for civil
I created another dll that loads using
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?
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.
Oops, It seems you have to extract that info from the registry, this link may hel you: registry Product Info
thanks this helped
Autodesk.AutoCAD.Runtime.SystemObjects.DynamicLinker.ProductKey = "Software\Autodesk\AutoCAD\R18.2\ACAD-a000:409"