DATAKIT API  V2025.1
Drawing - 2D - Mapping
We propose two modes for reading drawing files, so in this page, you have two independant mappings.
Please refer to Modes for readings drawing files (SLDDRW extension) for more information about the modes.

In Semantic Mode

Drawing Entities

SOLIDWORKS Entity DATAKIT Class Remarks
Sheet Dtk_Drawing
View Dtk_View
Sheet Format Dtk_View

Dimensions

SOLIDWORKS Entity DATAKIT Class Remarks
Angle Dimension Dtk_Dimension With type Dtk_Dimension::AngularDimension
Angular Running Dimension Dtk_Dimension With type Dtk_Dimension::CumulatedDimension
Arc Length Dimension Dtk_Dimension With type Dtk_Dimension::CurvilinearDimension
Baseline Dimension Dtk_Dimension With type Dtk_Dimension::LinearDimension
Chain Dimension Dtk_Dimension With type Dtk_Dimension::LinearDimension
Chamfer Dimension Dtk_Dimension With type Dtk_Dimension::ChamferDimension
Diameter Dimension Dtk_Dimension With type Dtk_Dimension::DiameterDimension or Dtk_Dimension::LinearDiameterDimension
Linear Dimension Dtk_Dimension With type Dtk_Dimension::LinearDimension
Path Length Dimension Dtk_Dimension With type Dtk_Dimension::LinearDimension
Ordinate Dimension Dtk_Dimension With type Dtk_Dimension::CumulatedDimension
Radius Dimension Dtk_Dimension With type Dtk_Dimension::RadiusDimension
Symmetric Linear Diameter Dimension Dtk_Dimension With type Dtk_Dimension::DiameterDimension

Other Annotations

SOLIDWORKS Entity DATAKIT Class Remarks
Area Fill Dtk_Hatching
Area Hatch Dtk_Hatching
Ballon Dtk_Symbol With Dtk_Symbol::TypeBalloon
Catterpilar Dtk_Symbol With Dtk_Symbol::TypeWelding
Centerline Dtk_Symbol With Dtk_Symbol::TypeCenterLine
Center Mark Dtk_Symbol With Dtk_Symbol::TypeCenterMark
Cosmetic Thread Dtk_Symbol With Dtk_Symbol::TypeUnknown
Datum Feature Symbol Dtk_Symbol With Dtk_Symbol::TypeDatum
Datum Target Dtk_DatumTarget
Dowel Pin Symbol Dtk_Symbol With Dtk_Symbol::TypeUnknown
End Treatment Dtk_Symbol With Dtk_Symbol::TypeWelding
Geometric Tolerance Dtk_GeometricalTolerance
Location Label Dtk_Symbol With Dtk_Symbol::TypeBalloon
Magnetic Line Dtk_Symbol With Dtk_Symbol::TypeUnknown
Multi-jog Leader Dtk_Symbol With Dtk_Symbol::TypeUnknown
Note Dtk_Symbol With Dtk_Symbol::TypeNote
Revision Cloud Dtk_Symbol With Dtk_Symbol::TypeUnknown
Revision Symbol Dtk_Symbol With Dtk_Symbol::TypeNote
Surface Finish Dtk_Roughness
Table Dtk_Table
Weld Symbol Dtk_Welding

Other Entities

SOLIDWORKS Entity DATAKIT Class Remarks
Block Dtk_CompositeEntity
OLE Object Dtk_OLEObject The preview of the OLE Object can be retrieved and given as a Dtk_Picture in the same Dtk_View. Those preview Dtk_Picture are marked with an attribute "Dtk_FromOLEObject" in their Dtk_Info. If you use Dtk_OLEObject, consider using the attribute to filter the preview pictures
Picture Dtk_picture

3D Geometry

SOLIDWORKS Entity DATAKIT Class Remarks
Body Dtk_Body
Projected Body Set of Dtk_Curve Those Dtk_Curve can be distinguished by the fact that in their Dtk_Info, they have the attribute "Dtk_From3DGeometry".

In Graphic Mode

Drawings

SOLIDWORKS Entity DATAKIT Class Remarks
Drawing
A set of Dtk_Drawing

 



Sheets

SOLIDWORKS Entity DATAKIT Class Remarks
Sheet
Dtk_Drawing



Views

SOLIDWORKS Entity DATAKIT Class Remarks
Drawing View 
Dtk_View  
Detail View 
Dtk_View

 


Display Entities

SOLIDWORKS Entity DATAKIT Class Remarks
DISP_POINT Dtk_Point  
DISP_LINE Dtk_Line  
DISP_ARC Dtk_Ellipse  
DISP_ELLIPSE Dtk_Ellipse  
DISP_PARABOLA
No 
DISP_POLYLINE Dtk_Polyline  
DISP_POLYGON Dtk_Polyline  
DISP_TEXT Dtk_Symbol  
DISP_SIMPLE_TEXT Dtk_Symbol  
DISP_SIMPLE_SYMBOL Dtk_Symbol
DISP_SKETCHTEXT
No 
Projected part Set of Dtk_Curve
Those Dtk_Curve can be distinguished by the fact that in their Dtk_Info, they have the attribute "Dtk_From3DGeometry".
Sketch Picture
OLE Object
The preview of the OLE Object can be retrieved and given as a Dtk_Picture in the same Dtk_View. Those preview Dtk_Picture are marked with an attribute "Dtk_FromOLEObject" in their Dtk_Info. If you use Dtk_OLEObject, consider using the attribute to filter the preview pictures.