DATAKIT API  V2025.1
General Mapping


Topological Entities

SOLIDWORKS Entity DATAKIT Class Remarks
Body Dtk_Body  
Body mixed with mesh surface Dtk_Body
Only BREP part
Imported Mesh Dtk_mesh
Only with PSReader
Graphic Dtk_mesh
Only with PSReader
Shell Dtk_Shell  
Face Dtk_Face  
Loop Dtk_Loop  
CoEdge Dtk_Coedge  
Edge Dtk_Edge  
Vertex Dtk_Vertex  


Surface Entities

SOLIDWORKS Entity DATAKIT Class Remarks
Plane Dtk_PlaneSurface  
Cylinder Dtk_CylindricalSurface  
Cone Dtk_ConicalSurface  
Sphere Dtk_SphericalSurface  
Toroidal Dtk_ToroidalSurface  
LinearExtrusion Dtk_LinearExtrusionSurface  
Revolution Dtk_StandardRevolutionSurface  
Nurbs Surface Dtk_NurbsSurface  
Offset Surface Dtk_OffsetSurface  
 Blend Surface Dtk_NurbsSurface  


Curve Entities

SOLIDWORKS Entity DATAKIT Class Remarks
Line Dtk_Line Coming from Parasolid
Nurbs Curve Dtk_NurbsCurve Coming from Parasolid
Intersection Curve Dtk_NurbsCurve Coming from Parasolid
SP Curve Dtk_NurbsCurve Coming from Parasolid
Circle Dtk_Ellipse Coming from Parasolid
Ellipse Dtk_Ellipse Coming from Parasolid


Wireframe Entities


(From Solidworks 2006 version)

SOLIDWORKS Entity DATAKIT Class Remarks
Projected Curve
Dtk_Body containing a Dtk_NurbsCurve Coming from Parasolid
Composite Curve
Dtk_Body containing a Dtk_Curve Coming from Parasolid
Curve Through XYZ Points
Dtk_Body containing a Dtk_NurbsCurve Coming from Parasolid
Curve Through Reference Points
Dtk_Body containing a Dtk_NurbsCurve Coming from Parasolid
Helix/Spiral
Dtk_Body containing a Dtk_NurbsCurve Coming from Parasolid
Sketch
Dtk_Body containing a set of Dtk_Point, Dtk_Line, Dtk_NurbsCurve, Dtk_Ellipse and Dtk_Conic Coming from Solidworks (geometries translated : points, lines, nurbs, arc, ellipses, parabolas and conics)
3D Sketch
Dtk_Body containing a set of Dtk_Point, Dtk_Line, Dtk_NurbsCurve, Dtk_Ellipse and Dtk_Conic

Coming from Solidworks (geometries translated : points, lines, nurbs, arc, ellipses and parabolas)


Reference Entities


(From Solidworks 2006 version)

SOLIDWORKS Entity DATAKIT Class Remarks
Plane Dtk_Body containing Dtk_PlaneSurface • All have Dtk_Info::GetInfiniteGeometryFlag
• Front, Top and Right planes have Dtk_Info::GetMandatoryFlag
Axis Dtk_Body containing Dtk_Line All have Dtk_Info::GetInfiniteGeometryFlag
Point Dtk_Body containing Dtk_Point  
Coordinate System Dtk_AxisSystem  
Origin Dtk_Body containing Dtk_Point Origin have Dtk_Info::GetMandatoryFlag


Assembly Entities

SOLIDWORKS Entity DATAKIT Class Remarks
AssemblyDtk_Component 
Assembly FeatureA set of Dtk_Body with "Dtk_BodyAttachment" attributeReplace original body into original part
Note : All bodies will have the same name. "Dtk_BodyAttachment" attribute allow to distinguish each body
Virtual ComponentDtk_ComponentExtract file on disk
ConfigurationDtk_Component as a CatalogueTypeList of VirtualComponent for each configuration


Attributes Entities


(From Solidworks 2006 version)

SOLIDWORKS Entity DATAKIT Class Remarks
Appearance Dtk_ColorId or Dtk_Render into Dtk_Info  • Use Dtk_API::AddSearchPathForAssembly to add path of texture picture ("C:\Program Files\SolidWorks Corp\SolidWorks\data\" added by default).
• From version 2014.3, we put appearances on Dtk_Component if Solidworks does. They no longer overwritten on the faces.
• When there is a texture on Solidworks we put a Dtk_Render AND a Dtk_ColorId in the Datakit structure. The Dtk_ColorId is the main color of the texture.
Visibility BlankedStatus  into Dtk_Info  



Metadata Entities

SOLIDWORKS Entity DATAKIT Class Remarks
File Properties Dtk_MetaData MetaDataTypeEnum::TypeFileProperty
Custom Properties Dtk_MetaData MetaDataTypeEnum::TypeFileProperty
Configuration Properties Dtk_MetaData MetaDataTypeEnum::TypeConfigurationProperty
Material Informations Dtk_MetaData Dtk_PhysicalMaterialInfos on Dtk_Component
Mass/Surface Properties Dtk_MetaData MetaDataTypeEnum::TypeMassProperty
Cut List Properties Dtk_MetaData

Dtk_Info::GetMetaData on Cut List Dtk_Node


Other Entities


(From Solidworks 2006 version)

SOLIDWORKS Entity DATAKIT Class Remarks
Named Views Dtk_Camera