See the top rated post in this thread. Click here

Results 1 to 5 of 5

Thread: Edit Cuix files with batch or lisp

  1. #1
    Join Date
    Calgary Alberta
    Login to Give a bone

    Default Edit Cuix files with batch or lisp

    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

  2. #2
    Administrator rkmcswain's Avatar
    Join Date
    Login to Give a bone

    Default Re: Edit Cuix files with batch or lisp

    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.
    R.K. McSwain | CAD Panacea |

  3. #3
    AUGI Addict
    Join Date
    Login to Give a bone

    Default Re: Edit Cuix files with batch or lisp

    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.
    If you are going to fly by the seat of your pants, expect friction burns.
    Some say beauty is in the eye of the Beholder... perhaps so, but I've only seen the disintegration beam.
    Everyone else being wrong is not the same thing as being right.

  4. #4
    I could stop if I wanted to
    Join Date
    Login to Give a bone

    Default Re: Edit Cuix files with batch or lisp

    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.

  5. #5
    Certifiable AUGI Addict
    Join Date
    Tallahassee, FL
    Login to Give a bone

    Default Re: Edit Cuix files with batch or lisp

    Check out Menu information in the registry
    I've been using PersonalMtextSymbols.LSP by Jimmy Bergmark 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.
    Tom Beauford P.S.M. - Civil 2020 on Windows 10 Enterprise
    Design Analysis - Leon County Public Works/Engineering Wrap [CODE] tags around selected text
    2280 Miccosukee Rd. Tallahassee, FL 32308-5310
    Ph# (850)606-1516 Home Page

Similar Threads

  1. 2018: Fatal Error Customizing 2018 C3D - overwriteing cuix files
    By mr756944 in forum AutoCAD CUI Menus
    Replies: 4
    Last Post: 2017-10-11, 05:51 PM
  2. Replies: 4
    Last Post: 2017-01-25, 07:45 PM
  3. CP204-2: API for CUIx Files and the Runtime Ribbon in AutoCAD
    By Autodesk University in forum Customization and Programming
    Replies: 0
    Last Post: 2014-12-01, 01:45 AM
  4. Missing pdfic.cuix pdfmacad.cuix
    By kathleen.143968 in forum AutoCAD CUI Menus
    Replies: 2
    Last Post: 2010-02-01, 10:51 PM
  5. Can I edit drawings in a batch?
    By bkimmel in forum AutoCAD General
    Replies: 9
    Last Post: 2009-02-05, 03:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts