The following calls can be used to open, save and close Geometry Kernel models or part of them.
This function creates and empty model (we expect with a schema file given).
Attributes repository and fileName will be ignored, they are their because of backward compatibility.
A handle to the model will be returned, or 0 in case something went wrong.
This function creates and empty model (we expect with a schema file given).
Attributes repository and fileName will be ignored, they are their because of backward compatibility.
A handle to the model will be returned, or 0 in case something went wrong.
This function opens the model on location fileName.
Attribute repository will be ignored, they are their because of backward compatibility.
A handle to the model will be returned, or 0 in case something went wrong.
This function opens the model on location fileName.
Attribute repository will be ignored, they are their because of backward compatibility.
A handle to the model will be returned, or 0 in case something went wrong.
This function opens the model via a stream.
Attribute repository will be ignored, they are their because of backward compatibility.
A handle to the model will be returned, or 0 in case something went wrong.
This function opens the model via an array.
Attribute repository will be ignored, they are their because of backward compatibility.
A handle to the model will be returned, or 0 in case something went wrong.
This function saves the model (char file name).
This function saves the model (wchar, i.e. Unicode file name).
This function saves the model as a stream.
This function saves the model as an array.
This function saves the model as XML according to IFC2x3's way of XML serialization (char file name).
This function saves the model as XML according to IFC2x3's way of XML serialization (wchar, i.e. Unicode file name).
This function saves the model as XML according to IFC4's way of XML serialization (char file name).
This function saves the model as XML according to IFC4's way of XML serialization (wchar, i.e. Unicode file name).
This function saves the model as JSON according to IFC4's way of JSON serialization (char file name).
This function saves the model as JSON according to IFC4's way of JSON serialization (wchar, i.e. Unicode file name).
This function saves the schema.
This function saves the schema (wchar, i.e. Unicode file name).
This function closes the model. After this call no instance handles will be available including all
handles referencing the geometry of this specific file, in default compilation the model itself will
be known in the kernel, however known to be disabled. Calls containing the model reference will be
protected from crashing when called.