Returns the Centroid of this solid.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.3.0.0 (26.3.0.0)
Syntax
C#
public XYZ ComputeCentroid()
Return Value
XYZThe XYZ point of the Centroid of this solid.
public XYZ ComputeCentroid()