markopolo85
Mechanical
- Dec 3, 2012
- 4
Hello,
I'm trying to source a macro that will locate the centre of mass/gravity of all components within an assembly relative to a specific point (i.e. the assembly origin) and export both the part name, mass and x,y,z coordinates to an excel file.
Effectively I'm trying to incorporate the parametric capabilities of solidworks to iteratively optimise the structural configuration of an assembly. However, at this stage I'd just like to avoid clicking on and recording the position and mass of each component within what is a fairly large and complex assembly.
Would really appreciate help with this. Thank you in advance.
Mark,
I'm trying to source a macro that will locate the centre of mass/gravity of all components within an assembly relative to a specific point (i.e. the assembly origin) and export both the part name, mass and x,y,z coordinates to an excel file.
Effectively I'm trying to incorporate the parametric capabilities of solidworks to iteratively optimise the structural configuration of an assembly. However, at this stage I'd just like to avoid clicking on and recording the position and mass of each component within what is a fairly large and complex assembly.
Would really appreciate help with this. Thank you in advance.
Mark,