PK_DEBUG_transmit   


PK_ERROR_code_t                    PK_DEBUG_transmit
(
--- received arguments ---
const char                        *key,                --- key string
const PK_DEBUG_data_t             *data,               --- debug data
const PK_PART_transmit_o_t        *options             --- transmit options
)


This function saves additional data to a transmit file.


Specific Errors:
    PK_ERROR_wrong_entity          Wrong type of entity supplied
    PK_ERROR_no_data               No additional data to save
    PK_ERROR_too_many_geoms        Only one surface may be saved if saving
                                   trim_data information.
    Also see errors returned from PK_PART_transmit


This function enables additional data to be saved to a transmit file,
currently geometry and trim surface data can be supplied via the
data argument (see the documentation for PK_DEBUG_data_t for details).
Only one trim_data structure may be saved at a time, a single surface
which relates to the trim_data can either be specified in the geom_array
field or, if this is left empty, will be found internally and saved.
If only geometry is to be saved, any number or type can be specified
in the geom_array field. Each piece of geometry and/or trim_data is then
attached to an internally constructed minimal body as construction geometry
and saved to a Parasolid transmit file using the given key string.
The minimal bodies are then deleted.