PK_ERROR_code_t PK_INSTANCE_create
(
--- received arguments ---
const PK_INSTANCE_sf_t *instance_sf, --- standard form of a instance
--- returned arguments ---
PK_INSTANCE_t *const instance --- the instance
)
This function creates a instance from the given standard form.
Specific Errors:
PK_ERROR_cyclic_assy creating the instance would create a cyclic
assembly graph
PK_ERROR_wrong_transf transform is not a rigid motion
PK_ERROR_has_parent transform is not an orphan
The assembly, part and transform in the standard form must all be in the same
partition. The transform must be a rigid motion 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).