Skip to content

dos_plinecentroid

Dale Fugier edited this page Nov 1, 2023 · 2 revisions

Returns the centroid of a closed, planar polyline entity.

Syntax

(dos_plinecentroid entity)

Parameters

entity

The entity name of a closed, planar curve object.

Returns

The centroid if successful.

nil if not successful or on error.

Example

Command: (dos_plinecentroid (car (entsel "\nSelect a closed curve:")))
(35.8886 26.6375 0.0)
Clone this wiki locally