PK_ERROR_code_t PK_SESSION_start
(
--- received arguments ---
const PK_SESSION_start_o_t *options
)
This function starts the Parasolid modeller.
Specific Errors:
PK_ERROR_cant_open_jrnl journal file could not be opened
PK_ERROR_incorrect_mc_conf machine configuration not authorised for
Parasolid
PK_ERROR_modeller_not_stopped PK_SESSION_start already called since last
call to PK_SESSION_stop
The majority of PK functions may not be called before PK_SESSION_start
is called. Calling such a function before calling PK_SESSION_start will
cause the error PK_ERROR_modeller_not_started.
The exceptions to this rule are:
PK_DELTA_register_callbacks must be called before PK_SESSION_start
PK_ERROR_ask_last }
PK_ERROR_clear_last }
PK_ERROR_register_callbacks }
PK_MEMORY_register_callbacks } may be called at any time
PK_SESSION_ask_kernel_version }
PK_SESSION_register_applio }
PK_SESSION_register_frustrum }
PK_SESSION_start may not be called again until after PK_SESSION_stop is called.
PK_SESSION_start initialises the interface parameters as follows:
PK_SESSION_ask_check_arguments PK_LOGICAL_true
PK_SESSION_ask_check_self_int PK_LOGICAL_true
PK_SESSION_ask_check_continuity PK_LOGICAL_true
PK_SESSION_ask_general_topology PK_LOGICAL_false
PK_SESSION_ask_swept_spun_surfs PK_LOGICAL_false
PK_SESSION_ask_tag_limit 0 (ie: no limit)
PK_SESSION_ask_angle_precision 0.00000000001
PK_SESSION_ask_precision 0.00000001
On platforms where it is possible to vary the machine configuration in ways
that would affect Parasolid (eg, the format of floating point numbers or the
endian-ness of numbers) the modeller will not be started if the current
configuration is not recognized as being safe. In this case the error code
PK_ERROR_incorrect_mc_conf will be returned.