/// Loads the OCAF document from the file into the current document.
/// All the features are added after the active feature.
/// \param theFileName name of the file to import
+ /// \param theCheckBefore verify the document does not contain unappropriate features
+ /// (useful for import to PartSet)
/// \returns true if file was loaded successfully
- MODELAPI_EXPORT virtual bool import(const char* theFileName) = 0;
+ MODELAPI_EXPORT virtual bool import(const char* theFileName, bool theCheckBefore = false) = 0;
/// Export the list of features to the file
/// \param theFilename path to save the file