PK_INSTANCE_create   

PK_ERROR_code_t         PK_INSTANCE_create
(
--- received arguments ---
const PK_INSTANCE_sf_t *instance_sf,  --- standard form of an instance

--- returned arguments ---
PK_INSTANCE_t    *const instance      --- the instance
)


This function creates an instance from the given standard form.


Specific Errors:
    PK_ERROR_cyclic_assy            creating the instance would create a cyclic
                                    assembly graph (MILD)
    PK_ERROR_wrong_transf           transform is not a rigid motion or
                                    reflection (MILD)
    PK_ERROR_has_parent             transform is not an orphan (MILD)


The assembly, part and transform in the standard form must all be in the same
partition. The transform must be a rigid motion or a reflection and must be an
orphan. Creating the instance must not make the assembly graph cyclic (i.e.
there must not be a closed cycle of assemblies, each a sub-assembly of the
previous one).