Middle Button Snap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Heeellllpppppp - old guy here trying to preserve my middle button snap that I've been using since 1997 or so, now updating to 2011. This is the custom lisp I've been using all these years:
; Dan's Custom.lsp - last modified 08/23/10
(menucmd "A1=custom.AUX11")
(menucmd "A2=custom.AUX12")
(MENUCMD "A3=custom.AUX13")
(MENUCMD "A4=custom.AUX14")
***AUX11
**CUSTOM_A1
$M=$(if,$(eq,$(substr,$(getvar,cmdnames),1,5),GRIP_),$P0=ACAD.GRIPS $P0=*);
_end,_int,_mid,_cen,_ins,_nod \
***AUX12
**CUSTOM_A2
$P0=SNAP $p0=*
$P0=SNAP $p0=*
***AUX13
**CUSTOM_A3
$P0=SNAP $p0=*
_qua,_per \
***AUX14
**CUSTOM_A4
$P0=SNAP $p0=*
now i get an error:
Command: ; error: no function definition: GETVAR,CMDNAMES
anyone tell me what I'm doing wrong? I've tried pasting the following bit to the mouse button macro line in the CUI with no luck
$M=$(if,$(eq,$(substr,$(getvar,cmdnames),1,5),GRIP_),$P0=ACAD.GRIPS $P0=*);
_end,_int,_mid,_cen,_ins,_nod \
Thanks for any luck