View Full Version : Edit Cuix files with batch or lisp
Trevor Deleske
2017-12-04, 03:10 PM
Is it possible to Edit any cuix file settings with batch or lisp.
In particular I am looking to edit the Contextual tab defaults for ACAD.cuix: Layout Tools and C3D.cuix: Geo Coordinate system assigned.
I would like to do this as opposed to copying the edited cuix file(s) to other machines.
thank you
Trevor
rkmcswain
2017-12-04, 07:38 PM
I suppose technically, you could. The CUIX is just a ZIP file containing CUI files (which are .XML format) - so if you understood the format and made some assumptions - I guess you could do it.
dgorsman
2017-12-04, 10:54 PM
Ermmm... are you asking about editing the files? Or where the files are *found*? Because the alternative to "... copying the edited CUIx file to other machines ..." isn't to programmatically manipulate the file contents, but to locate them in a network folder with limited permissions and point all users to that location.
BIG-AL
2017-12-08, 11:01 PM
I leave all originals alone, make a new workspace then have custom menus that pull stuff from all over the place, I have a mixture of CIV3d and Autocad as my pull downs including 1 menu which has around 8 items each from 3CIV3d menus so no swapping workspaces.
Happy to provide more info.
Tom Beauford
2017-12-11, 12:50 PM
Check out Menu information in the registry (http://adndevblog.typepad.com/autocad/2013/01/menu-information-in-the-registry.html)
I've been using PersonalMtextSymbols.LSP (http://jtbworld.com/autocad-personalmtextsymbols-lsp) by Jimmy Bergmark (http://jtbworld.com/) to make modifications to the Windows Registry for many years to add symbols to the Mtext editor.
Have never tried modifying the Contextual tab defaults that way, but it may work if you can find the key for it in the Windows registry. Simply modifying the CUI file in the CUI has always worked for me.
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.