DATAKIT SDK
V2026.2
Main Page
API Reference
Options for DWG Reader
In
dtk_DwgDtkReader.hpp
//! \brief Determine how to read the DWG/DXF Model Space.
//! \param DTK_FALSE to read the Model Space as a part with 3D entities (default);
//! DTK_TRUE to read the Model Space as a drawing with 2D entities.
//! \warning Call this option after the Dtk_API initialization and before the Dtk_API::OpenDocument call.
static
void
SetReadFileAsDrawing(
Dtk_bool
);
//! \brief Determine how to read DWG/DXF 3DFACE entities.
//! \param DTK_FALSE to read 3DFACE entities as meshes;
//! DTK_TRUE to read 3DFACE entities as bodies (default).
//! \warning Call this option after the Dtk_API initialization and before the Dtk_API::OpenDocument call.
static
void
SetRead3dFacesAsBody(
Dtk_bool
);
Dtk_bool
char Dtk_bool
Definition:
define.h:717