Pointing Devices and Displays

Reply
*Nick
Message 11 of 14 (16 Views)

Re:

04-17-2000 07:32 AM in reply to: *Reader, News
Button 1 is normally not programmable according to the A2K papers I have
read and is a pick only setting. I could use some help on the programming
codes to use in the acad.mns file for ***BUTTONS.
Nick

Randy LaRue wrote in message <8a9j8a$pms1@adesknews2.autodesk.com>...
>Clifton,
>
>I can't offer a solution to your problem, but can comiserate with you, and
>let you know you're not crazy. I'm experiencing the same problem with a
>Summasketch 3. With "shortcutmenu" set to zero, button 1 won't do anything,
>no matter what I have in the button or aux menus, unless that button is
>configured as right-click in the wintab driver. My guess is a programer
>along the line forgot that button 1 was supposed to be programable. I hope
>this problem gets recognized and a fix is provided.
>
New Member
joe111
Posts: 2
Registered: ‎05-17-2000
Message 12 of 14 (16 Views)

Re: 16-BUTTON CURSOR PROBLEM w/acad2000

05-17-2000 10:34 PM in reply to: *Reader, News
If anyone out there has got the db111 button #1 (really button 2 in theory) to be programmed as a command ie line please get back with me. Writer im crazy with you on this wierd coding of button #1. cad14 worked just fine on button #1 just as all its predicessors. Pass on the knowledge if you figure this out.
*Doane, David
Message 13 of 14 (16 Views)

Re:

05-19-2000 05:29 AM in reply to: *Reader, News
Joe111,

Assuming that you have already modified the menu itself, possibly
just entering "shortcutmenu" and setting it to "0" (zero) may solve
your problem.

Since I was just passing by and don't often visit here, if you would
like further help feel free to contact me at:
lectromech@cyberportal.net
--
Dave D

joe111 wrote in article
...
> If anyone out there has got the db111 button #1 (really button 2 in
theory) to be programmed as a command ie line please get back with
me. Writer im crazy with you on this wierd coding of button #1.
cad14 worked just fine on button #1 just as all its predicessors.
Pass on the knowledge if you figure this out.
>
*Doane, David
Message 14 of 14 (16 Views)

Re:

05-25-2000 07:23 AM in reply to: *Reader, News
> joe111 wrote in article
> ...
> > If anyone out there has got the db111 button #1 (really button 2
in
> theory) to be programmed as a command ie line please get back with
> me. Writer im crazy with you on this wierd coding of button #1.
> cad14 worked just fine on button #1 just as all its predicessors.
> Pass on the knowledge if you figure this out.
> >
Since a member of this NG contacted me directly, I did some further
study of the situation and came up with the fact that, while a
command may not be possible for button 1 on a digitizer, or right
button on a mouse, by modifying the ACAD Menu, it is possible by
using a Partial Menu. Just one more reason to use a Partial Menu
rather than modify the ACAD Menu. :smileyhappy:

In substance, this is the portion of the ACAD Menu that controls
button 1. Depending on your reader settings it may wrap.

// Default AutoCAD NAMESPACE declaration:
//
***MENUGROUP=ACAD
//
// Begin AutoCAD Digitizer Button Menus
//
***BUTTONS1
// Simple + button
// if a grip is hot bring up the Grips Cursor Menu (POP 500), else
send a carriage return
// If the SHORTCUTMENU sysvar is not 0 the first item (for button 1)
is NOT USED.
$M=$(if,$(eq,$(substr,$(getvar,cmdnames),1,5),GRIP_),$P0=ACAD.GRIPS
$P0=*);
$P0=SNAP $p0=*
^C^C
^B

***AUX1
// Simple button
// if a grip is hot bring up the Grips Cursor Menu (POP 500), else
send a carriage return
// If the SHORTCUTMENU sysvar is not 0 the first item (for button 1,
the "right button")
// is NOT USED.
$M=$(if,$(eq,$(substr,$(getvar,cmdnames),1,5),GRIP_),$P0=ACAD.GRIPS
$P0=*);
$P0=SNAP $p0=*
^C^C
^B

The above statements concerning button 1 care slightly confusing, at
least as to Partial Menus.

If the SHORTCUTMENU is 0, then an ENTER (or a Command) will be issued
unless a grip is hot, in which case a command line prompt will be
issued.

If the SHORTCUTMENU is not 0, then depending on the value of
SHORTCUTMENU, an ENTER or one of the POP 5** Cursor Menus will be
used.

In your Partial Menu, you may simply replace the semicolon with a
command and still retain the grips menu, or replace the whole $M
statement with the command only. Remember to set your SHORTCUTMENU
to 0.

***MENUGROUP=MYMENU
***BUTTONS1
// Simple + button
$M=$(if,$(eq,$(substr,$(getvar,cmdnames),1,5),GRIP_),$P0=ACAD.GRIPS
$P0=*)^C^Cmycommand
$P0=SNAP $p0=*
^C^C
^B

***AUX1
// Simple button
$M=$(if,$(eq,$(substr,$(getvar,cmdnames),1,5),GRIP_),$P0=ACAD.GRIPS
$P0=*)^C^Cmycommand
$P0=SNAP $p0=*
^C^C
^B

Or if you wish to just transfer the $M statement with the carriage
return to button number 3, thereby freeing up button number one for
the command, your menu might look like:

***MENUGROUP=MYMENU
***BUTTONS1
// Simple + button
^C^Cmycommand
$P0=SNAP $p0=*
$M=$(if,$(eq,$(substr,$(getvar,cmdnames),1,5),GRIP_),$P0=ACAD.GRIPS
$P0=*);
^B

***AUX1
// Simple button
^C^Cmycommand
$P0=SNAP $p0=*
$M=$(if,$(eq,$(substr,$(getvar,cmdnames),1,5),GRIP_),$P0=ACAD.GRIPS
$P0=*);
^B

You will notice that whatever is done in Button 1 is done in Aux 1.

It is surprising what can be done with a Partial Menu. I was under
the impression that you could only have one POP 0 Context Menu. With
a 16 button cursor you can actually have up to 32, and spanned over
several menus. Of course for each partial menu you will need an
accompanying .mnl file to tell it how to supplement and/or overwrite
the ACAD Menu.

I hope this helps someone along the way. If more information is
desired, you may post here, or, since I seldom visit this NG, you may
contact me at lectromech@cyberportal.net.
--
Dave D

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community