PDA

View Full Version : Add new drop down menu to CUI


methost
2007-03-14, 04:29 PM
I have tried adding a new drop down menu to the acad CUI. I have also tried creating a custom CUI to insert this new menu in to. Both seem to work, but no drop down is displayed. Anyone have a guess as to what may be stopping this from working?

ccowgill
2007-03-14, 04:48 PM
there may be an error. I added a blank secondary dropdown menu and it caused my main menu not to appear. otherwise, try this code:


(defun c:loadmenu ()
(if (= (menugroup "wightman") nil)
(progn
(command "cuiload" "wightman")
(menucmd "p13=+wightman.pop13")
);end progn
) ;end if
) ;end defun


replace wightman with the name of the cui file and the pop13 and p13 to whatever your next sequence is. It is kind of confusing but f1 can guide you through it.