I'm trying to achieve to display the addition of weights of the child part onto the parent Part in the structure.
Attached is the image of the same.
Referred to CS228951 however that's not working may be I'm making some error.
Any suggestions or references?
Thanks in advance
Yes its First on EPM from SolidWorks CAD then passed to related WTPart.
Created an alias attribute on subassembly WTPart with following mappings,
Mass is the internal name of attribute on EPM and related WTPart
Tried both given below
We use this relation in part and assembly start files:
/*** SET WEIGHT PARAMETER ***
If you have material assigned, the parts will get the weight. You do have this.
In the assembly, it will sum all of the weights of the component parts. This is what you are asking for.
No, just add that line to your relations in each part and recalculate the mass, then do a regen to update the Weight parameter. We do it with a mapkey.
@Durga -if you have the attributes on the WTParts you can use this pattern to show rollups in PSB. It will rollup the values to display in the Structure view (there is not a persistence mechanism - it is always dynamically shown in the structure)
Please note when showing this it does add the calculation overhead so one might want to have a table view specific for rollups. These samples are available from Windchill 11.1 onwards.