dos_plinecentroid - dalefugier/DOSLib GitHub Wiki
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)