Odcl_MiddlePointPick

(From ODCL_LM file)

<< Click to Display Table of Contents >>

Navigation:  ObjectDCL > Free Extra Lisp function > DWG utilities >

Odcl_MiddlePointPick

(From ODCL_LM file)

Previous pageReturn to chapter overviewNext page

Odcl_MiddlePointPick

This function will get the middle coordinate of a selected entity.

First Parameter

coordinate points

 

Second Parameter

coordinate points

 

 

Example:

(Odcl_MiddlePointPick

(osnap (getpoint "\nFirst Point..") "_end")

(osnap (getpoint "\nSecond Point..") "__nd,_int")

)

 

Result:

List of middlepoint coordinate and half length

;((2140.84 1366.26 0.0) 403.673)

 

AutoLisp Syntax:

(Odcl_MiddlePointPick Entity [as ename])