I'm working on a project with several similar parts, each has a design table with few diferent sizes.
I would like to get the CoM coordinates as a new column in the design table.
Is there a way to do that?
Welcome to the forum.
If you know the COM location place a point there and control it
with dimensions. Then insert those dimensions into the design table.
I don't know the CoM location, I wish to use the numbers I get in the Mass Properties window.
Nir, Welcome to the SW Forum.
You do this in a few ways...using custom properties...or a rule in your bom...or a combination of both.
I would recommend using a combination of both, since the behaviour is more consistent (from my experience).
In your part, add custom properties for X / Y / Z...as the values you can use the ones already available, use drop down list to access...it should be something like this: "SW-CenterofMassX" / CenterofMassY" / CenterofMassZ". Name the custom properties in an easy way to remember, and then in your drawing you add a new column with an equation that combines all the three values (or one separate column for each value - which would be even easier). Use the equation editor to build your rule...there are some tricks that can be done in order to display the text correctly that the equation builder doesn't really support, if you need any tips let us know what you're trying to do, and we can help.
Hope this helps....cheers
Great tip, would definatly find where to use it.
The thing is, I need the calculation and the output of the CoM coordinates for every configuration I have in a design table, and there are quite alot of configurations.
Maybe there is a way to show all the configurations of the part (and the CoM) in the BOM?
Your bom is defined by whatever parts you have in an assembly...so if you want a bom of all configurations you need an assembly with all the different configurations of the part. You can then combine the solution I provided earlier. If you want this as a one button feature, unfortunately the only option is a macro (programming).
Attached is an example of how I would probably do it.
Step 1 - Run the macro on the multiple config part. The macro will add custom specific properties to each config (which can then be linked through the bom), create a new assembly and add each config as a new component.
Step 2 - Save this assembly, and add a create a modelview of it in the drawing
Step 3 - Add a BOM linked to the newly inserted view using the provided BOM template...
Hope this helps,
Retrieving data ...