Jump to content

The results obtained with the function grread


Recommended Posts

Posted (edited)

Hi there,

 

Does anyone know if using function:

 

([color=blue]setq[/color] gr ([color=blue]grread[/color] T 15 0) vt ([color=blue]CADR[/color] g)  [color=red]cd[/color] ([color=blue]car[/color] gr))

 

vt code is the same when I press a button on a toolbar (eg "Object Snap") ?

 

I noticed that in various sessions of AutoCAD 2012, different values ​​are obtained in the range : (

fot toolbar "Object Snap" .

 

1472 = "end"

 

1473 = "mid"

 

. . .

 

1491 = osnap

 

Thanks !

Edited by Costinbos77
Posted

Hello,

 

Does anyone know if the tool bar buttons vt code, taken with the function grread :

 

(setq gr (grread T 15 0) [color=red]vt[/color] (CADR g) cd (car gr))

 

is the same in any version and any AutoCAD session ?

 

For exemple OBJECT SNAP tool bar :

 

gr = (2 1472) ; for END point button

gr = (2 1473) ; for MID point button

 

... ...

 

gr = (2 1491) ; for SNAP button

Posted

I merged your threads, please do not double post.

Posted

Still waiting for an answer.

Posted

Just post in the original thread and bring it to the top, no need to double post, it confuses things when answers start in two different threads.

Posted

I tried to rephrase, maybe I was not too explicit for the first time.

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...