Odcl_GetDwgMouseCoords

(srom Extension file)

<< Click to Display Table of Contents >>

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

Odcl_GetDwgMouseCoords

(srom Extension file)

Previous pageReturn to chapter overviewNext page

Odcl_GetDwgMouseCoords

This function will return the current screen position of the cursor as it sits on the displayed drawing.

Remarks

This function will not work in perspective mode.

 

Return Values

Returns the following according to the situation:

A 3dPoint indicating the position.

Nil if there is a problem.

 

Example

;Get the mouse pos tion it the drawing

(Setq rValue (Odcl_GetDwgMouseCoords))

 

AutoLisp Syntax:

(Setq rValue (Odcl_GetDwgMouseCoords))