cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community email notifications are disrupted. While we are working to resolve, please check on your favorite boards regularly to keep up with your conversations and new topics.

How to remove the parts/drawing in windchill commmonspace?

DK_9887051
1-Newbie

How to remove the parts/drawing in windchill commmonspace?

I am using Windchill PDMLink Release 8.0 and Datecode with CPS M070

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...
4 REPLIES 4

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

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.

HelesicPetr
22-Sapphire I
(To:d_graham)

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 

@HelesicPetr 

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)?

Top Tags