Friday, April 26, 2013

The AutoCAD custom.cui is a perfect place for custom content

Even in a managed network environment where custom CAD content is maintained and deployed, it is still nice for individual users to have the ability to add their own customizations. An administrator can maintain control of an environment but it can be good to encourage creativity for users. This gives them a chance to explore the AutoCAD CUI environment, make custom CUI elements (ribbon tabs, panels, menus, etc.) and develop useful (or just fun) macros and custom commands. The perfect place for all of this to happen is the custom.cui that is delivered with AutoCAD and resides on the local C:\ drive.

The delivered acad.cui file already has the custom.cui partially loaded. This means that every time the acad.cui file is loaded it will load the partial custom.cui file.


The custom.cui is located in the same appdata\roaming\autodesk\....\support folder that the acad.cui is. There is not a custom.mnl by default, but as we have discussed in earlier posts AutoCAD will look for a .mnl file that has the same name as all loaded CUI files. This means if we create a custom.mnl file and store it in the above location, our individual custom content in the .mnl will be automatically loaded every time AutoCAD loads! Note, one of the most helpful uses of an .mnl file is it can be an access point to load other lisp files, dll files, arx files, and more.

Using the custom.cui is a streamlined way for individual users to add creative and custom user interface elements, commands, and macros to their environment and still keep it separate from the acad.cui and network delivered content. Furthermore, this makes upgrading simple for individual users since they will just need to grab their custom.cui (and .mnl if one was created) and introduce it in the next version of AutoCAD (some tweaking may be necessary depending on differences in CUI handling from version to version).

To get started, launch AutoCAD and browse to the custom.cui as shown above. Refer to this earlier post as a refresher on how to create a custom ribbon element.

1 comment:

  1. Microsoft word is a very powerful, advance and useful word processing software which is developed by Microsoft Corporation, USA. It has all kind of word processing facilities like To create, edit, format, save and print document, to check spellings and grammar, to search for synonyms and antonyms (thesaurus), to work with newspaper columns, tables to add footnotes and end notes, page number, special symbols, clips, audio clips, power point presentations, equations, Auto CAD drawing etc.). Its extension is DOC..

    Solidworks 2012

    ReplyDelete