DATAKIT SDK  V2026.2
Options for SOLIDWORKS Reader

In dtk_swrReader.hpp

//! \brief Forces computation of boundaries from mesh when reading SolidWorks 2D/3D files.
//! \param inComputeBoundary DTK_TRUE to compute boundaries from mesh when reading SolidWorks 2D/3D files. Default is DTK_FALSE.
//! \warning Call after Dtk_API initialization and before Dtk_API::OpenDocument.
static void SetComputeBoundariesFromMesh( Dtk_bool inComputeBoundary );
//! \brief When reading a .SLDDRW file, determines whether curves in the 2D plane are created from 3D geometry (mesh/body). Enabled by default.
//! \param inCreateCurves DTK_TRUE to create curves in the 2D plane from 3D geometry (mesh/body) when reading .SLDDRW files. Default is DTK_TRUE.
//! \warning Call after Dtk_API initialization and before Dtk_API::OpenDocument.
static void SetConfigCreate2dCurvesOf3dGeometryForDrawings( Dtk_bool inCreateCurves );
//! \brief If true, reads the graphic representation in .SLDDRW files; if false, uses the semantic representation.
//! \param readWithGraphicRepresentation DTK_TRUE to use graphic representation, DTK_FALSE to use semantic representation. Default is DTK_TRUE.
//! \warning Call after Dtk_API initialization.
static void SetConfigReadDrawingsWithGraphicRepresentation( const Dtk_bool readWithGraphicRepresentation );
Dtk_bool
char Dtk_bool
Definition: define.h:717