ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
AAAndrea Antonello07/10/2020

Hi everyone, I'm new to the world of API/Macros so please forgive any beginner question

This is my issue: I have a main assembly with 6 subassemblies inside. I want to export the inertial properties of each one of the 6 subassemblies in a nicely formatted .csv or excel file. I'm now using the "copy o clipboard" function but the formatting in incompatible with some processing I need to do down the line: that's why I need a .csv

What I would like to have: 

- mass, center of mass, inertia wrt center of mass, inertia wrt link frame of each subassembly

- I want the properties to be with respect to a specific reference frame that is defined inside each subassembly

- everything should be packaged in some kind of automatic script (i.e. I run a button, and the macro takes care of saving all the files)

Is there someone who has already tackled this problem? How would you solve it?

Thanks in advance for your help