COG and Mass of a Set
Scripts on this page are available here:
Center of gravity and mass of a named set
Use the script COGAndMass.js to find the center of gravity and the mass of a named set. Note that you can edit the script to find the COG for only one type of structure, like only the straight beams for example.