Export Options
Configure how your drawings are exported with various format options and unit settings. Drawing sessions can be exported to DWG or DXF formats with support for different CAD versions.
Basic Export Configuration
// Create a drawing session with export configuration
var session = new DrawingSession
{
ExportFormat = ExportFormat.DWG, // Choose between DWG or DXF
CadVersion = CadVersion.Cad2018, // Target CAD version
Units = LengthUnit.Millimeters // Drawing units
};
// Export the drawing
string outputPath = "output.dwg";
await session.ExportAndSaveAsync(apiKey, outputPath);
Available Export Formats
ExportFormat.DWG
- AutoCAD Drawing formatExportFormat.DXF
- Drawing Exchange Format
Supported CAD Versions
CadVersion.Cad2018
CadVersion.Cad2013
CadVersion.Cad2010
CadVersion.Cad2007
CadVersion.Cad2004
CadVersion.Cad2000
Length Units
LengthUnit.Millimeters
LengthUnit.Centimeters
LengthUnit.Meters
LengthUnit.Inches
LengthUnit.Feet