DATAKIT API  V2025.3
SOLIDWORKS reader

SOLIDWORKS Read Library allows you to read SOLIDWORKS 3D and 2D files.
Warning: Some information (color, visibility, name, construction tree, FDT, ...) are only processed from SOLIDWORKS 2006.

//Set the Schema directory needed for readers based on Parasolid Read Library (NX, SOLIDWORKS, Solid Edge)
MyAPI->SetSchemaDir(inRepSchema);

To integrate SOLIDWORKS 3D Read Library, you should :



Notable changes :

  • Since V2024.3 :
    • There are now two modes for reading drawing files (SLDDRW extension). The already existing one that reads graphic data, and the new one that reads semantic data.
  • Since V2023.3 :
    • Dtk_RenderInfos processing has been changed : Ambiant and diffuse colors are similar, transparent ratio is properly stored in its member(before it was in ambiant ratio) and diffuse ratio is read
Dtk_API::SetSchemaDir
Dtk_ErrorStatus SetSchemaDir(const Dtk_string &inSchemaDir)
Set Schema Directory needed for Unigraphics, Parasolid, Solidedge, Solidworks and Jt readers.
PsReader::Enable
static Dtk_bool Enable()