 |
PK_PART_transmit_b |
|
PK_ERROR_code_t PK_PART_transmit_b
(
--- received arguments ---
int n_parts, --- number of parts
const PK_PART_t *parts, --- parts
const PK_PART_transmit_o_t *options, --- transmit options
--- returned arguments ---
PK_MEMORY_block_t *const block --- chain of XT data
)
This function transmits the given parts into application memory.
Specific Errors:
PK_ERROR_bad_file_format Format applio not allowed (MILD)
PK_ERROR_duplicate_parts Parts are not distinct, or share common
sub-parts (MILD)
PK_ERROR_schema_access_error Error opening, closing, or writing the
schema file (MILD)
PK_ERROR_wrong_version Cannot transmit as given version (MILD)
PK_ERROR_write_memory_full Error allocating space for XT data (MILD)
PK_ERROR_bad_text_conversion Some part data could not be written
(only relevant if options->transmit_format
is PK_transmit_format_text_c) (MILD)
PK_ERROR_bad_field_conversion Part contains data not convertible to
saved format (only relevant if
options->transmit_version is non-zero)
(MILD)
PK_ERROR_child_body One or more of the parts is a child body
(MILD)
PK_ERROR_facet_geometry A part contains facet geometry but facet
geometry is not enabled in the session
(MILD)
PK_ERROR_mesh_not_found Not all requested mesh data
successfully received (MILD)
If any of the parts being transmitted are assemblies, then all their
sub-parts will be transmitted with them.
The parts must be distinct, and must not have any common sub-parts.
Option PK_transmit_format_applio_c is not allowed.
After use, the chain of XT data can be freed by PK_MEMORY_block_f.
If the part contains delayed-load model data that has not been loaded, it
will be loaded as part of the transmit operation.
See Transmitting a part for more information.