PK_ASSEMBLY_ask_parts   

PK_ERROR_code_t   PK_ASSEMBLY_ask_parts
(
--- received arguments ---
PK_ASSEMBLY_t     assembly,  --- assembly

--- returned arguments ---
int        *const n_parts,   --- number of parts in assembly (>=0)
PK_PART_t **const parts      --- parts in assembly (optional)
)


This function returns the parts in an assembly. As each part corresponds to one
instance, there may be duplicates.


The output array 'parts' is optional.  If it is set to NULL, the function will
only compute the number of parts.