DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

DWG OUT - File Format Selection

Started by Robert Willis, April 06, 2020, 07:45:34 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Robert Willis

UPDATE: Solution Found

I have a macro that was created some time back and it currently has the following as the acceptable file formats to use during the export process:




0  R12
1  R13
2  R14
3  2000
4  2004
5  2007
6  2010
7  2013
8  2018


What is the correct number for 2018 and 2019 ?






From the AutoCAD website the following is a list  codes that identify the AutoCAD version that created them.




AC1004 - DWG AutoCAD Release 9
AC1006 - DWG AutoCAD Release 10
AC1009 - DWG AutoCAD Release 11/12 (LT R1/R2)
AC1012 - DWG AutoCAD Release 13 (LT95)
AC1014 - DWG AutoCAD Release 14, 14.01 (LT97/LT98)
AC1015 - DWG AutoCAD 2000/2000i/2002
AC1018 - DWG AutoCAD 2004/2005/2006
AC1021 - DWG AutoCAD 2007/2008/2009
AC1024 - DWG AutoCAD 2010/2011/2012
AC1027 - DWG AutoCAD 2013/2014/2016/2017
AC1032 - DWG AutoCAD 2018/2019/2020







[size=78%]AC1015 - DWG AutoCAD 2000/2000i/2002[/size]

bdeck

Hi Robert,

Many Thanks for the update.

Verified in DC versions 27 and 28.

Regarding the DxfOut and DwgOut commands, here is a recap of your findings.

Type parameter vs AC Version Code at beginning of exported file.

Type        Code       Version

  0    =    AC1009 - DWG AutoCAD Release 11/12 (LT R1/R2)
  1    =    AC1012 - DWG AutoCAD Release 13 (LT95)
  2    =    AC1014 - DWG AutoCAD Release 14, 14.01 (LT97/LT98)
  3    =    AC1015 - DWG AutoCAD 2000/2000i/2002
  4    =    AC1018 - DWG AutoCAD 2004/2005/2006
  5    =    AC1021 - DWG AutoCAD 2007/2008/2009
  6    =    AC1024 - DWG AutoCAD 2010/2011/2012
  7    =    AC1027 - DWG AutoCAD 2013/2014/2016/2017
  8    =    AC1032 - DWG AutoCAD 2018/2019/2020

Stay Well,
bd

Robert Willis