Hello All,

was wondering if some of the experts here can help me obtain the c.g. of a particular Revit element. I have successfully been using the centroid node to get the c.g. but there are several cases where the geometry is not converted to a solid, instead I get a list of surfaces instead. does anyone have any other methods of evaluating a elements in order to get the center of gravity? (Revit file attached for reference).








panel c.g.test_detached


Thank you in advance.


Have you tried joining all the surface into a solid using ‘ByJoinedSurfaces’?



I will try this when I get back into the office.

Thank you.


worked like a charm.


Thank you Vickram!