Message 1 of 4
Unable to add menu pulldown at end
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
HI All,
I'm trying to display a pulldown menu at the end of the autocad pulldowns (after the help pulldown menu). The new menu comes from a partial custom menu I created. I had done this in previous versions, but doesn't want to play now...
I'm checking the last pulldown menu index using:
(setq nextpop (rtos (vla-get-count (vla-get-menubar (vlax-get-acad-object))) 2 0))
If I then try the following to add the custom pulldown at the next available position, it doesn't work:
(menucmd (strcat "P" (rtos (+ 1 (read nextpop)) 2 0) "=Custom.POP15"))
However, I can use the following and the pulldown loads where the help menu used to be:
(menucmd (strcat "P" nextpop "=Custom.POP15"))
Using Advance Steel 2018...
Thanks in advance.
Dart