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
    Member
    Join Date
    2016-02
    Location
    Calgary Alberta
    Posts
    14
    Login to Give a bone
    0

    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
    Trevor

  2. #2
    Administrator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,803
    Login to Give a bone
    0

    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
    2015-12
    Posts
    2,095
    Login to Give a bone
    0

    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.

  4. #4
    All AUGI, all the time
    Join Date
    2003-07
    Posts
    555
    Login to Give a bone
    0

    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
    2001-03
    Location
    Tallahassee, FL USA
    Posts
    3,658
    Login to Give a bone
    1

    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.

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
  •