centroid in lisp

centroid in lisp

Anonymous
Not applicable
564 Views
1 Reply
Message 1 of 2

centroid in lisp

Anonymous
Not applicable
how to get centroid of a polygon in lisp

subash
0 Likes
565 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Hi,

Try this

(setq cenpt(ade_expreval polyent ".CENTER" "point"))
(command "point" cenpt)

where polyent is ename of polygon entity selected
0 Likes