.NET

Reply
Valued Contributor
RamanSBV
Posts: 88
Registered: ‎02-28-2012
Message 1 of 3 (218 Views)

How to know the dwt or dwg file version.

218 Views, 2 Replies
03-07-2013 10:19 PM

Hi,

 

I have a scenario, where I have to create new drawing file using given dwt or dwg file.

 

But before starting of creating new drawing file, first  I should know the using dwt  file version is same as currently creating drawing file.

 

Please guide me how I can achieve same.

 

Regards,

Raman

Active Contributor
WWFreeman
Posts: 27
Registered: ‎09-02-2012
Message 2 of 3 (205 Views)

Re: How to know the dwt or dwg file version.

03-08-2013 12:15 AM in reply to: RamanSBV

If everything else fails, it might help that the binary content of a DWG starts with the version token. For example, 2007 DWG starts with characters AC1021. Here you should find some other codes.

 

Also see the DwgVersion enum. There you can obtain the "Current" component.

Distinguished Mentor
BlackBox_
Posts: 745
Registered: ‎02-25-2013
Message 3 of 3 (168 Views)

Re: How to know the dwt or dwg file version.

03-09-2013 06:13 PM in reply to: WWFreeman

Have you considered MaintenanceReleaseVersion?

 

http://www.theswamp.org/index.php?topic=37698.msg427371#msg427371



"Potential has a shelf life." - Margaret Atwood


Autodesk Exchange Apps ~ Autoloader ~ AutoCAD Security

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.