Swapping Pop0 de-selects objects

Swapping Pop0 de-selects objects

Anonymous
Not applicable
491 Views
3 Replies
Message 1 of 4

Swapping Pop0 de-selects objects

Anonymous
Not applicable

I have a several different cursor menus I can pop up by holding down either the shift or control key and clicking the right mouse button.  It appears that swapping in the Pop0 menu is clearing the selection of any objects that are selected prior to activating the menu.  The definition for the alternate Pop0 menus are in a partial menu.  I've added the line:

 

            $P0=PartialMenu.CursorUtilities $P0=*

 

to the mouse buttons, ctrl+click for button 2 in the main cuix file where 'PartialMenu' is the partial menu name and 'CursorUtilities' is the alias for menu I want to swap in.

 

The swapping in and out part works as expected.  It's the clearing of selected objects that's the problem.  I know it's not being caused by the the LISP routine I'm starting because it works as expected when I run it from the command line or a ribbon button.  It's only when run it from the swapped in cursor menu that the objects are un-selected.

 

I'm currently running AutoCAD 2010, but will be moving AutoCAD 2014 in the very near future.  So far, both of these releases seem exhibit the same behavior.

 

Any Ideas?

 

Thanks.

0 Likes
Accepted solutions (1)
492 Views
3 Replies
Replies (3)
Message 2 of 4

paullimapa
Mentor
Mentor
Accepted solution
0 Likes
Message 3 of 4

Anonymous
Not applicable

Thank you Paul.

 

That seems to do the trick, but what are the ramifications of setting it to zero vs the default of 11?

0 Likes
Message 4 of 4

paullimapa
Mentor
Mentor

Glad that work-around resolves your issue.

 

Disabling the Shortcutmenu will disable a number of the on-screen cursor menus that would appear when you right click the mouse button on the graphic screen. You can read up on the Shortcutmenu features from AutoCAD's on-line Help.

 

Area Object Link | Attribute Modifier | Dwg Setup | Feet-Inch Calculator
Layer Apps | List on Steroids | VP Zoom Scales |Exchange App Store


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes