How to remove the parts/drawing in windchill commmonspace?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
How to remove the parts/drawing in windchill commmonspace?
How to remove the parts/drawing in windchill commmonspace?
Here are the errors that I faced
Conflict Description:
Referential integrity violations occurred for this operation:
Cannot delete "0000019502, PCB" that is used by the following versions : 0000019501, PCBA, A.3 (Design), 0000019501, PCBA, A.6 (Design), 0000019501, PCBA, A.1 (Design), 0000019501, PCBA, A.2 (Design), 0000019501, PCBA, A.7 (Design), 0000019501, PCBA, A.4 (Design), 0000019501, PCBA, A.5 (Design)
Cannot delete CAD Part - 0000019502.prt because it is referenced by Drawing - 0000020445.drw, A.3
Cannot delete 0000019502.prt because it is used by Assembly - 0000019501.asm, A.1
Object "wt.part.WTPartUsageLink:6703151" references the object "wt.part.WTPartMaster:6581109" that was removed from the system.
Object "wt.part.WTPartUsageLink:6581614" references the object "wt.part.WTPartMaster:6581109" that was removed from the system.
Object "wt.part.WTPartUsageLink:6935187" references the object "wt.part.WTPartMaster:6581109" that was removed from the system.
Object "wt.part.WTPartUsageLink:6745033" refer...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello @DK_9887051
If the part is referenced to any object you can not just delete the Part. The system do not allow you to do so.
You need to delete all previous created references , that means all assemblies and drawings where the model part is used.
Also all promotion requests and change tasks or requests.
PetrH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
That’s not exactly true.
I wrote a utility I call Power Delete that given an object, WTPart for example, will find/delete the reference links then it will delete the object.
The utility currently excludes links to, for example Change Activities, Promotion Request, Packages, etc. as those links can be removed using the Windchill UI and I felt automatically, rather than explicitly, removing them was risky.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @d_graham
I am talking about an OOTB delete function. The delete wizard does not allow user to delete object that has some important references.
If you write own utility sure you can delete whatever you want with all references together.
it is similar as some users wants delete revision that has been created in a change notice, and they want to delete them instantly if they remove the revision object from the change notice. It is possible with customization.
PetrH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Yes, obviously you were referring to OOTB functionality. That’s why I said it’s not exactly true. OOTB it is true. But why limits themselves to OOTB (rhetorical)?
