CFD_SS_Failure

what is the mean of CFD_SS_Failure that return the SaveAs method.

Forum supervisor's picture

Dear David,
The top level of OCCT persistence Writer distinguishes only a limited set of failures: SS_DriverFailure, SS_WriteFailure, SS_Failure. Unfortunately (as you can see) this set of statuses (see CDF_StoreStatus.hxx) is very limited and not so advanced as the set of Reader statuses (see CDF_RetrievableStatus.hxx) for example. We are working to improve it. At the moment SS_Failure can be treated as a group name for all failures other than DriverFailure and WriteFailure.
Regards

Gilles DAVID's picture

But how I know what happen in my program?

Forum supervisor's picture

Dear David,
You may use OCCT in debug mode.
In this case an additional message localizing the reason should be sent to stdout.
In addition you may define environment variable CSF_ResourceVerbose to get messages which may help you identify errors in plugins definition.
Regards