*.dat file parser

Hello,

I would like to create a parser for *.dat files. To utilize Python metaprogramming (effectively creating classes and objects on the fly), I need verbose *.dat files (all item names are included) to be generated from a data base, e.g.

NODE        NO  1 X   31.2332687 Y   1.02247095 Z  -0.48750001  
SPRI        NO  1 NA  1 DX   0.0   DY   0.0  DZ  1.000000 CP  1.00000E+09 CT 4533 DRX 0 0 1 

“Export to DAT” feature skips some item names, e.g.

NODE   1 X   31.2332687 Y   1.02247095 Z  -0.48750001
SPRI   1   1 DX        0.0        0.0   1.000000 CP  1.00000E+09 CT 4533 DRX 0 0 1

Is it possible to force generation of verbose *.dat files?

Thank you in advance.

Export to dat is nothing more than a cdb->dat parser. Parsing the generated dat with python is just reading the cdb with extra steps.

Try to read the cdb directly through the interface instead:
https://www.sofistik.com/documentation/2023/en/cdb_interfaces

The necessary classes/structs already exist in your installation folder:
C:\Program Files\SOFiSTiK\2023\SOFiSTiK 2023\interfaces\examples\python\sofistik_daten.py