I have a part in windchill. Same part is available on local disk and it has been a child part of assembly. Assembly is not present in windchill, but part is present in windchill.
I am loading and displaying assembly from disk to Creo. As I need to check-in assembly, I am saving this assembly and it gets saved into workspace which is active. Post this, I tried to check out dependent part of assembly as it is present into windchill.
I intended to do use two API ProServerModelNameToAliasedURL() and ProServerObjectsCheckout() for part file so that I could not get uniqueness error of part already available in Windchill.
This API of checkout gives no success as I could see that aliased URL for part model is from workspace rather than Windchill product or library.
How to avoid this issue as without checkout of part, I would not be able to checkin assembly.