| Author |
Message |
trathbun
Guest
|
Posted:
Sun Jan 02, 2005 10:52 pm Post subject:
Right Click Context Menus |
|
|
I have right-click context menus that allow the user of a custom lisp program to do a right-click and select from a list of choices. However, I have recently moved to a new computer and the context menus are no longer working for my custom lisp commands. I have tried re-compiling the menu without any success.
Has anyone else experienced this ? Any ideas ?
Thanks,
Tim Rathbun
|
|
| Back to top |
|
 |
Walt Engle
Guest
|
Posted:
Sun Jan 02, 2005 11:43 pm Post subject:
Re: Right Click Context Menus |
|
|
| Are your lsp routines in a folder that can be found by the Search file path? |
|
| Back to top |
|
 |
trathbun
Guest
|
Posted:
Mon Jan 03, 2005 12:04 am Post subject:
Re: Right Click Context Menus |
|
|
Yes, the lisp routines run but the associated context menus do not display.
Context menus above ***POP518 are being ignored.
Thanks,
Tim Rathbun
|
|
| Back to top |
|
 |
Walt Engle
Guest
|
Posted:
Mon Jan 03, 2005 2:12 am Post subject:
Re: Right Click Context Menus |
|
|
| When you say "recompiling without any success", does that mean your new POP is in the acad.mnu or the acad.mns? |
|
| Back to top |
|
 |
