I will have a look if OpenCascade has a more recent API which saves in the up to date standard. How do you check that a file follows the latest standard?
FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 1 1 1 1 }'));
vs (random file created by Catia v5.6): FILE_SCHEMA(('AP242_MANAGED_MODEL_BASED_3D_ENGINEERING_MIM_LF {1 0 10303 442 1 1 4}'));
There seems to be AP242 support in OpenCascade.