Message 1 of 4
CUI Frustration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I have been searching the ng for a solution and have found any. This is the issue, I have followed all directions carefully including the advice given in the "Notes on the philosophy of CUI" and I am experiencing strange results with the ACAD.CUI & ACETMAIN.CUI when loaded as partial CUI Files.
In the past (with ACAD2004) I would edit the office.mns file and save it to the server and I had a button in one of the toolbars that when clicked would run a batch file that copied the new file from the server to the client support folder, then unload the office menu files and reloaded all necessary files. Now, I've attempted to do the same with the office.cui file and strange things have been happening. First, once the files are unloaded and then reloaded the partial cui files are dropped even after using wscurrent "Common workspace". I resolved this by reloading office.cui and then ACAD.cui & ACETMAIN.cui, but I am getting duplicate menus File-Help and all express tools toolbars are visible which I like to keep hidden until needed. I worked around this issue by removing those toolbars and menus from the cui files with the obvious associated problems that type of work around now presents when trying to access the express tools toolbars. Shouldn't the show/hide status of these toolbars be stored in my workspace? Below is the code if it makes any difference.
Has anyone else run into this issue? Anyone have a solution?
I realize I'll have to restore everything back to the default and start again, but for now I have to work this way since I've become greatly frustrated and have resorted to seeking help here.
[code](defun updtAcad (/ cui cui2 cui3)
(COMMAND "START" "P:\Acad2007-UPDATE.BAT")
(setvar "CMDECHO" 0)
(LOAD "ACAD")
(LOAD "ACADDOC")
(command "_CUIUNLOAD" "office")
(if (not (menugroup "office"))
(if (and (setq cui (findfile "office.cui"))
(setq cui2 (findfile "acad.cui"))
(setq cui3 (findfile "acetmain.cui"))
)
(command "_cuiload" cui)
(prompt
(strcat "\n\n *** WARNING *** Unable to locate " cui)
)
)
)
(progn (command "_cuiload" strFile2)
(command "_cuiload" strFile3)
)
(setvar "WSCURRENT" "PrimaryNP")
)[/code]
I have been searching the ng for a solution and have found any. This is the issue, I have followed all directions carefully including the advice given in the "Notes on the philosophy of CUI" and I am experiencing strange results with the ACAD.CUI & ACETMAIN.CUI when loaded as partial CUI Files.
In the past (with ACAD2004) I would edit the office.mns file and save it to the server and I had a button in one of the toolbars that when clicked would run a batch file that copied the new file from the server to the client support folder, then unload the office menu files and reloaded all necessary files. Now, I've attempted to do the same with the office.cui file and strange things have been happening. First, once the files are unloaded and then reloaded the partial cui files are dropped even after using wscurrent "Common workspace". I resolved this by reloading office.cui and then ACAD.cui & ACETMAIN.cui, but I am getting duplicate menus File-Help and all express tools toolbars are visible which I like to keep hidden until needed. I worked around this issue by removing those toolbars and menus from the cui files with the obvious associated problems that type of work around now presents when trying to access the express tools toolbars. Shouldn't the show/hide status of these toolbars be stored in my workspace? Below is the code if it makes any difference.
Has anyone else run into this issue? Anyone have a solution?
I realize I'll have to restore everything back to the default and start again, but for now I have to work this way since I've become greatly frustrated and have resorted to seeking help here.
[code](defun updtAcad (/ cui cui2 cui3)
(COMMAND "START" "P:\Acad2007-UPDATE.BAT")
(setvar "CMDECHO" 0)
(LOAD "ACAD")
(LOAD "ACADDOC")
(command "_CUIUNLOAD" "office")
(if (not (menugroup "office"))
(if (and (setq cui (findfile "office.cui"))
(setq cui2 (findfile "acad.cui"))
(setq cui3 (findfile "acetmain.cui"))
)
(command "_cuiload" cui)
(prompt
(strcat "\n\n *** WARNING *** Unable to locate " cui)
)
)
)
(progn (command "_cuiload" strFile2)
(command "_cuiload" strFile3)
)
(setvar "WSCURRENT" "PrimaryNP")
)[/code]