Creates a new repository from memory buffer that contains Step Physical File data within the current SDAI session
Parameters
Parameters
Description
session
[in] A session instance.
bufferedModel
[in] A memory buffer that contains model in Step Physical File format.
name
[in] A string that contains the repository name.
Returns
The created repository instance represented with its handler if the repository was successfully created; otherwise, the function returns the NULL pointer.
instance of the created repository, in other case NULL
Remarks
If the name of the repository is empty then the name of the file is used as the repository name. If the file contains several data sections (file_description.implementation_level equals to "3" or higher), every model gets the name predefined in file; otherwise (file_description.implementation_level equals to 2 ("2;1", "2;2") only the single model with the name "default" is created.