Calculates the area centroid of a mesh object.
Rhino.MeshAreaCentroid (strObject)
strObject |
Required. String. The identifier of a mesh object. |
Array |
A 3-D point identifying the area centroid if successful. |
Null |
If not successful, or on error. |
Const rhObjectMesh = 32
Dim strObject
strObject = Rhino.GetObject("Select mesh", rhObjectMesh )
Rhino.AddPoint Rhino.MeshAreaCentroid(strObject)