Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
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...
if the choice is never used in an expression/rule/Option Set you can delete it .
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 .