Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Translate the entire conversation x

How to manage unused choices?

TomM
14-Alexandrite

How to manage unused choices?

Hi,

I'm exploring Options and Variants area of Windchill. It's going fine but it seems that when you end up with an unused or even never assigned choices there's no way to delete them. As soon as you check-in the Option Set containing such choices then whenever you try to delete it you end up with an error saying that it's tied to an Option Set (or part, whatever).

According to CS107727 this is fine...

 

Since you usually have plenty of Parts (or modules) tied to an Option Set it is kind of impossible to detach them in order to delete the latest iteration of an Option Set.

 

So the question is...how to manage this? Cause after a while you'll end up with lots of unused choices you can't delete...

 

 

 

1 REPLY 1
Fadel
22-Sapphire II
(To:TomM)

if the choice is never used in an expression/rule/Option Set  you can delete it .

deletechoiceunused .mp4
Video Player is loading.
Current Time 0:00
Duration 0:00
Loaded: 0%
Stream Type LIVE
Remaining Time 0:00
 
1x
    • Chapters
    • descriptions off, selected
    • captions off, selected
      (view in My Videos)

      The issue is that the where used table of choices is hardcoded to show only latest objects , sometimes the table is blank while the choice is well used in a non-latest object . if you ever face an reference integrity issue when deleting a choice we can run the plfind script to find where that choice is used .

      refreIntegrity.mp4
      Video Player is loading.
      Current Time 0:00
      Duration 0:00
      Loaded: 0%
      Stream Type LIVE
      Remaining Time 0:00
       
      1x
        • Chapters
        • descriptions off, selected
        • captions off, selected
          (view in My Videos)

          Fede
          Announcements



          Top Tags