dos_plinecentroid

返回封闭二维多段线图元的质心.


语法

(dos_plinecentroid entity)

参数

entity

封闭二维多段线的图元名.

返回

如果成功, 返回质心.

nil 失败时.

示例

Command: (dos_plinecentroid (car (entsel "\nSelect a closed curve:")))

(35.8886 26.6375 0.0)