DATAKIT SDK  V2026.2
How to use KeepKernelData option


This is a specific option about Parasolid based formats.

The following formats stores geometry (as B-Rep) as Parasolid format.

  • Parasolid
  • NX
  • SOLIDWORKS
  • Solid Edge
  • JT (optionally)

Reading a Dtk_BodyPtr from these formats will provide standard bodies : transforming specific Parasolid geometry into NURBS, and normalize specific Parasolid rules.

If you need to rewrite the Dtk_BodyPtr as Parasolid (or NX, JT, SolidWorks), you may ignore this standardisation of Dtk_BodyPtr, to write exactly the same body, and avoid computing.

To Ignore the standardisation, use :

Then, the LibParasolidRead will provide Dtk_BodyPtr ready to send to LibParasolidWrite.

You will need these 2 libraries to perform this operation.

Notes :

  • NX, SOLIDWORKS, Solid Edge, JT readers use LibParasolidRead
  • NX, SOLIDWORKS, JT writers use LibParasolidWrite
  • LibParasolidWrite allows to write into a file, or into a buffer.


Dtk_API::ActivateKeepKernelData
void ActivateKeepKernelData()
Keep Kernel Data option (see "How to use KeepKernelData option")