Backward XBF Storage Compatibility

drazmyslovich's picture

Starting from OCC 6.7.0 the BinLDrivers were upgraded to version 7. What makes impossible to open the new files with the older versions of OCC (6.6.0 for example). Is there a way to force the storage driver to write the file in another version? (version 6)

msv's picture

Possible solution

There is no way to force the storage driver to write the file in another version (6), but there is a way to force retrieval driver to read newer files. For that you need to inherit BinLDrivers_DocumentRetrievalDriver and redefine the method CheckDocumentVersion. Of course, you also need to make and register your own document plugin. The application that uses old OCC should be patched then.

msv's picture

Please note that this is

Please note that this is offtopic for modeling theme. It would be better to create a new theme "Application Framework" for this topic.

www.opencascade.com

Copyright 2011-2019
OPEN CASCADE SAS
Contact us