Initializes OdStepFile instance with a specified repository. After the initialization, the model becomes opened in read-only access mode by default and stays in this mode while the repository is attached to the file object.
Parameters
Parameters
Description
repo
[in] A raw pointer to the repository object to be attached to the file object.
Returns
eOk if the repository object was successfully attached; otherwise, the method returns an appropriate error code.