R. Robert Bell
Guest
|
Posted:
Mon Jan 03, 2005 3:19 am Post subject:
Re: Right Click Context Menus |
|
|
To enable options to display on a context menu you only need to correctly
format the prompt, not edit any menu.
The prompt should be in the format of:
"descriptive text [option1/option2/option3] <option1>: "
The square brackets ([]) enclose the possible options, each of which is
separated by forward slashes (/). Capitalization on the options should be
unique so that they can be entered from the keyboard also. If you want a
default you need to enclose the default option _again_ in the angle brackets
(<>).
Sample:
(getkword "\nSpecify diffuser type
[Normal/Pan/Circular/Slot/lineaR/Wall/Louver] <Normal>: ")
--
R. Robert Bell
"trathbun" <nospam@address.withheld> wrote in message
news:12856815.1104688365404.JavaMail.jive@jiveforum2.autodesk.com...
I have right-click context menus that allow the user of a custom lisp
program to do a right-click and select from a list of choices. However, I
have recently moved to a new computer and the context menus are no longer
working for my custom lisp commands. I have tried re-compiling the menu
without any success.
Has anyone else experienced this ? Any ideas ?
Thanks,
Tim Rathbun |
|
| Back to top |
|
 |
trathbun
Guest
|
Posted:
Mon Jan 03, 2005 6:55 am Post subject:
Re: Right Click Context Menus |
|
|
They are in the acad.mnu
Thanks,
Tim Rathbun |
|
| Back to top |
|
 |
trathbun
Guest
|
Posted:
Mon Jan 03, 2005 7:14 am Post subject:
Re: Right Click Context Menus |
|
|
Well yes or you can add them to the Acad.mnu by creating a specific ***pop that will be triggered by a specific program. I find this method to be much more flexible than the method you have described.
I have been using this method for the last several years with out any problems. I recently loaded a new machine and I am finding that AutoCAD is ignoring anything above ***POP 518 on that particular machine.
Thanks,
Tim Rathbun |
|
| Back to top |
|
 |
Walt Engle
Guest
|
Posted:
Mon Jan 03, 2005 8:55 am Post subject:
Re: Right Click Context Menus |
|
|
| That's what I do - I deleted the POP with "help" (substituting my own) and made two more, such as POP10 & POP11. That way, I have my own pulldown and cascading. |
|
| Back to top |
|
 |
Walt Engle
Guest
|
Posted:
Mon Jan 03, 2005 8:57 am Post subject:
Re: Right Click Context Menus |
|
|
well.......that's partiall incorrect. Below is a sample:
***POP10
**TEXT
[&Text]
[Change TEXT]^c^c^p(if (not chgtxt)(load "chgtxt"));CHGTXT
[Re-position text to left]^c^c^p(IF (NOT TP)(LOAD "TP"));TP
[Compress text to fit]^c^c^p(IF (NOT TXTFIT)(LOAD "TXTFIT"));TXTFIT
[Underline Selected text]^c^c^p(if (not un)(load "un"));un
[Overline Selected text]^c^c^p(if (not ol)(load "ol"));ol
[Change text SIZE]^c^c^p(if (not chgts)(load "chgts"));CHGTS
[Change text STYLE]^c^c^p(if (not chgsty)(load "chgsty"));CHGSTY
[Change CASE of text]^C^C^P(if (not chcases)(load "chcases"));chcases
[GLOBALLY change MTEXT to plain TEXT]^c^C^p(if (not mtt)(load "mtt"));mtt
[--]
[Text Leader - A]^c^c^p(IF (NOT LDR)(LOAD "LDR"));LDR
[Sequentially Numbered Bubbles with leader]^c^c^p(if (not tag)(load "tag"));tag
[--]
[ADD TEXT]^c^c^p(if (not gt)(load "gt"));GT
[--]
[User's Title]^c^c^p(IF (NOT TITLE-X)(LOAD "TITLE-X"));TITLE-X
[--]
[Delete Applications]^c^c^p(if (not remregapps)(load "remregapps"));remregapps |
|
| Back to top |
|
 |
R. Robert Bell
Guest
|
Posted:
Mon Jan 03, 2005 7:23 pm Post subject:
Re: Right Click Context Menus |
|
|
<shrug>
Are you sure this machine is finding _your_ version of the menu? (findfile)
ought to tell you. And you might find it easier to maintain the menu if you
use partial menus.
--
R. Robert Bell
"trathbun" <nospam@address.withheld> wrote in message
news:17291015.1104718511853.JavaMail.jive@jiveforum1.autodesk.com...
Well yes or you can add them to the Acad.mnu by creating a specific ***pop
that will be triggered by a specific program. I find this method to be much
more flexible than the method you have described.
I have been using this method for the last several years with out any
problems. I recently loaded a new machine and I am finding that AutoCAD is
ignoring anything above ***POP 518 on that particular machine.
Thanks,
Tim Rathbun |
|
| Back to top |
|
 |
j buzbee
Guest
|
Posted:
Mon Jan 03, 2005 7:33 pm Post subject:
Re: Right Click Context Menus |
|
|
R. Robert Bell <shrug>ed his sholders:
Don't worry R. Your "simple" response has helped me solve a problem I've
been beating my head against the wall now for about 2 mos.! Thanks!!!
jb |
|
| Back to top |
|
 |
trathbun
Guest
|
Posted:
Mon Jan 03, 2005 7:41 pm Post subject:
Re: Right Click Context Menus |
|
|
Yes it is finding the menu - all of my other customizing is working fine it is just not finding anything above ***POP518. I dont see how a partial menu would help it would still have the same problem. I am beginning to wonder if XP SP2 is causing the problem.
Thanks,
Tim Rathbun |
|
| Back to top |
|
 |
R. Robert Bell
Guest
|
Posted:
Mon Jan 03, 2005 7:46 pm Post subject:
Re: Right Click Context Menus |
|
|
I'm glad I could help.
--
R. Robert Bell
"j buzbee" <jdb@journeysendfarm.net> wrote in message
news:41d957a1_3@newsprd01...
R. Robert Bell <shrug>ed his sholders:
Don't worry R. Your "simple" response has helped me solve a problem I've
been beating my head against the wall now for about 2 mos.! Thanks!!!
jb |
|
| Back to top |
|
 |
R. Robert Bell
Guest
|
Posted:
Mon Jan 03, 2005 7:47 pm Post subject:
Re: Right Click Context Menus |
|
|
So that is the only obvious difference between machines?
--
R. Robert Bell
"trathbun" <nospam@address.withheld> wrote in message
news:2298338.1104763306532.JavaMail.jive@jiveforum2.autodesk.com...
Yes it is finding the menu - all of my other customizing is working fine it
is just not finding anything above ***POP518. I dont see how a partial menu
would help it would still have the same problem. I am beginning to wonder
if XP SP2 is causing the problem.
Thanks,
Tim Rathbun |
|
| Back to top |
|
 |
Dommy2Hotty
Guest
|
Posted:
Mon Jan 03, 2005 8:41 pm Post subject:
Re: Right Click Context Menus |
|
|
| How about you post the code from ***POP517 to ***POP519? Same version of AutoCAD as your previous machine? |
|
| Back to top |
|
 |
|
|
|
|