Start

version

#include "dxfio/version.hpp"

In DxfIO

Functions

auto Acadver(Version release) -> std::string_view

The $ACADVER code of a release, such as "AC1015" for R2000.

auto Name(Version release) -> std::string_view

The short name of a release, such as "R2000".

auto Release(std::string_view code) -> std::optional<Version>

The release an $ACADVER code such as "AC1015" stands for: the newest at or below it, or R10 below AC1006. Empty unless the code, blanks around it trimmed, is "AC" in either case and four digits.

enum class Version

A release of DXF, as $ACADVER names it, oldest first so that releases compare by age.

R10AutoCAD Release 10, AC1006.
R12AutoCAD Release 11 and 12, AC1009.
R13AutoCAD Release 13, AC1012: the first with subclass markers, classes and objects.
R14AutoCAD Release 14, AC1014.
R2000AutoCAD 2000 to 2002, AC1015.
R2004AutoCAD 2004 to 2006, AC1018.
R2007AutoCAD 2007 to 2009, AC1021: the first to write its text in UTF-8 rather than a code page.
R2010AutoCAD 2010 to 2012, AC1024.
R2013AutoCAD 2013 to 2017, AC1027.
R2018AutoCAD 2018 and later, AC1032.