PK_PART_receive_version_b   

PK_ERROR_code_t                    PK_PART_receive_version_b
(
--- received arguments ---
PK_MEMORY_block_t                  block,
PK_transmit_format_t               transmit_format, --- file format

--- returned arguments ---
PK_SESSION_kernel_version_t *const version          --- version
)


This function returns information about the version of Parasolid used to
transmit a given part.


Specific Errors:
    PK_ERROR_bad_file_format       Format applio not allowed (MILD)
    PK_ERROR_schema_access_error   file referred to non-existent schema (MILD)
    PK_ERROR_file_read_corruption  corrupt data read (MILD)


Currently only the 'major_revision', 'minor_revision' and 'build_number'
fields of the returned PK_SESSION_kernel_version_t structure are
meaningful.  All other fields are set to zero.  This information shows
exactly which build of Parasolid was used to create the part transmit
data.

If the data was transmitted using the 'transmit_version' option of
PK_PART_transmit, this function will return the 'major_revision' and
'minor_revision' that were being impersonated at that time.  The
'build_number' will not be significant.

The 'transmit_format' value of PK_transmit_format_applio_c is not allowed.