DATAKIT API  V2025.1
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
  • SolidEdge
  • 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,SolidEdge,JT readers use LibParasolidRead
  • NX,Solidworks,JT writers use LibParasolidWrite
  • LibParasolidWrite allow to write into a file, or into a buffer.


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