Solid.Centroid vs solid.ComputeCentroid();

Hi all,

I have tried for days to look for an answer but I have not found it … I have a dynamo node that asks for the geometry and then the solid to calculate the centroid of an element. On the other hand I would like to replicate the app with C # code with an addin. But I run into the problem that solid.ComputeCentroid (); it gives me a very different result. Any support?

It is because of units. You have to convert feet to metrics.


It was a silly question. But you solved my life.

1 Like