ObjectDCL Banner

GetDwgMouseCoords Method

Description

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

Return Values

Returns the following according to the situation:

  • A 3dPoint indicating the position.
  • Nil if there is a problem.

AutoLISP Syntax

The method takes no parameter.

CopyCode imageCopy Code
(Odcl_GetDwgMouseCoords )

Remarks

This function will not work in perspective mode.

Example

CopyCode imageCopy Code
; Get the mouse position in the drawing
(Setq rValue (Odcl_GetDwgMouseCoords))

See Also

GetMouseCoords