PK_ERROR_code_t PK_INSTANCE_change_part
(
--- received arguments ---
PK_INSTANCE_t instance, --- an instance
PK_PART_t part --- part to point to
)
This function modifies the given instance so that it instances a different
part.
If this would cause the assembly graph to become cyclic, PK_ERROR_cyclic_assy
will be returned.
Specific Errors:
PK_ERROR_cyclic_assy changing part would create a cyclic assembly