RegionProperties.Centroid Property

Parent Object: RegionProperties

Description

Property that returns the centroid of the section.

Syntax

RegionProperties.Centroid() As Object

Property Value

This is a read only property whose value is an Object.

Samples

Name Description
Querying a sketch profile to get regions. This sample demonstrates getting region properties from a sketch profile.
True length of sweep feature This sample demonstrates the calculation of the true length of a sweep feature. If the centroid of the sweep profile does not lie on the sweep path, the true length of the sweep feature is not the same as the sum of lengths of the path entities.

Version

Introduced in version 2008