Skip to main content
1-Visitor
August 17, 2023
Question

How to remove the parts/drawing in windchill commmonspace?

  • August 17, 2023
  • 1 reply
  • 1659 views
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...

    1 reply

    HelesicPetr
    22-Sapphire II
    22-Sapphire II
    August 17, 2023

    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

    18-Opal
    August 21, 2023

    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 II
    22-Sapphire II
    August 21, 2023

    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