.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Autocad Version

3 REPLIES 3
Reply
Message 1 of 4
jainn
532 Views, 3 Replies

Autocad Version

How to get Autocad Version programitically??

 

Thanks in advance....

3 REPLIES 3
Message 2 of 4
kdub_nz
in reply to: jainn

using AcadApp = Autodesk.AutoCAD.ApplicationServices.Application;

//-----------------------------------

   
 string acVer = AcadApp.GetSystemVariable("ACADVER").ToString();

~=   acVer "18.2s (LMS Tech)" 


// Called Kerry in my other life.

Everything will work just as you expect it to, unless your expectations are incorrect.
Sometimes the question is more important than the answer.

class keyThumper<T> : Lazy<T>;      another  Swamper

Message 3 of 4
kdub_nz
in reply to: jainn

 

or if you want the  AutoCAD build version number.

use "_VERNUM"


// Called Kerry in my other life.

Everything will work just as you expect it to, unless your expectations are incorrect.
Sometimes the question is more important than the answer.

class keyThumper<T> : Lazy<T>;      another  Swamper

Message 4 of 4
jainn
in reply to: kdub_nz

Thanks KerryBrown.

 

But i want know wheter it is Autocad MEP or Autocad.

 

Thanks in adavance

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report