2012

Table Of Contents
Quick Reference
Commands
CUI
Manages the customized user interface elements in the product.
System Variables
FILLMODE
Specifies whether hatches and fills, 2D solids, and wide polylines are filled
in.
Use AutoLISP in Macros
Creating commands that use AutoLISP is a more advanced way to use the
AutoCAD customization feature.
You can use AutoLISP variables and expressions to create macros that perform
complex tasks. To use AutoLISP efficiently in macros, place AutoLISP code in
a separate MNL file. AutoCAD loads the MNL file when it loads a CUIx file
with the same name and in the same location.
You can specify additional AutoLISP files to load in the Customize User
Interface (CUI) Editor. Creating commands that use AutoLISP is a more
advanced way to use the AutoCAD customization feature. Carefully study the
following examples and the information in the AutoLISP Reference and the
AutoLISP Developer's Guide. To access the additional help resources, on the
InfoCenter toolbar, to the right of the Help button, click the drop-down arrow.
Experimentation and practice will help you use this feature effectively.
Call a Macro
To programmatically execute a pull-down menu macro, use the following
syntax:
(menucmd "Gcustomizationgroup.element_ID=|")
The previous syntax works only if the menu macro is part of a menu that is
on the AutoCAD menu bar and is available for use. For more information
about this syntax, see the AutoLISP Reference.
Create Macros | 163