Help Needed: Main CUI File at App Default Path or A Main CUI Copy in a Custom Path?
IMPORTANT! Mine is a cloud-based (no LAN) work environment.
I am setting up a partial customization file for (2) two user groups:
- Admin Group
- Production Group
My goal is to store group-specific CUI, support files, and programs in a group-based folder on the user's local drive
An updater program by another will check and update these folders' contents as needed.
NOTE: The group-specific CUI's will be loaded as partial CUIs.
QUESTION 1
Is it preferable to copy the untouched Main CUI (in this case, it's Modern.CUI) to the local user folder?
OR
Do I leave the Main CUI (in this case, it's Modern.CUI) in the default installation folder as
C:\Users\<username>\AppData\Roaming\Bricsys\BricsCAD\V25x64\en_US
QUESTION 2
Should the Main CUI be loaded as a partial into each of the two custom Group CUIs?
Sincerely,
Clint
Comments
-
I have always used custom CUI etc much easier to control rather than use the CUI editor. If using pop or toolbars much easier to edit a mnu than a cui.
You can make an install lisp say checks a date etc of your current cui. It will save any lisp files etc, you just need in the lisp to unload the cui then reload the new one. Another option is that you can send the end users two files via email etc Install.lsp & allyourstuff.zip. The install lisp has the ability to unzip all the files to the correct directory on a pc, So you would have two zips just email correct one.
Happy to provide more info.
1 -
Hello again Alan,
This method sounds intriguing and practical: I will follow up with you ASAP after priority content additions for "production support" are complete.
Can you provide an example of what would your install.lsp code would look like?
Some users prefer toolbars and others do not.
The tool palette is a main tool/focus in providing standard content to users as it allows configurations for the content including preset layering and other content properties.
The POP menus seem practical as well. While I try to be objective and use the better option all possible, the cascading nature of dropdown menus and submenus is not a personal favorite for accessing large amounts of content. Again, my use of them is limited and I am open-minded: This is worth a look.
Give me a day or so, please to reply.
Thanks,
Clint
0 -
Easy answer first, "Some users prefer toolbars and others do not." I made a script with the toolbar settings for each user. So after running install, would just run the script.
A better way is that you can get each users login name so can run lisp (command "Toolbar" "layouts" "show") etc. (setq who (getenv "username")) use in an if etc.
"The tool palette " I have not used them but can add to the zip etc so its saved on a pc, then load. had a quick look Options, Files, Tool palettes add yours. Will have a look at how to add in the install lisp.
Experiment with this not tested.
(setq files (vla-get-files (vla-get-preferences (vlax-get-Acad-object))))
(setq toolpaths (vla-get-ToolPalettePath files))
"C:\Users\xxxx\AppData\Roaming\Bricsys\BricsCAD\V25x64\en_US\Support\ToolPalettes\"
Add same as support paths method. Put.
1 -
Will do. I thank you for this valuable input, Alan!
May I modify and/or share the LISP example file with a colleague?
0 -
Yes the Install method has been posted numerous times. so its out there, Just put a
; Original code by AlanH July 2025 as say a 1st line then add next line as
; Install modified by Clint2U July 2025
; user toolbars added and so on.
1