Jump to content

Recommended Posts

Posted

Is possible ?

 

In vlr-mouse-reactor , i find ( :vlr-begindoubleclick , :vlr-beginrightclick)

 

Exists Mouse Move ?

 

Thanks

Posted

To my knowledge, there is no reactor that is triggered by movement of the mouse.

 

The alternative would be to use the grread function to detect user input in the form of mouse movement, however, unlike a reactor, this function will take focus over all other actions.

Posted

Visual LISP currently does not support a mouse reactor 'move' event, however, the GRREAD LispFunction does (sort of).

 

The only other way that I am aware of, is to employ a PointMonitor event handler using the .NET API, as I demonstrate in this post.

 

HTH

 

 

** Edit to add - Lee, you speedy bloke! LoL

Posted
** Edit to add - Lee, you speedy bloke! LoL

 

8)

 

Though, its encouraging that we're echoing each other's comments :thumbsup:

Posted

I resolved my problem using using (: vlr-commandwillstart), before any command.

 

 

Instead of using the mouse event, I'm using the event before executing a command

 

 

thanks to all ;)

 

 

 

 

 

 

 

 

(if (null *save-reactor2*)
   (setq *save-reactor2* (vlr-command-reactor nil '((:vlr-commandwillstart  . teste)))) 
)

(defun teste ( reactor params )
(if (= (getvar "ctab") "Model")
(progn
)
  (progn
 (layer-on)               
)
)
(princ)

)

Posted (edited)
8)

 

Though, its encouraging that we're echoing each other's comments :thumbsup:

 

For me to have the fortunate coincidence of echoing a mentor, is something to be proud of, in deed. :beer:

Edited by BlackBox
Phrasing

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...