34#include <NDEVR/IOFactory.h>
35#include <NDEVR/FileFormat.h>
47 NDEVR_CAD_API DWGFactory();
52 virtual void getSupportedFormats(Buffer<FileFormat>& formats,
bool is_read)
override;
56 virtual bool readFile(FactoryParameters& file)
override;
60 virtual bool writeFile(FactoryParameters& file)
override;
64 FactoryOptions defaultReadOptions(
const FactoryParameters& file)
const override;
68 FactoryOptions defaultWriteOptions(
const FactoryParameters& file)
const override;
73 FactoryFeatures factoryFeatures(
const FactoryParameters& file,
bool is_import)
const override;
77 bool canRead(
const FactoryParameters& file)
override;
79 static INIFactory INI();
81 static File FindODAPath();
83 static File CurrentODAPath();
85 static void SetODAPath(
const File& file);
87 static void DownloadDWGTools();
89 static bool NeedsToDownloadDWGTools();
91 static bool SupportsODA();
93 static File s_oda_path;
94 static bool s_is_valid;
A service that provides Import/Export functionality for a model hierarchy.
The primary namespace for the NDEVR SDK.