Article - CS149077
Unable to Remove association between WTPart and CAD file action in Windchill PDMLink 10.1 M010 throwing error "Cannot have multiple usagelinks to the same child part with Completed or To Be Built occurrences"
Modified: 10-Aug-2015
Applies To
- Windchill Solutions 10.1 M040 and earlier
- Windchill Solutions 10.2 M010 and earlier
Description
- Attempting to remove an association between a WTPart and CAD file fails with error:
Cannot have multiple usagelinks to the same child part with Completed or To Be Built occurrences

The Methodserver reports:
The Methodserver reports:
2013-10-29 15:43:40,734 ERROR [ajp-bio-8010-exec-4] com.ptc.windchill.uwgm.proesrv.StandardRequestDispatcher user - StandardRequestDispatcher.dispatchRequest :: Unexpected failure(s)
com.ptc.windchill.uwgm.common.conflict.UwgmErrorException: (wt.part.partResource/265) wt.util.WTException: Cannot have multiple usagelinks to the same child part with Completed or To Be Built occurrences.
Nested exception is: (wt.part.partResource/265) wt.util.WTException: Cannot have multiple usagelinks to the same child part with Completed or To Be Built occurrences.
at wt.part.build.StandardWTPartBuildService.processPreModifyOccurrences(StandardWTPartBuildService.java:1145)
at wt.part.build.StandardWTPartBuildService.access$300(StandardWTPartBuildService.java:80)
at wt.part.build.StandardWTPartBuildService$2.notifyVetoableMultiObjectEvent(StandardWTPartBuildService.java:128)
at wt.events.StandardKeyedEventBranch.intDispatchEvent(StandardKeyedEventBranch.java:298)
...
at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)
at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)
at $Proxy189.saveUsesOccurrenceAndData(Unknown Source)
at wt.build.BuildServiceUtility.markAsNonBuilt(BuildServiceUtility.java:472)
at wt.epm.build.EPMBuildRuleDeleteEventDelegate.processEvent(EPMBuildRuleDeleteEventDelegate.java:142)
at wt.build.StandardBuildService.processBuildRuleEvents(StandardBuildService.java:3047)
at wt.build.StandardBuildService.access$000(StandardBuildService.java:237)
at wt.build.StandardBuildService$8.notifyVetoableMultiObjectEvent(StandardBuildService.java:2525)
at wt.events.StandardKeyedEventBranch.intDispatchEvent(StandardKeyedEventBranch.java:298)
- Steps to reproduce:
1. Create CAD assembly with component CAD Documents like the following:
Top.asm
|
|-P1.prt
|-P2.prt
|-P3.prt
2. Perform edit associate to associate more than one component CAD Documents to same WTPart with owner, contributing image or image associations (you can create only one owner and only one contributing image so you will have to use image for others), like the following:
Top.asm [Part1 WTPart as owner association]
|
|-P1.prt [Part2 WTPart as owner association]
|-P2.prt [Part2 WTPart as contributing image association]
|-P3.prt [Part2 WTPart as Image association]
3. Check in the CAD assembly and its dependents with auto-associate
4. Check that the WTPart associated to CAD assembly is built and has more than one usage link to the child WTPart in step #2
5. Perform edit associate of CAD assembly and attempt to remove the association to WTPart associated to CAD assembly
This is a printer-friendly version of Article 149077 and may be out of date. For the latest version click CS149077