Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Version: Windchill 12.0
Use Case: In some cases, we need to add a model in an assembly just for reference or space claim reasons and we do not want the WTPart associated to that reference model to show up in the Windchill WTPart structure and therefore end up to ERP BOM.
Description:
What is the recommended/best practice for excluding items from WTPart structure?
I thought that the preference "Part Structure Override Attribute Name" would be the way to do this, as the description for that preference says that it "Identifies a boolean soft attribute name that determines if the CAD document participates in build. This soft attribute can be on: iteration, master, member link, model item, or model item link. This soft attribute also determines whether to autoassociate the model to a part."
So I created a reusable boolean attribute, added it as a global attribute to the "CAD Document Uses Link" type and inserted the internal name of that attribute to the preference.
Then I created an assembly in Creo, added few components to it, added a designated component parameter to one of the components with boolean value YES on it and checked the assembly in.
I can see on the CAD assembly in Windchill that the designated component parameter ended up on the usage of the component in the assembly successfully, but that item is included in the WTPart structure. I also tried to add the attribute to the Part Usage type to see if it propagates from the CAD usage to the corresponding Part Usage during build, but for some reason it is not doing that. I also tried to set the preference EPM Service Preferences > Build Service Preferences > Attributes to be published on Occurrence to * just in case but that did not help.
So have I misunderstood something about the Override Attribute preference or have I once again been bamboozled by PTC describing functionalities that do not actually exist?
How are people using Creo + Windchill and WTParts handling this use case? Just by removing the unwanted WTPart manually from the WTPart structure after check in?
Hi @N-Pyn,
When you say model, do you mean a CAD model?
Are you looking to keep it only as a reference CAD model and not display it in the part structure?
Yes, CAD model.
I want to use a CAD model in a CAD assembly without it being included in the WTPart structure associated to the CAD assembly.
Here is what I have in Creo:
Then after check in, I can see the component parameter successfully sent to Windchill in the CAD usage link:
But still the WTPart structure includes the associated item:
Hi @N-Pyn,
If the requirement is that the CAD model should not be linked to any WTPart, then the Auto-Associate option must not be used during check-in.
Currently, Auto-Associate appears to be enabled, which is causing the system to create a link between the WTPart and the CAD document.
To avoid this association, please check in the CAD model with Auto-Associate disabled.
Have you looked at the information on how to use Gathering and Phantom parts in Windchill?
We use a method that sounds really similar to what you're doing. I'm sure you used this guide: https://www.ptc.com/cn/support/article/CS268136?art_lang=en
I don't know if it matters, but we have internal name "NO_PART" for both of the uses indicated there. We used a different display name to help our users, and used this mapping for the part occurrences:
Our most recent update was adding a mapkey so users can select the part instance they want to exclude, and it goes through the steps of setting the boolean and marking it as Designated.
