Anuncios
Welcome to the Revit Ideas Board! Before posting, please read the helpful tips here. Thank you for your Ideas!
Comentario
Advocate
Advocate

I happen to need this functionality too, but I found two ways to get a centroid in the Revit API.

Autodesk.Revit.DB.Solid has a ComputeCentroid method.

Autodesk.Revit.DB.Analysis.PolyLoop has a Centroid property.

Hopefully one of these methods work for you.  I will be trying them out myself shortly.