PK_THREAD_chain_stop   

PK_ERROR_code_t                 PK_THREAD_chain_stop
(
--- received arguments ---
const PK_THREAD_chain_stop_o_t *options
)


This function stops chaining Parasolid functions in the calling thread.


Specific Errors:
    PK_ERROR_not_started        Chaining has already been stopped (MILD)
    PK_ERROR_recursion_depth    Called within an outer PK or KI function (MILD)


A chain is a set of multiple, contiguous Parasolid functions called from a
single application thread, which has the same application thread protection as
a single Parasolid function.

Only chaining started by a previous call to PK_THREAD_chain_start in this
thread will be stopped by this function.

This function can only be called when the modeller is started.