Costinbos77 Posted February 19, 2013 Posted February 19, 2013 (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 February 20, 2013 by Costinbos77 Quote
Costinbos77 Posted February 21, 2013 Author Posted February 21, 2013 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 Quote
SLW210 Posted February 21, 2013 Posted February 21, 2013 I merged your threads, please do not double post. Quote
Costinbos77 Posted February 21, 2013 Author Posted February 21, 2013 Still waiting for an answer. Quote
SLW210 Posted February 21, 2013 Posted February 21, 2013 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. Quote
Costinbos77 Posted February 21, 2013 Author Posted February 21, 2013 I tried to rephrase, maybe I was not too explicit for the first time. Quote
Recommended Posts
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.