 |
PK_SESSION_set_err_reports |
|
PK_ERROR_code_t PK_SESSION_set_err_reports
(
--- received arguments ---
PK_ERROR_reports_t error_reports, --- error reports
const PK_SESSION_set_err_reports_o_t *options --- options structure
)
Specific Errors:
PK_ERROR_bad_value Parasolid cannot change the session's
setting to the new value (MILD)
This function sets whether additional information about an error is
written to a Parasolid report of type PK_REPORT_4_t. This setting will
persist until a different value is set or the modeller is restarted.
Individual application threads can supersede this setting by calling
PK_THREAD_set_err_reports with a value other than PK_ERROR_reports_inherit_c.
Currently this functionality is only used when multiple entities are
responsible for an error.
The only allowed values of 'error_reports' are
PK_ERROR_reports_off_c and PK_ERROR_reports_on_c.
This function can only be called when the modeller is started.