AutoCAD 2011 Customization Guide February 2010
© 2010 Autodesk, Inc. All Rights Reserved. Except as otherwise permitted by Autodesk, Inc., this publication, or parts thereof, may not be reproduced in any form, by any method, for any purpose. Certain materials included in this publication are reprinted with the permission of the copyright holder. Trademarks The following are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and other countries: 3DEC (design/logo), 3December, 3December.
Contents Chapter 1 Basic Customization . . . . . . . . . . . . . . . . . . . . . . . . 1 Overview of Customization . . . . . . . . . . . . . . . . . . . . . . . . 1 Organize Program and Support Files . . . . . . . . . . . . . . . . . . . . 4 Overview of File Organization . . . . . . . . . . . . . . . . . . . . 4 Multiple Configurations . . . . . . . . . . . . . . . . . . . . . . . 7 Multiple Drawing Folders . . . . . . . . . . . . . . . . . . . . . . 8 Locate Customized Files . . . . . . . . . . . . . . .
Work with User Interface Elements . . . . . . . Manage and Modify Action Macros . . . . . . . . . . Manage Action Macros . . . . . . . . . . . . . Insert User Messages . . . . . . . . . . . . . . Pause for User Input . . . . . . . . . . . . . . . Work with Coordinates . . . . . . . . . . . . . Insert Base Points . . . . . . . . . . . . . . . . Work with Object Selections . . . . . . . . . . Tips for Using the Action Recorder . . . . . . . . . . Examples of Action Macros . . . . . . . . . . . . . .
Create a Shortcut Menu . . . . . . . . . . . . . . Customize Shortcut Key . . . . . . . . . . . . . . Create a Double Click Action . . . . . . . . . . . Create a Mouse Button . . . . . . . . . . . . . . Create and Modify Workspaces . . . . . . . . . . . . . Create a Workspace from the User Interface . . . Create a Workspace with the CUI Editor . . . . . Create and Manage Customization Files . . . . . . . . . . . Basics of Customization Files . . . . . . . . . . . . . . Create and Load a Partial CUIx File .
Create a Pull-Down Menu . . . . . . . . . . . . . . Create a Shortcut Menu . . . . . . . . . . . . . . . Create Submenus . . . . . . . . . . . . . . . . . . Reference Pull-Down or Shortcut Menus . . . . . . Swap and Insert Pull-Down Menus . . . . . . . . . Quick Properties . . . . . . . . . . . . . . . . . . . . . . Rollover Tooltips . . . . . . . . . . . . . . . . . . . . . . Keyboard Shortcuts . . . . . . . . . . . . . . . . . . . . Shortcut Keys . . . . . . . . . . . . . . . . . . . .
<= (less than or equal to) . . . . . . . . . . . . . . . . . . . . . 405 >= (greater than or equal to) . . . . . . . . . . . . . . . . . . . . 406 and . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 406 angtos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 406 edtime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407 eq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 409 eval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
The ACAD.LSP File . . . . . . . . . . . . . . . . . . . . . . 442 The ACADDOC.LSP File . . . . . . . . . . . . . . . . . . . 443 The MNL File for an AutoLISP Menu . . . . . . . . . . . . 444 Prevent AutoLISP Errors When Loading Startup Files . . . . 445 S::STARTUP Function: Postinitialization Execution . . . . . 446 ObjectARX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 447 Overview of ObjectARX . . . . . . . . . . . . . . . . . . . . . . 447 Use ObjectARX Applications . . . . . . . . . .
Basic Customization 1 Your dealer can offer you independently developed applications that can further tailor AutoCAD to your needs. Overview of Customization AutoCAD can be customized in simple ways. For example, you can change the directory structure or move a button from one toolbar to another. If you want to change the interface further, you can edit the CUIx file and use DIESEL code to create customizations with your own commands.
■ Define command aliases. You can define simple abbreviations, or aliases, for frequently used commands from within AutoCAD by adding the command to the PGP file acad.pgp. For example, you might want to start the BLOCK command by entering b. ■ Create custom linetypes, hatch patterns, shapes, and text fonts. You can create linetypes, hatch patterns, shapes, and text fonts that conform to your company standards and working methods. ■ Customize the user interface.
■ “Toolbars” ■ “Customize a Publish to Web Template” ■ “Create Command Aliases” ■ “Custom Linetypes” ■ “Custom Hatch Patterns” ■ “User Interface Customization” ■ “DIESEL” ■ “Customize the Status Line” ■ “Introduction to Programming Interfaces” ■ “Slides and Command Scripts” Quick Reference Commands CUI Manages the customized user interface elements in the product. CUSTOMIZE Customizes tool palettes and tool palette groups.
Organize Program and Support Files You can change the default directory structure for the program and support files to suit your needs. Overview of File Organization AutoCAD uses support files for purposes such as storing customization definitions, loading AutoLISP and ObjectARX applications, and describing text fonts. The default directory structure for the AutoCAD program and support files is designed to efficiently organize those files into logical groups.
■ Directories listed in the search path specified on the Files tab in OPTIONS. (See Specify Search Paths and File Locations in the User's Guide.) ■ Directory that contains the AutoCAD program files. Depending on the current environment, two or more directories may be the same. If a file is not in this search path, you must specify both its path name and file name before AutoCAD can find it. For example, if you want to insert the part5.
1 If the input is a null response (SPACEBAR or ENTER), AutoCAD uses the name of the last command issued. HELP is the default. 2 AutoCAD checks the command name against the list of built-in commands. If the command is in the list and is not preceded by a period (.), AutoCAD then checks the command against a list of undefined commands. If the command is undefined, the search continues. Otherwise, the command is run, unless another reason prevents it from doing so.
Quick Reference Commands OPTIONS Customizes the program settings. System Variables LOCALROOTPREFIX Stores the full path to the root folder where local customizable files were installed. ROAMABLEROOTPREFIX Stores the full path to the root folder where roamable customizable files were installed. Multiple Configurations If you use more than one pointing device or use different plotters, you can set up more than one configuration file to make it easy to switch between devices.
To take advantage of multiple configurations, you must set up AutoCAD to use different configuration files. Use the /c switch to specify alternative configuration files at startup. See also: ■ “Customize Startup” in the User's Guide Quick Reference Commands OPTIONS Customizes the program settings. Multiple Drawing Folders Keeping your drawing and other associated files in separate directories makes it easier to perform basic file maintenance.
You can use a batch program as an alternative to using icons or menus. With batch programs you can create new job directories automatically. The following batch program verifies that a specified directory exists, sets that directory to be current, and then runs AutoCAD. @echo off C: if exist \AcadJobs\Jobs\%1 goto RUNACAD echo. echo *** Creating \AcadJobs\Jobs\%1 echo *** Press Ctrl+C to cancel. echo. pause mkdir \AcadJobs\Jobs\%1 :RUNACAD cd \AcadJobs\Jobs\%1 start C:\ AutoCAD\acad.
Locate Customized Files Beginning with AutoCAD 2004, the location of some of your customized files has changed. The reasons for the file location changes include the following: ■ Limited user rights on a workstation. You can run AutoCAD as a limited user. This means that you no longer need power user or Administrator permissions to run AutoCAD once it is installed. ■ Roaming profiles. Roaming profiles allow you to log on to any computer within a network and retain your user settings.
4 Under Data Sources Location, click the path name to view the location of your data link files. NOTE The changes you make do not take effect until you restart the program. Locate Plot Style Files Beginning with the AutoCAD 2004, the default location of your plot style files has changed. For information about the default location of these files, see Locate Customized Files on page 10.
To locate your plotter files 1 Do one of the following: ■ (Windows XP) Click Start menu ➤ Programs ➤ Autodesk ➤ ➤ . ■ (Windows Vista) Click Start menu ➤ All Programs ➤ Autodesk ➤ ➤ . 2 Click application menu ➤ Options. 3 In the Options dialog box, Files tab, click the plus sign (+) to the left of Printer Support File Path. 4 Click the plus sign (+) to the left of Printer Configuration Search Path.
Locate Support Files Beginning with AutoCAD 2004, the default location for some of your support files has changed. For information about the default location of these files, see Locate Customized Files on page 10. Support files include the following: ■ Configuration file (acad2011.cfg) ■ Customization file (acad.cuix) ■ Custom icon files ■ Help and miscellaneous files ■ Font mapping file (acad.fmp) ■ Alternate font file (simplex.shx) ■ Support path files (acad.dcl, acad.lin, acad.mnl, acad.
■ (Windows Vista) Click Start menu ➤ All Programs ➤ Autodesk ➤ ➤ . 2 Click application menu ➤ Options. 3 In the Options dialog box, Files tab, click the plus sign (+) to the left of Customization Files. 4 Click the plus sign (+) to the left of Main Customization File. 5 Under Main Customization File, click the path name to view the location of your main customization file. 6 Click the plus sign (+) to the left of Enterprise Customization File.
■ (Windows Vista) Click Start menu ➤ All Programs ➤ Autodesk ➤ ➤ . 2 Click application menu ➤ Options. 3 In the Options dialog box, Files tab, click the plus sign (+) to the left of Help and Miscellaneous File Names to expand the list. 4 Click the plus sign (+) to the left of the file you want to locate, and then click the path name to view the location of the files.
5 Under Alternate Font File, click the path name to view the location of your alternate font file. To find the default location of the support path files 1 Do one of the following: ■ (Windows XP) Click Start menu ➤ Programs ➤ Autodesk ➤ ➤ . ■ (Windows Vista) Click Start menu ➤ All Programs ➤ Autodesk ➤ ➤ . 2 Click application menu ➤ Options. 3 In the Options dialog box, Files tab, click the plus sign (+) to the left of Support File Search Path.
5 Under Drawing Template File Location, click the path name to view the location of your drawing template files. Locate Texture Files Beginning with AutoCAD 2004, the default location of your texture files has changed. For information about the default location of these files, see Locate Customized Files on page 10. To locate your texture files 1 Do one of the following: ■ (Windows XP) Click Start menu ➤ Programs ➤ Autodesk ➤ ➤ .
■ Video, animation, and so on There are four default Publish to Web templates that you can customize: ■ Array of Thumbnails. Creates a web page containing an array of thumbnail images. ■ Array Plus Summary. Creates a web page containing an array of thumbnail images and summary information about each image. ■ List of Drawings. Creates a web page containing a list of drawings and an image frame. ■ List Plus Summary.
8 Press CTRL+V to paste the path into the Item Path box, and click OK. You can now access the Template folders by clicking the button in the left panel of the Select File dialog box. To customize a Publish to Web template 1 Browse to the Publish to Web template folder, click File menu ➤ Open. See To create quick access to the Publish to Web templates on page 18. 2 Double-click the PTWTemplates folder to open it. The following folders are displayed.
NOTE Each template folder can contain only one PWT file. If you create a new PWT file, make sure you delete any other PWT files that exist in the same folder. When you run the Publish to Web wizard, the new template is displayed in the list of templates. Quick Reference Commands PUBLISHTOWEB Creates HTML pages that include images of selected drawings. Define Custom Commands You can define external commands that run from within AutoCAD. You can also create command aliases for AutoCAD commands in the acad.
NOTE Before you edit acad.pgp, create a backup file so that you can restore it later, if necessary. When you define an external command, you specify a command name to be used at the command prompt and an executable command string that is passed to the operating system. Each line in the external commands section has five comma-delimited fields, as follows: command,[executable],flags[,[*]prompt[,return_code]] command The command that is entered at the command prompt.
return_code An optional bitcoded parameter. You can add these integer values together in any combination to achieve the result you want. For example, if values 1 and 2 are required, you use 3 as the return code. The values are defined as follows (codes 0 and 4 are meaningless in a windowed environment and are therefore not included): 1 Loads a DXB file. AutoCAD loads the DXB file named $cmd.dxb into the drawing after the command is terminated. After the DXB file is loaded, the $cmd.dxb file is deleted.
before control is passed back to AutoCAD. For more information about these commands and switches, see your Windows system command documentation. Custom-Defined Commands The following example defines three new commands: RUN, LISTSET, and DXB2BLK. RUN, cmd /c,0,*Batch file to run: , LISTSET,cmd /k SET,0 DXB2BLK,cmd /c DXBCOPY,0,DXB file: ,2 The RUN command runs a batch file or command script. The cmd command followed by the /c switch opens a command window, runs the batch file, and then closes.
To open the program parameters file (acad.pgp) ■ Click Tools ➤ Customize ➤ Edit Program Parameters (acad.pgp). Quick Reference Commands REINIT Reinitializes the digitizer, digitizer input/output port, and program parameters file. Create Command Aliases A command alias is an abbreviation that you enter at the command prompt instead of entering the entire command name. For example, you can enter c instead of circle to start the CIRCLE command.
If you can enter a command transparently, you can also enter its alias transparently. When you enter the command alias, the full command name is displayed at the command prompt and the command is executed. You can create command aliases that include the special hyphen (-) prefix, such as those listed here, that accesses the version of a command that displays command prompts instead of a dialog box. BH, *-BHATCH BD, *-BOUNDARY NOTE You cannot use command aliases in command scripts.
In the Action tree, you can modify and delete the action nodes of an action macro. Action nodes represent the recorded commands or input values of an action macro. You can also specify base points, insert user messages, and pause for user input for a value node during playback. A value node in an action macro represents the input that was provided at a sub-prompt of a command during recording.
Quick Reference Commands ACTRECORD Starts the Action Recorder. ACTSTOP Stops the Action Recorder and provides the option of saving the recorded actions to an action macro file. ACTUSERINPUT Pauses for user input in an action macro. ACTUSERMESSAGE Inserts a user message into an action macro. ACTBASEPOINT Inserts a base point in an action macro. OPTIONS Customizes the program settings. RIBBON Opens the ribbon window.
Work with the Action Recorder With the Action Recorder, you can create action macros that can be used to automate repetitive tasks. While recording actions, commands and input values are captured and displayed in the Action tree. After recording is stopped, you can save the captured commands and input to an action macro file which can later be played back.
Record an Action Macro with the Action Recorder You use the Action Recorder to record commands and input values for an action macro. While recording an action macro, the Red Recording Circle icon is displayed near the crosshairs to indicate that the Action Recorder is active and that commands and input are being recorded. While recording, commands and input that is entered at the command line are recorded with the exception of commands that open or close drawing files.
Use Custom Commands and Routines with Action Macros When recording commands and input, you can use the standard commands that come with AutoCAD and other custom commands that you might already use. The custom commands that you can use is not limited to just commands defined with AutoLISP or ObjectARX, but also includes commands defined with .NET and macros defined with VBA.
2 Use the commands and provide the input that is needed to complete the task that you want to automate. To stop the recording of an action macro 1 On the ribbon, click Manage tab ➤ Action Recorder panel ➤ Stop. 2 In the Action Macro dialog box, enter a name in the Action Macro Command Name text box. 3 Optionally, do the following: ■ Enter a description for the action macro in the Description text box.
5 In the Action Macro dialog box, enter a name in the Action Macro Name text box. 6 Optionally, do the following: ■ Enter a command name for the action macro in the Action Macro Command Name text box. ■ Enter a description for the action macro in the Description text box. ■ Under Restore Pre-playback View, select When Pausing for User Input to restore the view prior to the playback of the action macro.
RIBBON Opens the ribbon window. System Variables ACTPATH Specifies the additional paths to use when locating available action macros for playback. ACTRECORDERSTATE Specifies the current state of the Action Recorder. ACTRECPATH Specifies the path used to store new action macros. Action Node Icons When an action macro is being recorded or is current, each action in the action macro file is represented by a node in the Action tree.
Icon Action Node Name Description Absolute Coordinate Point An absolute coordinate value based on the point acquired during recording. Relative Coordinate Point A relative coordinate value based on the previous coordinate value in the action macro. Prompt Interaction/Keyword A prompt/keyword interaction. This action node cannot be changed to request user input. Angle An angle value. Distance A distance value. Real (Double) A real or double number value. Integer An integer number value.
Icon Action Node Name Description Use Pick First Selection The existing selection will be replaced by the objects selected before the start of the playback for the action macro. Request User Input (Selection) A request for a new selection. Properties Palettes Indicates that a change was made with the Properties palette or Quick Properties panel. Property Property change made with the Properties palette or Quick Properties panel.
Work with User Interface Elements Many of the common user interface elements can be used when recording an action macro. There are some elements that you cannot use.
■ Pan ■ Zoom ■ SteeringWheels ■ ShowMotion (limited to playing and restoring views) ■ Maximize/Minimize Viewport ■ Annotation/Viewport Scale ■ Synchronize Annotation/Viewport Scale ■ Annotation Visibility ■ Automatically Add Scales ■ Lock UI ■ Clean Screen Not all actions performed in DesignCenter are recorded. The following actions are not recorded: ■ Inserting blocks from the DC Online tab. ■ All actions from shortcut menus except Attach as Xref and Insert as Block.
Manage Action Macros You can rename, copy, modify, and delete an action macro with the Action Macro Manager or from the Action tree. Modification and management of action macro file can be handled through the Action Macro Manager and the Action tree. Manage Files with the Action Tree The Action tree is displayed when the Action Recorder panel is expanded. The following options are available when you right-click the Action Macro in the Action tree. ■ Rename.
To rename an action macro 1 On the ribbon, click Manage tab ➤ Action Recorder panel. Click the down arrow next to the Action Macro list. 2 In the Action Macro list, select the action macro you want to rename. 3 Expand the Action Recorder panel. 4 In the Action tree, right-click the top node and click Rename. 5 In the Action Macro dialog box, in the Action Macro Command Name text box, enter a different name. 6 Click OK.
■ Under Restore Pre-playback View, select When Pausing For User Input to restore the view prior to the playback of the action macro. ■ Under Restore Pre-playback View, select Once Playback Finishes to restore the view prior to the playback of the action macro. ■ Select Check for Inconsistencies when Playback Begins to have the Action Recorder validate the action macro before playback. 6 Click OK. To change the properties of an action macro 1 On the ribbon, click Manage tab ➤ Action Recorder panel.
2 In the Action Macro list, select the action macro from which you want to delete an action. 3 Expand the Action Recorder panel. 4 In the Action tree, right-click an action node and click Delete. 5 In the Action Macro - Confirm Deletion of Item dialog box, click Delete. NOTE You cannot delete an action while recording an action macro. To edit a value node in an action macro 1 On the ribbon, click Manage tab ➤ Action Recorder panel. Click the down arrow next to the Action Macro list.
While recording an action macro, you can insert a user message into an action macro that is displayed during playback. The message might be an overview of what the action macro does, or settings that are needed before the action macro is played back. You can insert as many user messages in an action macro that you want; they can be inserted before or after any action in an action macro. When a message is displayed, click Close to continue with the playback of the action macro.
Quick Reference Commands ACTRECORD Starts the Action Recorder. ACTUSERMESSAGE Pauses for user input in an action macro. RIBBON Opens the ribbon window. Pause for User Input Actions in an action macro can be modified to be played back with the values they were recorded with or to pause for input during playback. While recording an action macro, you might choose a point or provide input that you do not want to use each time the action macro is played back.
Quick Reference Commands ACTRECORD Starts the Action Recorder. ACTUSERINPUT Inserts a user message into an action macro. RIBBON Opens the ribbon window. Work with Coordinates You can use absolute or relative coordinates for acquired points in an action macro. As you record an action macro, recorded coordinate values can be represented as absolute or relative. While a coordinate value can be absolute or relative, the stored value for all recorded coordinate values is absolute.
4 In the Action tree, right-click the coordinate value node and click Relative to Previous. ■ To make a coordinate value absolute, click Relative to Previous if a check mark is present before it. If no check mark is present, then the coordinate value is already absolute. ■ To make a coordinate value relative to the previous point, click Relative to Previous if a check mark is not present before it. If a check mark is present, then the coordinate value is already relative to the previous point.
Quick Reference Commands ACTRECORD Starts the Action Recorder. RIBBON Opens the ribbon window. Insert Base Points Inserting a base point establishes an absolute coordinate which is used by the relative coordinate points that follow the base point in the action macro. During the playback of an action macro, by default, a request to specify a new coordinate point is made for each base point in the action macro. In the Action tree, base points can be inserted on an action macro or command node.
Quick Reference Commands ACTRECORD Starts the Action Recorder. ACTBASEPOINT Inserts a base point in an action macro. RIBBON Opens the ribbon window. Work with Object Selections Selection nodes are modified through the Action tree to control which objects are used for the commands in an action macro. When modifying an action macro, you can control the selection method to use when playing back an action macro.
To toggle the use of macro-created selection during playback 1 On the ribbon, click Manage tab ➤ Action Recorder panel. Click the down arrow next to the Action Macro list. 2 In the Action Macro list, select the action macro that contains the selection results node that you want to represent a selection of all the objects created during the macro playback. 3 Expand the Action Recorder panel. 4 In the Action tree, right-click the selection results node and click Macro-created Object Selection.
Recording Action Macros When recording an action macro, you should be aware of the following: ■ The current drawing settings used when recording an action macro are not completely retained by an action macro. To make sure that specific drawing settings are used during playback, record them as part of the action macro using the system variable name or the SETVAR command. ■ While many commands are recorded, there are some commands that are not recorded.
■ Actions recorded with the Action Recorder are limited to interactions with the Properties palette, Quick Properties palette, the Layer Modeless dialog box, and any user interface element that starts a command. Some of the user interface elements that start commands are: most tools on tool palettes, some actions in DesignCenter, and some tools on the status bars.
Editing an Action Macro When editing an action macro, the action macro files that are found in the paths defined by the system variables ACTRECPATH and ACTPATHare loaded. If more than one action macro file has the same name, the first action macro file that is found is loaded into the Action Recorder. The other files with the same names are ignored and not loaded.
Quick Reference Commands ACTRECORD Starts the Action Recorder. RIBBON Opens the ribbon window. Examples of Action Macros The following examples show some of the ways that action macros can automate repetitive tasks. The examples shows some of the different ways that you can record actions with the Action Recorder. Create a New Layer and Draw Objects In this example, you create an action macro that makes a new layer and then draws objects on the layer to create a two-dimensional top view of a hexagon bolt.
2 On the Action Recorder panel, click Record. Record commands and input values to create and modify a new layer Once the Action Recorder starts recording, you use the Layer Properties Manager to create a new layer. Follow these steps: 1 At the Command prompt, enter -layer and press Enter. 2 At the prompt, Enter an option [?/Make/Set/New/Rename/ON/OFF/Color/Ltype/LWeight/MATerial/Plot/Freeze/Thaw/LOck/Unlock/stAte/Description/rEconcile], enter m and press Enter.
4 At the Command prompt, enter polygon and press Enter. 5 At the prompt, Enter number of sides <4>, enter 6 and press Enter. 6 At the prompt, Specify center of polygon or [Edge], use the Center object snap and select the edge of the circle. 7 At the prompt, Enter an option [Inscribed in circle/Circumscribed about circle] , enter c and press Enter. 8 At the prompt, Specify radius of circle, enter 1 and press Enter. 9 At the Command prompt, enter scale and press Enter.
3 In the Insert User Message dialog box, enter Creates a hexagon bolt by drawing a circle and polygon. During playback you are prompted for the center point of the circle and size of the bolt. Click OK. Insert a Base Point With insert a base point, you are prompted to specify a base point when playing back an action macro. In this action macro, you specify a base point used for the center point of the circle during playback.
7 In the Action Macro - Playback Complete dialog box, click OK. Quick Reference Commands ACTRECORD Starts the Action Recorder. ACTSTOP Stops the Action Recorder and provides the option of saving the recorded actions to an action macro file. ACTUSERINPUT Pauses for user input in an action macro. ACTUSERMESSAGE Inserts a user message into an action macro. ACTBASEPOINT Inserts a base point in an action macro. CIRCLE Creates a circle. LAYER Manages layers and layer properties.
Insert a Block and Change a Dynamic Property Value This example shows how to insert a dynamic block from a tool palette and change its dynamic properties using the Properties palette.
7 In the drawing window, specify the insertion point for the block. Stop Recording and Save an Action Macro After all the actions have been recorded, you stop recording and save the recorded actions to an action macro file. Follow these steps: 1 On the Action Recorder panel, click Stop. 2 In the Action Macro dialog box, do the following ■ In the Action Macro Command Name box, enter InsertIPEA140. ■ In the Description box, enter Inserts an IPE A 140 beam. 3 Click OK.
4 In the Action Macro - Playback Complete dialog box, click OK. Quick Reference Commands ACTRECORD Starts the Action Recorder. ACTSTOP Stops the Action Recorder and provides the option of saving the recorded actions to an action macro file. PROPERTIES Controls properties of existing objects. RIBBON Opens the ribbon window. TOOLPALETTES Opens the Tool Palettes window.
1 On the ribbon, click the Manage tab. 2 On the Action recorder panel, click Record. Modify Objects Using the Properties Palette and Object Selection Filter When working with the Properties palette, you can control which objects you modify by applying an object selection filter to the selected objects. Follow these steps: 1 Select the objects in the drawing that you want to modify and right-click. Click Properties. 2 On the Properties palette, in the Objects drop-down list, select Circles.
Play Back the Action Macro When you play back the action macro, you are prompted to select objects if no objects are selected. To see the results of the action macro, follow these steps: 1 Draw some circles and other objects in the drawing. Change the colors of the objects to colors other than blue. 2 On the Action Recorder panel, on the Action Macro list, select BlueCircles. 3 Click Play. 4 In the Action Macro - No Objects Selected dialog box, click Select Objects and Continue.
System Variables PICKFIRST Controls whether you select objects before (noun-verb selection) or after you issue a command.
Custom Linetypes 2 AutoCAD® provides a library of standard linetypes in the acad.lin and acadiso.lin files. You can use the linetypes as they are, modify them, or create your own custom linetypes. Overview of Linetype Definitions Linetypes are defined in one or more linetype definition files that have a .lin file extension. The linetype name and definition determine the particular dash-dot sequence, the relative lengths of dashes and blank spaces, and the characteristics of any included text or shapes.
Quick Reference Commands LINETYPE Loads, sets, and modifies linetypes. System Variables MEASUREINIT Controls whether a drawing you start from scratch uses imperial or metric default settings. Simple Custom Linetypes Each linetype is defined on two lines in a linetype definition file. The first line contains the linetype name and an optional description. The second line is the code that defines the actual linetype pattern.
Linetype Name The linetype name field begins with an asterisk (*) and should provide a unique, descriptive name for the linetype. Description The description of the linetype should help you visualize the linetype when you edit the LIN file. The description is also displayed in the Linetype Manager and in the Load or Reload Linetypes dialog box.
Pattern Descriptors Each pattern descriptor field specifies the length of segments making up the linetype, separated by commas (no spaces are allowed): ■ A positive decimal number denotes a pen-down (dash) segment of that length. ■ A negative decimal number denotes a pen-up (space) segment of that length. ■ A dash length of 0 draws a dot. You can enter up to 12 dash-length specifications per linetype, provided they fit on one 80-character line in the LIN file.
6 At the Enter Pattern prompt, specify the pattern of the line. Follow these guidelines: ■ All linetypes must begin with a dash. ■ Enter zeros for dots. ■ Enter negative real numbers for spaces. The value defines the length of the space in drawing units. ■ Enter positive real numbers for dashes. The value defines the length of the dash in drawing units. ■ Separate each dot, dash, or space value from the next with a comma. ■ Use a space between a dot and a dash. 7 Press ENTER to end the command.
Quick Reference Commands LINETYPE Loads, sets, and modifies linetypes. System Variables MEASUREINIT Controls whether a drawing you start from scratch uses imperial or metric default settings. Text in Custom Linetypes Characters from text fonts can be included in linetypes. Characters from text fonts can be included in linetypes. Linetypes with embedded characters can denote utilities, boundaries, contours, and so on. As with simple linetypes, lines are dynamically drawn as you specify the vertices.
characters come from the text font assigned to the STANDARD text style at a scale of 0.1, an upright rotation of 0 degrees, an X offset of -0.1, and a Y offset of -0.05. This pattern continues for the length of the line, ending with a dash 0.5 drawing units long. The linetype would be displayed as shown below. Notice that the total upstroke length is 0.2 + 0.2 = 0.4 and that the text origin is offset -.01 units in the X direction from the end of the first upstroke.
NOTE Drawings containing legacy linetypes that do not use the U (upright) rotation flag can be updated to the latest linetype definition by reloading the linetype from the LIN files. Custom linetypes can be updated by changing the R (rotation) flag to the U (upright) flag prior to reloading a linetype definition. For information on loading a linetype, see Load Linetypes. xoffset X=value. The shift of the text on the X axis of the linetype, which is along the line.
Shapes in Custom Linetypes A complex linetype can contain embedded shapes that are saved in shape files. Complex linetypes can denote utilities, boundaries, contours, and so on. As with simple linetypes, complex lines are dynamically drawn as the user specifies vertices. Shapes and text objects embedded in lines are always displayed completely; they are never trimmed. The syntax for complex linetypes is similar to that of simple linetypes in that it is a comma-delimited list of pattern descriptors.
next four are optional and can be ordered arbitrarily. The following two examples demonstrate various entries in the shape definition field. [CAP,ep.shx,S=2,R=10,X=0.5] The code above draws the CAP shape defined in the ep.shx shape file with a scale of two times the unit scale of the linetype, a tangential rotation of 10 degrees in a counterclockwise direction, and an X offset of 0.5 drawing units before shape elaboration takes place. [DIP8,pd.shx,X=0.
the shape is elaborated with no offset. Include this field if you want a continuous line with shapes. This value is not scaled by the scale factor defined by S=. yoffset Y=value. The shift of the shape in the Y axis of the linetype computed from the end of the linetype definition vertex. If yoffset is omitted or 0, the shape is elaborated with no offset. This value is not scaled by the scale factor defined by S=.
74
Custom Hatch Patterns 3 AutoCAD® provides a library of standard hatch patterns in the acad.pat and acadiso.pat files. You can use the hatch patterns as they are, modify them, or create your own custom hatch patterns. Overview of Hatch Pattern Definitions In addition to using the predefined hatch patterns that are supplied, you can design and create your own custom hatch patterns.
and is defined as follows: *ANSI31, ANSI Iron, Brick, Stone masonry 45, 0,0, 0,.125 The pattern name on the first line, *ANSI31, is followed by a description: ANSI Iron, Brick, Stone masonry. This simple pattern definition specifies a line drawn at an angle of 45 degrees, that the first line of the family of hatch lines is to pass through the drawing origin (0,0), and that the spacing between hatch lines of the family is to be 0.125 drawing units.
of hatch lines is generated parallel to an initial line with an absolute origin to guarantee proper alignment. If you create a very dense hatch, AutoCAD may reject the hatch and display a message indicating that the hatch scale is too small or its dash length too short. You can change the maximum number of hatch lines by setting the MaxHatch system registry variable using (setenv “MaxHatch” “n”) where n is a number between 100 and 10000000 (ten million).
HATCH Fills an enclosed area or selected objects with a hatch pattern, solid fill, or gradient fill. HATCHEDIT Modifies an existing hatch or fill. SOLID Creates solid-filled triangles and quadrilaterals. System Variables FILLMODE Specifies whether hatches and fills, 2D solids, and wide polylines are filled in. HPANG Sets the angle for new hatch patterns. HPBOUND Controls the object type created by HATCH and BOUNDARY. HPDOUBLE Specifies hatch pattern doubling for user-defined patterns.
drawn. If the length is negative, the segment is pen-up, and it is not drawn. The pattern starts at the origin point with the first segment and cycles through the segments in circular fashion. A dash length of 0 draws a dot. You can specify up to six dash lengths per pattern line. The hatch pattern ANSI33, shown in the Boundary Hatch and Fill dialog box, looks like this: and is defined as follows: *ANSI33, ANSI Bronze, Brass, Copper 45, .176776695,0, 0,.25, .125,-.
Now change the pattern to *SKEWED 0, 0,0, .5,.5, .5,-.5 It is the same, except that you have set delta-x to 0.5. This offsets each successive family member by 0.5 in the direction of the line (in this case, parallel to the X axis). Because the lines are infinite, the dash pattern slides down the specified amount. The hatched area would look like this: To create a hatch pattern with dashed lines 1 Open the acad.pat or acadiso.pat file in a text editor that saves in ASCII format (for example, Notepad).
Quick Reference Commands ADCENTER Manages and inserts content such as blocks, xrefs, and hatch patterns. FILL Controls the filling of objects such as hatches, 2D solids, and wide polylines. HATCH Fills an enclosed area or selected objects with a hatch pattern, solid fill, or gradient fill. HATCHEDIT Modifies an existing hatch or fill. SOLID Creates solid-filled triangles and quadrilaterals. System Variables FILLMODE Specifies whether hatches and fills, 2D solids, and wide polylines are filled in.
HPSPACE Sets the hatch pattern line spacing for user-defined patterns. Hatch Patterns with Multiple Lines Complex hatch patterns can have an origin that passes through offsets from the origin and can have multiple members in the line family. Not all hatch patterns use origin points of 0,0. Complex hatch patterns can have an origin that passes through offsets from the origin and can have multiple members in the line family.
The first line (the up bar) is a simple dashed line with 0,0 origin. The second line (the top bar) should begin at the end of the up bar, so its origin is 0,.5. The third line (the down bar) must start at the end of the top bar, which is at .5,.5 for the first instance of the pattern, so its origin is at this point. The third line of the pattern could be the following: 90, .5,0, 0,1, .5,-.5 or 270, .5,1, 0,1, -.5,.
■ An X,Y origin point ■ A delta-x of any value if you want to offset alternating lines in the line family ■ A delta-y of any value ■ A value for a dash length ■ A value for a dot length ■ An optional second value for a different dash length ■ An optional second value for a different dot length 5 Create a second line including all the parameters in the previous step. 6 (Optional) Create additional lines to complete the multiple-line hatch pattern.
System Variables FILLMODE Specifies whether hatches and fills, 2D solids, and wide polylines are filled in. HPANG Sets the angle for new hatch patterns. HPBOUND Controls the object type created by HATCH and BOUNDARY. HPDOUBLE Specifies hatch pattern doubling for user-defined patterns. HPNAME Sets the default hatch pattern name. HPSCALE Sets the hatch pattern scale factor. HPSPACE Sets the hatch pattern line spacing for user-defined patterns.
86
User Interface Customization 4 When you work in the program, you use a variety of ribbon panels, menus, toolbars, shortcut keys, and other user interface elements to help you accomplish your tasks efficiently. You can also streamline your environment by customizing these elements. Understand User Interface Customization Using the customization tools of AutoCAD, you can tailor your drawing environment to suit your needs.
■ Create or change macros ■ Define DIESEL strings ■ Create or change aliases ■ Add descriptive text for command tooltips ■ Control the properties displayed when using rollover tooltips Customizable User Interface Elements The editor allows you to create and manage commands that are used in the CUIx file in a centralized location. Along with commands, you are able to customize many of the different user interface elements.
Quick Reference Commands CUI Manages the customized user interface elements in the product. CUIEXPORT Exports customized settings from the main CUIx file to an enterprise or partial CUIx file. CUIIMPORT Imports customized settings from an enterprise or partial CUIx file to the main CUIx file. CUILOAD Loads a CUIx file. CUIUNLOAD Unloads a CUIx file. QUICKCUI Displays the Customize User Interface Editor in a collapsed state.
Use the Customization Environment You customize the XML-based CUIx file with the Customize User Interface (CUI) Editor to create new commands, user interface elements, and workspaces. Overview of the Customize User Interface (CUI) Editor The Customize User Interface (CUI) Editor is used to customize the user interface of AutoCAD. Before you start customizing your own menus, toolbars, and other user interface elements, you should familiarize yourself with the customization environment.
Customize the user interface to make the drawing environment specific to certain types of tasks. For example, if you want a toolbar that contains the commands you use most often, you can create a new Favorites toolbar in the Customize User Interface (CUI) Editor and then load the new toolbar in AutoCAD. Quick Reference Commands CUI Manages the customized user interface elements in the product. CUIEXPORT Exports customized settings from the main CUIx file to an enterprise or partial CUIx file.
CUIIMPORT Imports customized settings from an enterprise or partial CUIx file to the main CUIx file. CUILOAD Loads a CUIx file. CUIUNLOAD Unloads a CUIx file. QUICKCUI Displays the Customize User Interface Editor in a collapsed state. System Variables DBLCLKEDIT Controls the double click editing behavior in the drawing area. ENTERPRISEMENU Stores the enterprise customization file name (if defined), including the path for the file name.
able to create user interface elements and add commands to a user interface element, you can change the order in which commands appear on toolbars, menus, and ribbon panels by dragging them up and down. Quick Reference Commands CUI Manages the customized user interface elements in the product. Work with the Command List Pane The Command List pane is used to create and locate commands that are contained in the loaded customization files.
Command list box. There are many different categories that you can select from, for example ■ All Commands. Displays all of the commands for each of the loaded customization files. ■ Custom Commands. Displays the user defined commands that have been added to the loaded customization files. These commands are not part of a customization file that ships with AutoCAD. ■ Controls Elements.
Quick Reference Commands CUI Manages the customized user interface elements in the product. Work with the Dynamic Display Pane The Dynamic Display pane controls the display of additional panes that respond to the item that is selected in either the Customizations In pane or Command List pane.
Quick Reference Commands CUI Manages the customized user interface elements in the product. How Customization Has Changed Although the basic customization techniques remain the same as in previous versions of the product, the environment that you use to customize the product was changed starting with AutoCAD 2006. All of the previous customization options are still available.
customization files; you can use macros and advanced entries such as DIESEL expressions and AutoLISP routines. However, you no longer perform customization tasks by creating or editing MNU or MNS text files by hand. All customizations are done through the program interface, in the Customize User Interface (CUI) Editor. Menu Files Versus Customization Files In releases prior to AutoCAD 2006, you customized the user interface by editing an MNU or MNS file in an ASCII text editor such as Notepad.
Menu files mapped to CUIx files Menu file Description In Auto- Description of change CAD 2011 face elements. The main MNU file, acad.mnu, was automatically loaded when you started the product. Partial MNU files could be loaded or unloaded as you needed them during a drawing session. ments. The main CUIx file, acad.cuix, is automatically loaded when you start the product. Partial CUIx files can be loaded or unloaded as you need them during a drawing session. MNS Source menu file.
Menu Text File Structure Versus CUI and CUIx Structure In releases prior to AutoCAD 2006, you added, edited, and deleted menu information directly in a text file. In AutoCAD 2006 and later, you use the Customize User Interface (CUI) Editor. Following is an example of how the Window menu looked in the legacy menu file acad.mnu. Contents of the Window menu in acad.
Window menu, Properties pane for the Close command Window menu, Properties pane for the Close All command Window menu tree node, shortcut menu displayed with Insert Separator option 100 | Chapter 4 User Interface Customization
Menu Group Versus Customization Group There is no difference between a menu group (the term used in previous releases) and a customization group. A CUIx file loaded into AutoCAD must have a unique customization group name to prevent conflicts between customization files in the program. The main CUIx file, acad.cuix by default, has a customization group named ACAD. You can load as many customization files into the program, as long as they each have a unique customization group name.
Dynamic Help may not display properly if a command is not available: ■ In one of the loaded CUIx files ■ On an accessible menu, ribbon panel, or ribbon tab in the current workspace NOTE Dynamic Help only works with the online Help documents that come with AutoCAD, and has no affect on third-party documentation.
Customization Glossary You should know several terms for customizing AutoCAD 2011. Customization (CUIx) file A package file that contains multiple XML-based files and custom image files. Each one of the XML-based files contain the data for a different type of user interface element that can be customized. The custom images that are stored in the file are those that are referenced by the commands defined in the customization data and are not stored in a resource DLL.
Legacy Menu (MNS) file An ASCII based file that stores menu customization data for AutoCAD 2005 and earlier. Most of the file needed to be edited outside of AutoCAD using a text editor such as Notepad, but there were a few features that could be customized in AutoCAD using the CUSTOMIZE command. The MNS file has been replaced by the CUIx file. A CUIx file can be generated from an MNS file using the Transfer tab of the CUI command.
Quick Reference Commands CUI Manages the customized user interface elements in the product. CUIEXPORT Exports customized settings from the main CUIx file to an enterprise or partial CUIx file. CUIIMPORT Imports customized settings from an enterprise or partial CUIx file to the main CUIx file. CUILOAD Loads a CUIx file. CUIUNLOAD Unloads a CUIx file. CUSTOMIZE Customizes tool palettes and tool palette groups. QUICKCUI Displays the Customize User Interface Editor in a collapsed state.
System Variables DBLCLKEDIT Controls the double click editing behavior in the drawing area. ENTERPRISEMENU Stores the enterprise customization file name (if defined), including the path for the file name. MENUNAME Stores the customization file name, including the path for the file name. ROLLOVERTIPS Controls the display of rollover tooltips in the application. TOOLTIPS Controls the display of tooltips on the ribbon, toolbars, and other user interface elements.
information about creating custom commands, see Customize Commands on page 142. Set the working CUIx file on page ----- Determine which CUIx file to add to the custom 122 command. Add the new command on page 144 ----- Create a new command in a CUIx file. Define the macro on page 154 Define the series of actions that should be ----- executed when the command is used from the user interface. Control how the command and its ----- Define the label for the command.
Associate an extended tooltip on page 177 Optional: Assign extended help to the command ----- which, is used for the extended tooltip of a command. Assign an image on page 182 ----- Optional: Assign an image to the command. A standard or custom image can be assigned. Optional: Assign status line text to the command Define a status line help message ----- which, is used when it is added to a pull-down on page 180 menu.
Add commands and controls on page 196 ----- Add the commands and controls to the Quick Access toolbar that you want to use. Display a Quick Access toolbar on ----- Assign the Quick Access toolbar to a workspace. page 367 Set a workspace current on page 357 ----- Set the workspace containing the Quick Access toolbar current. Customize the Ribbon Ribbon customization is broken out into three main components: panels, tabs, and contextual tab states.
associated dialog box. For more information about ribbon panel customization, see Ribbon Panels on page 201. Create a new ribbon panel on page 203 Create a new ribbon panel to organize the ----- commands and controls you want to display on the ribbon. Add a row on page 211 Add rows to organize the commands and controls ----- you want to add. Rows can also hold drop-downs and sub-panels.
Add commands and controls on page 213 ----- Add commands and controls to the rows, sub-panels, and drop-downs on the ribbon panel. To change the display and behavior of a command, control or drop-down on page 216 Optional: Change the display and behavior of ----- the commands, controls, or drop-downs on the ribbon panel. Assign a command to the Panel ----- Optional: Add a command to the Panel Dialog Dialog Box Launcher on page 206 Box Launcher for the ribbon panel.
Create new ribbon panels as needed for the Create a ribbon panel on page 109 ----- commands and controls you want to display on (workflow diagram) the ribbon. Assign a ribbon panel to a ribbon ----- Assign a ribbon panel to a ribbon tab. tab on page 241 Assign a ribbon tab to a workspace ----- Assign a ribbon tab to a workspace. on page 369 Set a workspace current on page 357 ----- Set the modified workspace current to see the ribbon tab and its associated ribbon panels.
Create a ribbon tab on page 111 (workflow diagram) Create new tabs as needed to control the display ----- of ribbon panels when the context of the contextual tab state is met. Assign a ribbon tab on page 245 ----- Assign the ribbon tabs to the contextual tab state. Create a Toolbar Toolbars organize commands and controls on small dockable windows. You can add commands and controls to a toolbar making it easier to access the commands you use.
Add commands and controls on page 253 ----- Add commands and controls to the toolbar and flyouts. Assign a toolbar to a workspace on ----- Assign the toolbar to a workspace to display it. page 374 Set a workspace current on page 357 ----- Set the modified workspace current to see the toolbar. Create a Pull-Down Menu Pull-down menus take up the least amount of space in the application frame of AutoCAD of all user interface elements, while providing access to a wide range of commands.
Add a submenu on page 286 ----- Optional: Add submenus to organize multiple commands into a single drop-down menu. Create a new command on page ----- Create new commands as needed. 106 (workflow diagram) Add commands on page 273 ----- Add commands to the pull-down menu and submenus. Change the caption for a command on page 274 ----- Change the caption for the command when displayed on the pull-down menu.
Create a Shortcut Menu Shortcut menus provide contextual access to commands based on right-clicking. Contextual states vary depending on if a command is active, an object is selected, or if no command or object is selected. You create custom shortcut menus that replace the default shortcut menus in AutoCAD or to insert additional commands into a specific shortcut menu. Commands on a shortcut menu can be displayed as a single item or as a grouping of items with a submenu.
Change the caption for a command on page 284 ----- Change the caption that is used for the command when displayed on the shortcut menu. Customize Shortcut Key Shortcut keys start a command by with a combination of the Ctrl or Alt key and some additional keys. You assign commands to a shortcut key combination to make it easy to start the command. You use a key combination instead of clicking a menu item or a button.
about double click action customization, see Double Click Actions on page 324. Create a new command on page ----- Create new commands as needed. 106 (workflow diagram) Create a double click action on page 324 ----- Create a new double click action to start the command when an object is double clicked. Create a Mouse Button Mouse buttons start a command based on a mouse click and a key combination. You assign commands to mouse button and key combinations.
You create and manage workspaces from the user interface of AutoCAD or with the Customize User Interface (CUI) Editor. Creating and managing workspaces from the user interface is limited; the CUI Editor gives you full control over all user interface elements in a workspace. For more information about workspace customization, see Customize Workspaces on page 347. Create a Workspace from the User Interface You can perform some basic customization of a workspace from the user interface.
Save the workspace on page 352 ----- Save the changes made to the user interface elements to a workspace. Create a Workspace with the CUI Editor The CUI Editor provides an editing environment to customization a workspace. From the CUI Editor, you can control the display of the Quick Access toolbar, ribbon tabs, toolbars, menus, and palettes. You can also control the display of certain features in the application and drawing windows.
Control the display settings for a toolbar when Change the display properties of a ----- the workspace is set current. You can control toolbar on page 376 settings such as default position and docking, among others. Display a menu on page 377 ----- Display a menu on the menu bar when the workspace is set current. Display a palette on page 379 ----- Display a palette when the workspace is set current.
Create and Manage Customization Files Customization (CUIx) files are used to store commands, user interface elements, and references to partial CUIx files and AutoLISP files. CUIx files can be designated as main, partial, or enterprise. Basics of Customization Files Customization files are loaded into AutoCAD to define elements that make up the user interface and are edited using the Customize User Interface (CUI) Editor.
All new commands created are added directly to the working CUIx file. If the CUIx file that you want to work with is not loaded, select Open from the Customization Files drop-down list. Then browse to and select the CUIx file you want to work with. To create a CUIx file from scratch 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Transfer tab, in the right pane, click the Create a New Customization File button.
(Windows XP) :\Documents and Settings\\Application Data\Autodesk\\\\support\.cuix (Windows Vista) :\Users\\AppData\Roaming\Autodesk\\\\support\.cuix NOTE The folders under your profile may be hidden by default. To display these files, you may need to change your display settings.
4 Enter a new customization group name and press Enter. NOTE You can click, wait, and click again on the customization group name to edit its name in-place. NOTE The customization group name cannot contain spaces. 5 Click Apply. To restore a customization backup file 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, right-click the customization group name. 3 Click Restore .
2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, right-click over the customization group name. 3 Click Reset . NOTE Only CUIx files found in the UserDataCache folder under the install location of AutoCAD can be reset. 4 Click Apply. To designate a CUIx file as the main CUIx file 1 Click Application menu ➤ Options. 2 In the Options dialog box, Files tab, click the plus sign (+) next to Customization Files to expand the list.
5 In the Select a File dialog box, browse to and select the customization file to load. Click Open. The file you selected is now designated as the main customization file for the program. 6 In the Options dialog box, click OK. Quick Reference Commands CUI Manages the customized user interface elements in the product. MENU Loads a customization file. OPTIONS Customizes the program settings. System Variables MENUNAME Stores the customization file name, including the path for the file name.
on creating a new CUIx file, see To create a CUIx file from scratch on page 123. CUIx files can be loaded or unloaded with the CUILOAD and CUIUNLOAD commands from the Command prompt, or you can use the Customize tab in the Customize User Interface (CUI) Editor. Commands and user interface elements can be added to a partial CUIx file that is loaded under the main CUIx file, but not the enterprise CUIx file unless it is loaded as the main CUIx file.
NOTE If the partial CUIx file you are attempting to load has the same customization group name as the main CUIx file, you need to change the customization group name before loading it. Open the partial CUIx file in the CUI Editor, select the customization group name, and right-click to rename it. 4 To verify that the file has been loaded into the main CUIx file, in the Customizations In pane, select the Main Customization File (.cuix) from the drop-down list.
3 In the tree view of the main CUIx file, click the plus sign (+) next to the Partial Customization Files node to expand it. Any partial CUIx files loaded in the main CUIx file are displayed. 4 Right-click the partial CUIx file that you want to unload. Click Unload .cuix. The partial CUIx file is unloaded and removed from the list. 5 Click Apply. To add commands to a partial CUIx file 1 Click Manage tab ➤ Customization panel ➤ User Interface.
4 Adjust the properties of the new command in the Properties pane as necessary. 5 Click Apply. Quick Reference Commands CUI Manages the customized user interface elements in the product. CUILOAD Loads a CUIx file. CUIUNLOAD Unloads a CUIx file. Create an Enterprise CUIx File An enterprise CUIx file typically stores customization information that is shared by many users, but is controlled by a CAD manager.
file so you make edits to all of the different user interface elements. Make sure to note which customization file is currently designated as the main customization file, as you will need to restore it later. ■ Modify the contents of the enterprise CUIx file. Once the customization file is designated as the main customization file, you can change the customization group name and modify the CUIx file contents as needed.
2 In the Options dialog box, Files tab, click the plus sign (+) next to Customization Files to expand the list. 3 Click the plus sign next to Enterprise Customization File to open it. 4 Select the item below Enterprise Customization Files and click Browse. 5 In the Select a File dialog box, browse to the location of the enterprise customization file. Click Open. The enterprise CUIx file if shared, must be saved in a location that all users can access. 6 In the Options dialog box, click OK.
3 Click the plus sign next to Main Customization File to expand it. Take note of the current main CUIx file’s name and location as you will need to restore it later. 4 Select the item below Main Customization Files and click Browse. In the Select a File dialog box, browse to the location of the enterprise customization file. Click Open. 5 Click the plus sign next to Enterprise Customization File to expand it.
CUIEXPORT Exports customized settings from the main CUIx file to an enterprise or partial CUIx file. CUILOAD Loads a CUIx file. CUIUNLOAD Unloads a CUIx file. MENU Loads a customization file. OPTIONS Customizes the program settings. System Variables ENTERPRISEMENU Stores the enterprise customization file name (if defined), including the path for the file name. MENUNAME Stores the customization file name, including the path for the file name.
■ Expand the search to include all properties in all tree view nodes in the Customizations In pane. This type of search finds all instances or a search string. For example, if you search for the string “line” and start in the tree view, a message similar to the following is displayed: “Search string found in ‘Linear’ property ‘Name’ at position 0 (1/55).” To find a search string in a CUIx file 1 Click Manage tab ➤ Customization panel ➤ User Interface.
4 Click Find Next to continue your search. 5 Click Close. 6 In the Customize User Interface Editor, click Apply. To find a search string in the Command List pane 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Command List pane, right-click anywhere in the Command list. Click Find. 3 In the Find and Replace dialog box, Find tab, do the following: ■ In the Find What box, enter the search string.
4 Click Find Next to continue your search. 5 Click Close. 6 In the Customize User Interface Editor, click Apply. To find where a command in the Command List pane is used 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Command List pane, right-click the command name you want to find. Click Find. 3 In the Find and Replace dialog box, Find tab, do the following: ■ In the Find What box, enter the command name.
4 In the search results text that is displayed, review the location of the matching search string, its exact position in the tree node or Properties pane, and the number of instances in which the command or search string occurs. 5 Click Find Selected Command to continue your search. 6 Click Close. 7 In the Customize User Interface Editor, click Apply. To replace a search string 1 Click Manage tab ➤ Customization panel ➤ User Interface.
■ In the Ignore Case option, clear the check box if you want the search to find every instance of the search string, regardless of its case. ■ In the Restrict Search To option, select the check box if you want to restrict the search to just one CUIx file. Then, under this option, select a CUIx file from the drop-down list. ■ To step through each instance of a found string before replacing it, click Replace.
3 In the Find and Replace dialog box, Replace tab, in the Find What box, the command name you selected in the previous step is displayed. To complete the dialog box, do the following: ■ In the Replace With box, specify the command name you want to use to replace the found command. ■ In the Ignore Case option, clear the check box if you want the search to find every instance of the command, regardless of its case. ■ To step through each instance of a command name before replacing it, click Replace.
Quick Reference Commands CUI Manages the customized user interface elements in the product. Customize Commands Commands in the Customize User Interface (CUI) Editor are used to define custom macros which are used to start standard and custom commands which can be executed from the command prompt in AutoCAD. Overview of Commands You can easily create, edit, and reuse commands.
Properties for the Scale command in the Command List pane Properties Description pane item Example the object the same after scaling Extended Help File Displays the file name and ID for the extended tooltip that is displayed when the cursor hovers over a toolbar or panel button. Command Display Name String that contains the name of the command that is related to the command. SCALE Macro The command macro. It follows the standard macro syntax.
Properties for the Scale command in the Command List pane Properties Description pane item Example derscore (_). It can also be a user-defined bitmap. Click the [ ] button to open the Select Image File dialog box Quick Reference Commands CUI Manages the customized user interface elements in the product. Create, Edit, and Reuse Commands You can create a new command from scratch, copy an existing command to create a new command, or edit the properties of an existing command.
A new command (named Command1) is displayed in both the Command List pane and the Properties pane. 3 In the Properties pane, do the following: ■ In the Name box, enter a name for the command. The name is displayed as a tooltip or menu name when the command is added to a user interface element. ■ In the Description box, enter a description for the command. The description will be displayed on the status bar or in a tooltip.
To remove a command 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, Command List pane, select Custom from the Command Filter drop-down list. The list is filtered to only show the commands that you have created in the loaded customization files. 3 Select the command to be removed, and right-click over the command. 4 Click Remove.
To edit a command 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, do one of the following: ■ In the Command List pane, select the command you want to edit. ■ In the Customizations In pane, tree view, locate and then select the command you want to edit. 3 In the Properties pane, do any of the following to edit the command: ■ In the Name box, enter a name for the command.
■ In the Description box, enter a description for the command. The description will be displayed on the status bar or in a tooltip. When the cursor hovers over the command on a menu, the description is displayed on the status bar while if it is on a toolbar or ribbon panel it is displayed in a tooltip. ■ In the Extended Help File box, enter the name of the file and ID to use for the extended help for the command.
2 In the Customize User Interface Editor, Customize tab, Command List pane, locate the command you want to use and drag it to an interface element. To copy and paste a command 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, Command List pane, locate the command you want to copy. 3 Right-click over the command. Click Copy.
4 Right-click over a user interface element like a toolbar or menu. Click Paste. NOTE The key combination Ctrl+C can be used to copy a command and Ctrl+V can be used to paste a command. To duplicate a command 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, Command List pane, locate the command you want to duplicate. 3 Right-click over the command. Click Duplicate.
A copy of the selected command is created in-place directly above the selected command in the Command List pane. NOTE The key combination Ctrl+D can be used to duplicate a command in-place. Quick Reference Commands CUI Manages the customized user interface elements in the product. Create Macros A macro defines the action that results when an interface element is selected. A macro accomplishes a drawing task that would otherwise take a series of actions by a user.
Macro Basics A macro in a user interface element can be as simple as a command (such as circle) and some special characters (such as ^C^C). For example, the macro ^C^C_circle \1, draws a circle with a radius of 1 unit. The components that define this macro are explained in the table below.
When you place a space at the end of the macro, AutoCAD processes the macro as though you had entered a command (circle, for example) and then pressed the SPACEBAR to complete the command. Terminate Macros Some macros require special terminators. Some commands (TEXT, for example) require you to press ENTER rather than SPACEBAR to terminate the command. Some commands require more than one space (or ENTER) to complete, but some text editors cannot create a line with trailing blanks.
To assign or modify a command macro 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, Command List pane, locate the command you want to assign (or modify) a command macro. 3 In the Properties pane, select the Macro field and click the [ ] button that is displayed. The Long String Editor dialog box is displayed. 4 In the Long String Editor, edit the macro as desired and click OK. You are returned to the Customize User Interface Editor.
Macros use the special characters listed in the following table. Special characters used in macros Character Description ; Issues ENTER ^M Issues ENTER ^I Issues TAB [blank space] Enters a space; a blank space between command sequences in a command is equivalent to pressing the SPACEBAR \ Pauses for user input (cannot be used with accelerators) . Allows you to access a built-in AutoCAD command even if it was undefined using the UNDEFINE command.
Special characters used in macros Character Description ^Q Echoes all prompts, status listings, and input to the printer (equivalent to Ctrl+Q) ^R Turns command versioning on or off. Command versioning is required for some commands to ensure command macros written in an older release work properly in the latest release.
NOTE LAYER normally prompts for another operation and exits only if you press SPACEBAR or ENTER. In the macro, the semicolon (;) is the equivalent of pressing ENTER. A macro typically resumes after one user input, such as a single point location. Therefore, you cannot construct a macro that accepts a variable number of inputs (as in object selection) and then continues. However, an exception is made for SELECT: a backslash (\) suspends the SELECT command until object selection has been completed.
NOTE When command input comes from a command, the settings of the PICKADD and PICKAUTO system variables are assumed to be 1 and 0, respectively. This preserves compatibility with previous releases of AutoCAD and makes customization easier because you are not required to check the settings of these variables. Quick Reference Commands CHANGE Changes the properties of existing objects. LAYER Manages layers and layer properties. SELECT Places selected objects in the Previous selection set.
Use Built-in Commands in Macros To develop macros that use built-in commands that are part of AutoCAD, precede each command with the period character (.). The period character allows the built-in command to be used even if it has been undefined with the UNDEFINE command making the macro predicable when it is used on other systems that share the same customization file. Quick Reference Commands REDEFINE Restores AutoCAD internal commands overridden by UNDEFINE.
Each macro in the example starts a command and then prompts you to select an object. Any other prompts necessary to complete the command are displayed, and then the command ends and starts again. NOTE Command repetition cannot be used in macros for image tile menus. Quick Reference Commands CUI Manages the customized user interface elements in the product. Use Single Object Selection Mode in Macros Single Object Selection mode cancels the normal repetition of the Select Objects prompt in editing commands.
user interface element of the same type in the main CUIx file, or it can come from a partial CUIx file. You cannot swap interface elements that are of different types (menus and mouse buttons, for example). However, within a given type, you can swap any user interface element for any other element. NOTE Swapping can lead to some strange behavior for tablet menus, because they typically have a different number of macros. Use the following syntax in a macro to swap elements: $section=customizationgroup.
Each command starts the ARC command, switches to the ARCSTUFF screen submenu, and awaits the entry of arc parameters. A space must follow the submenu reference to separate it from subsequent commands in the command. A pull-down menu can be present either in the menu bar or on the active shortcut menu but not both. Quick Reference Commands CUI Manages the customized user interface elements in the product.
In the following examples, ^Z is used as a macro terminator. ^C^C$M=$(if,$(=,$(getvar,tilemode),0),$S=mview _mspace )^Z ^C^C$M=$(if,$(=,$(getvar,tilemode),0),$S=mview _pspace )^Z If these macros did not end with ^Z, AutoCAD would automatically add a space (ENTER), repeating the last command entered. See also: ■ Use Special Control Characters in Macros on page 154 ■ DIESEL on page 393 Quick Reference Commands CUI Manages the customized user interface elements in the product.
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.
Quick Reference Commands CUI Manages the customized user interface elements in the product. Control the Display of Command Items The way a menu or ribbon button item is displayed indicates its availability in the program. A menu or ribbon button item can be displayed as: ■ Grayed out (disabled) ■ Marked with a check marker or border ■ Both grayed out and marked Ribbon button items do not display a check mark when marked; only a border is displayed.
Following is the resulting Copy Link command grayed out in the Edit menu. DIESEL string expressions are used to conditionally disable or enable a menu or ribbon button item each time they are displayed. For example, the DIESEL string expression in the Macros cell of the Properties pane disables the MOVE command while any other command is active. $(if,$(getvar,cmdactive),~)MOVE^C^C_move The AutoLISP menucmd function can also be used to disable and enable items from a macro or application.
■ Using a DIESEL string expression Ribbon button items only support the use of DIESEL string expressions. A menu or ribbon button item is marked in one of two ways: ■ A check mark. Displayed when a menu item does not have an image associated with it. ■ A border. Displayed when a menu or ribbon button item has an image associated with it; a border is displayed around the image.
Simultaneously Disable and Mark Command Items You can mark and disable commands at the same time using either of the following formats: ~!. labeltext !.~ labeltext The tilde (~) is the special character code to disable a command and an exclamation point and period (!.) is the special character code to mark a command. The tilde (~), exclamation point, and period (!.) are placed at the beginning of the Copy Link command label in the Name cell of the Properties pane.
4 In the Properties pane, in the Name field, add a tilde (~) or add the desired DIESEL expression to the beginning of the command. NOTE The command must be selected from the Customizations In pane, otherwise you are just modifying the name of the command and not the label that is displayed to the user. 5 Click Apply. The changes to the command will be visible after the changes have been applied and the CUI Editor is closed.
4 In the Properties pane, in the Name field, add an exclamation point and a period (!.) or add the desired DIESEL expression to the beginning of the command. 5 Click Apply. The changes to the command will be visible after the changes have been applied and the CUI Editor is closed. To simultaneously gray out (disable) and mark a command's menu or ribbon button label 1 Click Manage tab ➤ Customization panel ➤ User Interface.
2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the plus sign (+) next to the menu that contains the command you want to disable and mark. 3 Select the command you want to gray out and mark. 4 In the Properties pane, in the Name field, add a tilde, an exclamation point, and a period (~!. or !.~) or add the desired DIESEL expression to the beginning of the command. 5 Click Apply.
3 In the Properties pane, select the Tags field and click the [ ] button. 4 In the Tag Editor dialog box, in the Tags box, enter a tag. As you enter a tag, a popup menu might display showing a list of previously used tags. Click a tag on the menu to use that tag. You can add more than one tag to a command; separate each tag with a comma. 5 To add another tag for a command, press the Left Arrow key and enter the tag. Repeat as needed. 6 Click OK.
7 In the Customize User Interface Editor, click Apply. To remove a tag from a command 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, Command List pane, select the command from which you want to remove a tag. The Properties pane is displayed on the right side. 3 In the Properties pane, select the Tags field and click the [ ] button. 4 In the Tag Editor dialog box, in the Tags box, click the tag you want to remove. Press Delete.
The tag is removed. 5 Click OK. 6 In the Customize User Interface Editor, click Apply. Quick Reference Commands CUI Manages the customized user interface elements in the product. OPTIONS Customizes the program settings. Create Tooltips and Extended Help for Commands Tooltips are descriptive messages that are displayed near the cursor when it hovers over a toolbar or panel button, or menu item. The Description property associated to a command provides a simple description for what the command does.
Control the Display of Tooltips You control the display of tooltips and when the extended help assigned to a command is displayed from the Options dialog box. See Set Interface Options in the User’s Guide to learn more about tooltips. Example of an XAML File The XAML structure is a format that was developed by Microsoft. The following is an example of what an XAML file might look like for two custom commands that exist in your CUIx file. PAGE 184of the extended help topics in the file. In the previous example there are two different extended help topics, and they are uniquely defined by the keys MYEH_CMD_0001 and MYEH_CMD_0002. NOTE Extended tooltips defined to work with AutoCAD 2009 need to be updated to work with AutoCAD 2011. For information on converting an extended tooltip created for AutoCAD 2009 to work with AutoCAD 2011, see To convert an AutoCAD 2009 extended tooltip to work with AutoCAD 2011 on page 179.
4 Click Apply. The next time the cursor hovers over the command on a toolbar, or ribbon panel, the text is displayed in the tooltip. To add extended help to a command 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, Command List pane, click the command to which you want to add extended help. 3 In the Properties pane, select the Extended Help File field and click [ ] button.
6 Click Apply. When the command is added to a toolbar or ribbon panel, the extended help is displayed if extended help is enabled for tooltips and the cursor hovers over the command for the designated time interval. To create an XAML file 1 In a text editor (for example, Microsoft® Windows® Notepad), create a new file and enter the elements needed to define the extended help content. As an example, enter the text below in the text editor: PAGE 1872 Save the file as ASCII text (TXT file), with a file extension of .xaml. To convert an AutoCAD 2009 extended tooltip to work with AutoCAD 2011 1 Open the XAML file in a text editor (for example, Microsoft® Windows® Notepad). The following is an example of an extended tooltip created to use with AutoCAD 2009. You change the text shown in italic.
System Variables TOOLTIPS Controls the display of tooltips on the ribbon, toolbars, and other user interface elements. Create Status Line Help Messages Status line help messages are simple, descriptive messages that are displayed on the status line (at the bottom of the application window) when the cursor hovers over a menu item. You can change or add descriptions for menu items by updating the Description property for a related command.
4 Click Apply. The next time you use the command, the descriptive text you added is displayed in the status line when the cursor hovers over the command on a menu. Quick Reference Commands CUI Manages the customized user interface elements in the product. OPTIONS Customizes the program settings. Assign, Create, and Manage Images for Commands Images can be assigned to commands, and can be of two different types: standard and custom.
When a command is added to a ribbon or toolbar, the assigned image is displayed on the ribbon or toolbar button, or if added to a pull-down menu, the image is displayed next to the menu item. AutoCAD comes with a library of standard images that are used for the standard commands; these can be assigned to your own custom commands. You can create your own custom commands using the Button Editor dialog box found in the Customize User Interface Editor or an external image editor.
■ Select an image from the image list and the image name is assigned to the Small, Large, or both the Small and Large image properties of the selected command. NOTE As you select an image from the image list, the image’s name is displayed below the Export button in the Button Image pane. Import and assign a custom image ■ In the Button Image pane, right-click in the list of images and click Import Image.
■ In the Button Image pane, under Apply To, select one of the three image assignment options; Small Image, Large Image, or Both. Then select the image you imported from the image list. 4 Click Apply. Quick Reference Commands CUI Manages the customized user interface elements in the product. Create and Edit Custom Images for Commands Custom images can be created and edited which can be assigned to a command.
To create or edit a button image 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Command List pane or the Customizations In pane, click a command to display the Button Image pane (in the upper-right corner). 3 In the Button Image pane, select an image from the image list that is closest in appearance to the image you want to create or select an existing image to edit. Click Edit.
NOTE Click Import to import a BMP file stored on a local or network drive to edit it in the Button Editor dialog box and store it in the working CUIx file. 5 Click Save. The Save Image dialog box is displayed. 6 In the Save Image dialog box, Image Name text box, enter a name and click OK. The image is saved to the working CUIx file. 7 Click Close. You are returned to the Customize User Interface Editor. Quick Reference Commands CUI Manages the customized user interface elements in the product.
To import a custom image to the image list and the working customization file 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Command List pane, select any command to display the Button Image pane. 3 In the Button Image pane, right-click the image list and click Import Image. 4 In the Open dialog box, browse to and select the BMP file that you want to import and click Open.
4 In the Export Image File dialog box, browse to the folder to which you want to export the image and enter a name for the image in the File Name text box. 5 Click Save. NOTE You can only export images in the BMP (*.bmp, *.rle, or *.dib) format. To import an image into a loaded customization file using the Image Manager 1 Click Manage tab ➤ Customization panel ➤ User Interface.
4 In the Import Images dialog box, browse to and select the images you want to import. Click Open. If the CUI Editor - Image Already Exists dialog box is displayed, click Import Image as Copy to create a copy of the image being imported or Overwrite Existing Image to replace the image with the one being imported. 5 Click OK. To export an image from a loaded customization file with the Image Manager 1 Click Manage tab ➤ Customization panel ➤ User Interface.
4 In the Custom Images list, select the image you want to export and click Export. 5 In the Browse For Folder dialog box, browse to the folder to which you want to export the selected images. Click OK. 6 Click OK. To delete an image from a loaded customization file 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click Launches the Image Manager Dialog.
4 In the Custom Images list, select the image you want to remove and click Delete. 5 In the CUI Editor - Confirm Deletion of Image dialog box, click Delete Image. If the selected image is assigned to a command, the CUI Editor - Confirm Deletion of Referenced Image dialog box is displayed. The deletion of the image cannot be undone. 6 Click OK. Quick Reference Commands CUI Manages the customized user interface elements in the product.
See also: To copy and paste a user interface element 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, Customizations In pane, expand the main node for the user interface element that you want to copy. 3 Right-click the user interface element, and click Copy. 4 Right-click the node that you want to paste the selected user interface element to, and click Paste.
NOTE The key combination Ctrl+C can be used to copy a user interface element and Ctrl+V can be used to paste a user interface element in the Customizations In pane. 5 Click Apply. To duplicate a user interface element 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, Customizations In pane, expand the main node for the user interface element that you want to duplicate.
Quick Reference Commands CUI Manages the customized user interface elements in the product. Quick Access Toolbars The Quick Access toolbar is located along the top of the application window (above or below the ribbon) and provides direct access to a defined set of commands. The Quick Access toolbar is always located in the same place in the program, but different commands may be displayed on it based on the current workspace.
To create a Quick Access toolbar 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, right-click Quick Access Toolbars. Click New Quick Access Toolbar. A new Quick Access toolbar (named Quick Access Toolbar1) is placed at the bottom of the Quick Access Toolbars tree. 3 Do one of the following: ■ Enter a new name over the default name Quick Access Toolbar1. ■ Right-click Quick Access Toolbar1.
4 Click Apply. To add a command or control to a Quick Access toolbar from the CUI Editor 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the plus sign (+) next to the Quick Access Toolbars node to expand it. 3 Click the plus sign (+) next to the Quick Access toolbar that you want to modify.
A splitter bar is displayed to indicate the location where the command or control will be added when you release the pointing device button. 5 Once the splitter bar is in the location you want to insert the command or control, release the pointing device button. 6 Click Apply. To remove a command or control from a Quick Access toolbar with the CUI Editor 1 Click Manage tab ➤ Customization panel ➤ User Interface.
5 Click Apply. To add and remove commands from the Quick Access toolbar outside the CUI Editor ■ To add a command to the Quick Access toolbar Do one of the following: ■ ■ Right-click a command on the ribbon, and click Add to Quick Access Toolbar. ■ On the Quick Access toolbar, click the Customize button located on the right side and select one of the listed commands or select More Commands. Selecting More Commands displays the Customize User Interface (CUI) Editor in a compact state.
2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the plus sign (+) next to the Quick Access Toolbars node to expand it. 3 Click the plus sign (+) next to the Quick Access toolbar that you want to modify. 4 Right-click the Quick Access toolbar which you want to add a drop-down to. Click New Drop-down. A new drop-down (named New Drop-down) is added to the bottom of the Quick Access toolbar. 5 Right-click the new drop-down. Click Rename.
A visual indicator bar is displayed to indicate the location where the command or control will be added when the pointing device button is released. 8 Once the splitter bar is in the location where you want to insert the command or control, release the pointing device button. 9 Adjust the properties of the drop-down as desired to control the appearance of the drop-down and the commands under the drop-down.
Ribbon You can customize the ribbon by creating and modifying ribbon panels and organizing ribbon panels into groups of task-based tools with ribbon tabs. Ribbon tabs can be displayed on the ribbon with a workspace or based on a contextual tab state when they are needed. Ribbon Panels By customizing ribbon panels, you can organize commands that you use frequently similar to toolbars. With ribbon panels, you can quickly access commands, and reduce the number of user interface elements that are displayed.
Properties for the Home 2D - Draw Ribbon Panel Properties Description Pane Item Example Aliases Specifies the aliases for the panel. Click the [ ] button to open the Aliases dialog box. Each alias in the CUIx file should be unique and is used to reference the panel programmatically. ID_Draw Element ID Tag that uniquely identifies a panel. ID_PanelDraw Create a Ribbon Panel Ribbon panels can be created from scratch or from an existing toolbar or dashboard panel.
To create a ribbon panel 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the plus sign (+) next to the Ribbons node to expand it. 3 Right-click Panels. Click New Panel. A new panel (named Panel1) is placed at the bottom of the Ribbon Panels tree. 4 Right-click Panel1. Click Rename. Enter a new panel name.
To copy a toolbar to a ribbon panel 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the plus sign (+) next to Toolbars to expand it. 3 Right-click the toolbar that you want to copy to a ribbon panel. Click Copy to Ribbon Panels. 4 In the CUI Editor - Confirm Copy to Ribbon Panels Node dialog box, click Yes. The copied toolbar is copied to the Panels node under the Ribbons node.
The copied dashboard panel is copied to the Panels node under the Ribbons node. 8 Drag the new ribbon panel from the Customizations In pane on the right to the Panels node of one of the loaded CUIx files in the Customizations In pane on the left. 9 Click Apply. To remove a ribbon panel 1 Click Manage tab ➤ Customization panel ➤ User Interface.
WARNING There is no way to undo the removal of a user interface element, so be careful when removing user interface elements. If you remove the wrong user interface element, the best thing to do is click Cancel to not save changes, but this will also undo any other changes that you might have made. 5 In the AutoCAD message box, click Yes. 6 Click Apply. To control the display of ribbon panel titles on the ribbon ■ Right-click a ribbon tab on the ribbon, and click Show Panel Titles.
4 Click the plus sign (+) next to the ribbon panel where you want to assign a command to its Panel Dialog Box Launcher node. 5 Drag a command from the Command List pane to the Panel Dialog Box Launcher node for the panel. 6 Click Apply. Quick Reference Commands CUI Manages the customized user interface elements in the product. RIBBON Opens the ribbon window. RIBBONCLOSE Closes the ribbon window.
You can add and rearrange the commands and controls on a row that you use often, and you can remove those from a row that you use infrequently. Rows are used to hold and organize commands and controls on a ribbon panel. Along with using rows to organize commands, you can also create drop-downs that contain multiple commands and only take up the space of a single command. For more information about drop-downs on ribbon panels, see Add Drop-downs to a Ribbon Panel on page 219.
Properties for the Line Command on Row 1 of the Home 2D - Draw Ribbon Panel Properties Description Pane Item Example Description Text used to describe the element; does not appear in the user interface. Creates straight line segments Extended Help File Text that displays the file name and ID for the extended tooltip that is displayed when the cursor hovers over a toolbar or panel button. Command Display Name Text that contains the name of the command that is related to the command.
Properties for the Line Command on Row 1 of the Home 2D - Draw Ribbon Panel Properties Description Pane Item Example Large Image RCDATA_32_LINE ID string of the large-image resource (32 × 32 bitmap). If the specified bitmap is not 32 × 32, the program scales it to that size. The string must include alphanumeric characters with no punctuation other than a hyphen (-) or an underscore (_). It can also be a user-defined bitmap. Click the [ ] button to open the Select Image File dialog box.
■ To reposition a row or sub-panel on a ribbon panel on page 213 (Procedure) ■ To add a command to a ribbon panel on page 213 (Procedure) ■ To reposition a command on a ribbon panel on page 216 (Procedure) ■ To remove a command from a ribbon panel on page 215 (Procedure) ■ To change the display and behavior of commands, controls and drop-downs on a ribbon panel on page 216 (Procedure) To add a row to a ribbon panel 1 Click Manage tab ➤ Customization panel ➤ User Interface.
3 Click the plus sign (+) next to Panels to expand it. 4 Click the plus sign (+) next to the ribbon panel where you want to add a sub-panel or fold panel. 5 Create a new row for the sub-panel or fold-panel if needed, or click the plus sign (+) next to the row where you want to add a sub-panel or fold panel. 6 Right-click the row where you want to add a sub-panel or fold-panel. Click New Sub-Panel or New Fold Panel. 7 Click Apply.
6 Click Apply. To reposition a row or sub-panel on a ribbon panel 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the plus sign (+) next to Ribbon to expand it. 3 Click the plus sign (+) next to Panels to expand it. 4 Click the plus sign (+) next to the ribbon panel where you want to reposition a row or sub-panel.
2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the plus sign (+) next to Ribbon to expand it. 3 Click the plus sign (+) next to Panels to expand it. 4 Click the plus sign (+) next to the ribbon panel where you want to add a command. 5 Click the plus sign (+) next to the rows, sub-panels, or drop-downs to get to the location you want to add a command. 6 Drag a command from the Command List pane to a row, sub-panel, or drop-down on the panel.
8 Click Apply. To remove a command from a ribbon panel 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the plus sign (+) next to Ribbon to expand it. 3 Click the plus sign (+) next to Panels to expand it. 4 Click the plus sign (+) next to the ribbon panel where you want to remove a command.
7 Click Apply. To reposition a command on a ribbon panel 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the plus sign (+) next to Ribbon to expand it. 3 Click the plus sign (+) next to Panels to expand it. 4 Click the plus sign (+) next to the ribbon panel where you want to reposition a command.
2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the plus sign (+) next to Ribbon to expand it. 3 Click the plus sign (+) next to Panels to expand it. 4 Click the plus sign (+) next to the ribbon panel where you want to show the label for a command. 5 Click the plus sign (+) next to the row, sub-panel, or drop-down where you want to show the label for a command.
3 Click the plus sign (+) next to Panels to expand it. 4 Click the plus sign (+) next to the ribbon panel which has the command or drop-down for which you want to set the size. 5 Click the plus sign (+) next to the row or sub-panel that has the command or drop-down for which you want to set the size. If you need to, continue expanding rows, sub-panels, and drop-downs to get to the command or drop-down. 6 Select the command or drop-down for which you want to set the size.
6 Select the drop-down that you want to change, and update its properties in the Properties pane: ■ In the Behavior box, click the down arrow and select Drop Down Menu with Recent, Drop Down Menu, Split with Recent, Split, or Split with Recent (Static). ■ In the Split Button List Style box, click the down arrow and select Icon, Icon and Text, and Descriptive. 7 Click Apply. Quick Reference Commands CUI Manages the customized user interface elements in the product. RIBBON Opens the ribbon window.
Ribbon panel drop-downs, like toolbar flyouts, that can hold a number of commands in a single place on a ribbon panel. Drop-downs are used to help reduce the amount of space that related commands can take up. Commands on a drop-down can be started by clicking the main button or selecting a command from the menu when the main or split button is clicked based on how the properties of a drop-down are configured.
Properties for the Arc Drop-down on Row 1 of the Home 2D - Draw Ribbon Panel Properties Pane Item Description Example NOTE It is recommended to not use the Large With Text (Horizontal) option as it takes up extra space on the ribbon. Grouping Controls whether the commands assigned to a drop-down are grouped based on the values assigned to their Group Name properties. No KeyTip Specifies the keytip characters that can be used to access the command from the keyboard.
To create a drop-down in a row on a ribbon panel 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the plus sign (+) next to Ribbon to expand it. 3 Click the plus sign (+) next to Panels to expand it. 4 Click the plus sign (+) next to the ribbon panel where you want to add a drop-down. 5 Right-click the row to which you want to add a drop-down. Click New Drop-down.
8 Adjust the properties of the drop-down as desired to control the appearance of the drop-down and the commands under the drop-down. on page 216 9 If the drop-down will use the Split behavior, add a command to the Primary Command node under the drop-down to set the command for the main button. 10 Click Apply. Quick Reference Commands CUI Manages the customized user interface elements in the product. RIBBON Opens the ribbon window. RIBBONCLOSE Closes the ribbon window.
Add and Remove Ribbon Panel Controls You can add, remove, and relocate ribbon panel controls, such as drop-down lists, sliders, text boxes, and other types of panel-specific controls that start commands or change a setting. For example, the Home 2D/3D - Layers panel contains controls for working with the layers of a drawing. The following table describes the controls found in the Customize User Interface (CUI) Editor that can be used on ribbon panels.
Controls available for ribbon panels Control element Control Type Description AcActionRecorderUserInputButtonItem Button Inserts a request for user input for the selected action, if requesting user input is supported for the selected action. AcActionRecorderUserMessageButtonItem Button Inserts a user message into the action macro based on the selected action in the Action tree. Ribbon Toggle Button - Advanced Render Settings Toggle Displays or hides the Advanced Render Settings palette.
Controls available for ribbon panels Control element Control Type Description Ribbon Combo Box - Block Visibility States Drop-down list Displays a list of the visibility states saved with the current block in the Block Editor. Ribbon Command Button - Block Visibility Hide Button Makes objects visible in the current visibility state or all visibility states in the block definition opened for edit in the Block Editor.
Controls available for ribbon panels Control element Control Type Description Ribbon Toggle Button - Drawing Status Bar Toggle Displays or hides the drawing status bar. Ribbon Toggle Button - DWF Osnap Toggle Controls object snapping for DWF underlays. Ribbon Toggle Button - Dynamic Constraint Display Toggle Displays or hides dynamic constraints. Ribbon Combo Box - What to Export Drop-down list Controls which part of the drawing should be exported to a DWF, DWFx or PDF file.
Controls available for ribbon panels Control element Control Type Description Ribbon Combo Box - IPE Color Color Drop-down list Displays and changes the current color for the selected text in the multiline text editor. Ribbon Combo Box - Font Drop-down list Displays and changes the current font style for the selected text in the multiline text editor. Ribbon Combo Box - Text Height Drop-down list Displays and changes the current text height for the selected text in the multiline text editor.
Controls available for ribbon panels Control element Control Type Description Ribbon Combo Box - Layer State Drop-down list Displays the available layer states; you can restore a saved layer state. Ribbon Toggle Button - Light Glyph Display Toggle Displays or hides the light glyphs in a drawing. Brightness Slider Adjusts the global brightness for the lighting used when rendering. Ribbon Toggle Button - Lights in Model Toggle Displays or hides the Lights in Model palette.
Controls available for ribbon panels Control element Control Type Description Ribbon Combo Box - Multileader Style Drop-down list Displays and sets the current multileader style. 3D Navigation Combo Control Multiple Displays and sets the current view to a standard orthographic or isometric view, or a saved name view based on the current space. Lens length Slider Adjusts the lens length of a perspective view. Step size Slider Adjusts the step size for the 3D walk and fly features.
Controls available for ribbon panels Control element Control Type Description Ribbon Toggle Button - Quick Calculator Toggle Displays or closes the QuickCalc palette. Ribbon Label - ReferenceEditName Label Displays the name of the block that is directly being edited in the current drawing. Ribbon Progress Bar - Render Button and progress bar Shows the amount of time left to complete the current rendering.
Controls available for ribbon panels Control element Control Type Description Transparency Slider Displays and sets the transparency level for the selected section object. Ribbon Combo Box - Section Type Drop-down list Displays and sets the section type for the selected section object. Ribbon Toggle Button - Sheet Set Manager Toggle Displays or closes the Sheet Set Manager palette.
Controls available for ribbon panels Control element Control Type Description Ribbon - Underlay, Display Monochrome Toggle Button Toggle Determines if the selected underlay should be displayed in monochrome colors only. Fade Slider Displays and sets the current fade value for the selected underlay. Ribbon - Clip Toggle Button Toggle Determines if the selected underlay is fully visible or just the area based on the clipping boundary.
Controls available for ribbon panels Control element Control Type Description Ribbon Gallery - Visual Styles Gallery Displays and sets the visual style for the active viewport. Ribbon Combo Box - Visual Styles Intersection Edge Color Drop-down list Displays and sets the color used for intersecting lines for the current visual style.
Controls available for ribbon panels Control element Control Type Description Ribbon Toggle Button - X-Ray Effect Toggle Indicates x-ray mode for the current visual style, and enables or disables x-ray mode. Ribbon Toggle Button - Xref fading Toggle Indicates the objects of xrefs are faded into the background, enables or disables xref fading. Layer Combo Control Drop-down list Displays and sets the current layer.
7 Drag a control from the Command List pane to add it to the panel. Use the visual indicator bar to specify the position of the control. 8 Click Apply. To reposition a control on a ribbon panel 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the plus sign (+) next to Ribbon to expand it. 3 Click the plus sign (+) next to Panels to expand it.
7 Click Apply. To remove a control from a ribbon panel 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the plus sign (+) next to Ribbon to expand it. 3 Click the plus sign (+) next to Panels to expand it. 4 Click the plus sign (+) next to the ribbon panel where you want to remove a control. 5 Click the plus sign (+) next to the row where you want to remove a control.
RIBBONCLOSE Closes the ribbon window. Ribbon Tabs Ribbon tabs control the display and order in which ribbon panels are displayed on the ribbon. You add ribbon tabs to a workspace to control which ribbon tabs are displayed on the ribbon. Ribbon tabs do not contain any commands or controls like a ribbon panel does; instead, they manage the display of ribbon panels on the ribbon.
The following table describes the properties for the Home - 2D ribbon tab as they appear in the Properties pane. Properties for the Home - 2D ribbon tab Properties Description pane item Example Display Text Title of the tab; displayed when the ribbon tab is assigned to a workspace and the Ribbon palette is displayed. Home Contextual Display Type Specifies whether the ribbon tab is displayed on its own tab or is merged with the ribbon tabs already displayed on the ribbon.
Merge Tab Only displays the ribbon tabs from a partial CUIx file with those that have a matching alias in the main CUIx file. The Merge or Add Tab option merges the tab before a new tab is created on the ribbon. To create a ribbon tab 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the plus sign (+) next to Ribbon to expand it. 3 Right-click Tabs and click New Tab.
■ In the Aliases box, enter an alias for the ribbon tab. 6 Click Apply. To remove a ribbon tab 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the plus sign (+) next to Ribbon to expand it. 3 Click the plus sign (+) next to Tabs to expand it. 4 Right-click the ribbon tab that you want to remove. Click Remove.
2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the plus sign (+) next to Ribbon to expand it. 3 Click the plus sign (+) next to Tabs to expand it. 4 Click the plus sign (+) next to the ribbon tab where you want to add a ribbon panel. 5 Click the plus sign (+) next to Panels to expand it. 6 Drag a ribbon panel from the Panels node to a ribbon tab. Use the visual indicator bar to specify the position of the ribbon panel on the ribbon tab.
WARNING There is no way to undo the removal of a user interface element, so be careful when removing user interface elements. If you remove the wrong user interface element, the best thing to do is click Cancel to not save changes, but this will also undo any other changes that you might have made. 6 Click Apply. To set the initial position of a ribbon panel on a ribbon tab 1 Click Manage tab ➤ Customization panel ➤ User Interface.
6 Once the splitter bar is in the place where you want to insert the ribbon panel, release the pointing device button. 7 Click Apply. To set the resize style of a ribbon panel on a ribbon tab 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the plus sign (+) next to Ribbon to expand it. 3 Click the plus sign (+) next to Tabs to expand it.
You use the same ribbon tabs that you create to control the display of ribbon panels on the ribbon through a workspace, as those used for ribbon contextual tab states. Instead of using a workspace to control the display of a ribbon tab, you assign a ribbon tab to one of the predefined contextual states listed under the Contextual Tab States node in the Customizations In pane. Predefined contextual tab states range from selecting an object such as a table or opening a block in the Block Editor.
5 Right-click the ribbon tab under the contextual tab state and click Remove. 6 Click Apply. To set the contextual display type a ribbon tab 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the plus sign (+) next to Ribbon to expand it. 3 Click the plus sign (+) next to Contextual Tab States to expand it.
7 Click Apply. Quick Reference Commands CUI Manages the customized user interface elements in the product. RIBBON Opens the ribbon window. RIBBONCLOSE Closes the ribbon window. System Variables RIBBONCONTEXTSELECT Controls how ribbon contextual tabs are displayed when you single- or double-click an object. RIBBONCONTEXTSELLIM Limits the number of objects that can be changed at one time with the ribbon property controls or a contextual tab.
Toolbars Toolbar customization can be as easy as placing or resizing a toolbar in the application window to gain drawing efficiency or space. You can also create and modify toolbars and flyout toolbars, add commands and controls, and reposition and remove commands and controls from a toolbar. Create and Edit Toolbars Some of the simplest toolbar customizations can make your daily drawing tasks more efficient.
Properties for the Standard toolbar Properties pane item Description Example tions are Do Not Add to Workspaces or Add to Workspaces. Orientation Specifies whether the toolbar is floating or docked (top, bottom, left, or right) the first time the CUIx file is loaded. Top Default X Location Specifies the location from the left edge of the screen when the toolbar appears when it is floating, or the location when it is docked. If docked, a value of 0 indicates the left most location in a docked area.
that is displayed in the tooltip when the cursor hovers over top of the button by changing the Name property that is displayed in the Properties pane. Customize Toolbars with the Toolbar Preview Pane You can customize a toolbar using the tree view under the Customizations In pane or the Toolbar Preview pane. The Toolbar Preview pane allows you to add and remove commands or controls visually in real-time instead of just using the tree view.
A new toolbar (named Toolbar1) is placed at the bottom of the Toolbars tree. 3 Do one of the following: ■ Enter a new name over the default name Toolbar1. ■ Right-click Toolbar1. Click Rename. Enter a new toolbar name. ■ Click Toolbar1, wait, and click again over the toolbar’s name again to edit its name in-place. 4 Select the new toolbar in the tree view, and update the Properties pane: ■ In the Description box, enter a description for the toolbar.
5 In the Command List pane, drag the command you want to add to a location just below the name of the toolbar in the Customizations In pane. 6 Click Apply. To create a toolbar from a pull-down menu 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the plus sign (+) next to the Menus tree node to expand it.
4 Update the workspace as desired to update the display and position for the new toolbar. To add a command to a toolbar in the Customizations In pane 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the plus sign (+) next to the Toolbars tree node to expand it. 3 In the Command List pane, drag the command to the toolbar you want to add it to in the Customizations In pane.
3 Select the toolbar you want to add a command to. 4 In the Command List pane, drag the command you want to add to the selected toolbar and drop it on the toolbar’s preview in the Toolbar Preview pane. You can control where the command is placed by releasing the mouse button when the black vertical splitter bar is displayed. 5 Click Apply. To add a command to a toolbar outside the CUI Editor 1 Display the toolbar you want to add a command to by right-clicking over a toolbar button.
You can control the location of the command you are adding by using the visual or horizontal indicator bar. 4 Click Apply. To reposition a command or control on a toolbar in the Customizations In pane 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the plus sign (+) next to the Toolbars tree node to expand it.
While dragging the command or control, use the visual indicator bar to specify the new position of the command or control. When the left arrow appears, the command or control is moved to the front of the toolbar. 5 Click Apply. To reposition a command or control on a toolbar in the Toolbar Preview pane 1 Click Manage tab ➤ Customization panel ➤ User Interface.
The Customize User Interface (CUI) Editor is displayed. 3 Drag the command on the toolbar that you want to reposition. While dragging the command, use the visual indicator bar to specify the new position of the command. 4 Click Apply. To remove a command or control from a toolbar in the Customizations In pane 1 Click Manage tab ➤ Customization panel ➤ User Interface.
To remove a command or control from a toolbar in the Toolbar Preview pane 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the plus sign (+) next to the Toolbars tree node to expand it. 3 Select the toolbar that contains the command or control you want to reposition. 4 In the Toolbar Preview pane, drag the command or control that you want to remove and drop it outside of the preview.
5 In the Customize User Interface (CUI) Editor, click Apply. To change properties of a toolbar 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the plus sign (+) next to the Toolbars tree node to expand it. NOTE Making changes to a toolbar’s properties here only affect the initial appearance of the toolbar after the CUIx file has been loaded.
Quick Reference Commands CUI Manages the customized user interface elements in the product. QUICKCUI Displays the Customize User Interface Editor in a collapsed state. RIBBON Opens the ribbon window. RIBBONCLOSE Closes the ribbon window. System Variables TOOLTIPS Controls the display of tooltips on the ribbon, toolbars, and other user interface elements. Add Flyouts to a Toolbar You can use flyouts to group related commands together on a toolbar.
Properties for the Zoom flyout on the Standard toolbar Properties pane item Description Example Description Text used to describe the element, does not appear in the user interface. Source Toolbar A read-only value used to specify which toolbar is being referenced to create the flyout. TB_ZOOM Use Own Button Controls whether the last used toolbar button is set as the current button or not. The possible values are Yes or No. No Small Image ID string of the small-image resource (16 × 16 bitmap).
A new flyout toolbar (named Toolbar1) is placed below the toolbar you selected. 4 Right-click Toolbar1. Click Rename. Enter a new toolbar name. NOTE You can click, wait, and click again over a toolbar name to edit its name in-place in the Customizations In pane. NOTE Just renaming the toolbar won’t change the name of the flyout. You must select and rename the flyout independently if you want them to both have the same name.
6 Click Apply. To create a flyout toolbar from another toolbar 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the plus sign (+) next to the Toolbars tree node to expand it. 3 Click the plus sign (+) next to the toolbar to which you want to add a flyout toolbar. 4 Locate the toolbar you want to use as a flyout. Drag the toolbar to a location in the expanded toolbar.
5 Click Apply. To create a flyout toolbar from a pull-down menu 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the plus sign (+) next to the Toolbars tree node to expand it. 3 Click the plus sign (+) next to the toolbar to which you want to add a flyout toolbar. 4 Click the plus sign (+) next to the Menus tree node to expand it.
6 Reposition the new flyout on the toolbar. Quick Reference Commands CUI Manages the customized user interface elements in the product. Add, Remove or Switch Toolbar Controls Toolbar controls are drop-down lists of items that can affect the objects in a drawing or the way the program behaves from a toolbar. For example, the Layers toolbar contains controls for defining layer settings. In the Customize User Interface (CUI) Editor, you can add, remove, and relocate controls within toolbars.
Control elements for toolbars Control element Description Find Text Control Allows for searching on a text string contained in the current drawing. Layer Control Displays the current layer and allows you to set a layer current. Line Type Control Displays and sets the current linetype. Line Weight Control Displays and sets the current line weight. Multileader Style Control Displays and sets the current multileader style. Named View Control Displays and sets the current named view.
To add a control to a toolbar in the Customizations In pane 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, Customizations In pane, click the plus sign (+) next to the Toolbars tree node to expand it. 3 Click the plus sign (+) next to the toolbar to which you want to add a control. 4 In the Command List pane, Categories list, click Toolbar Control Elements.
To add a control to a toolbar in the Toolbar Preview pane 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the plus sign (+) next to the Toolbars tree node to expand it. 3 Select the toolbar to which you want to add a control. 4 In the Command List pane, Categories list, click Control Elements. The Command List pane displays the list of toolbar control elements only.
To switch a control in a toolbar 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, Customizations In pane, click the plus sign (+) next to the Toolbars tree node to expand it. 3 Click the plus sign (+) next to the toolbar to which you want to add a control. 4 Click the control element under the toolbar. 5 In the Properties pane, Control box, click the down arrow to display a list of toolbar controls.
Quick Reference Commands CUI Manages the customized user interface elements in the product. Pull-down and Shortcut Menus Pull-down menus are displayed as a list under a menu bar. Shortcut menus (also called context menus) are displayed at or near the crosshairs or cursor when you right-click in the drawing window, text window, command window, in toolbar areas, or the ribbon. Overview of Pull-Down and Shortcut Menus A pull-down menu can contain up to 999 commands.
NOTE When you create a pull-down or shortcut menu, you must also add at least one command to the menu. Otherwise, the menu will not be displayed on the menu bar. Quick Reference Commands CUI Manages the customized user interface elements in the product. System Variables MENUBAR Controls the display of the menu bar. Create a Pull-Down Menu You can create a pull-down menu, add submenus and commands to it on the Customize tab of the Customize User Interface (CUI) Editor.
To create a pull-down menu 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, right-click Menus. Click New Menu. A new menu (named Menu1) is placed at the bottom of the Menus tree. 3 Do one of the following: ■ Enter a new name over the default name Menu1. ■ Right-click Menu1. Click Rename. Enter a new menu name.
NOTE You can change the name of a command after it has been added to a menu. This allows you to define how the user can access the menu item using keyboard navigation with the Alt key. To do this, select the menu item under the Menus node and then change the Name property in the Properties pane. 6 Click Apply. To add a command to a pull-down menu 1 Click Manage tab ➤ Customization panel ➤ User Interface.
NOTE You can change the name of a command after it has been added to a menu. This allows you to define how the user can access the menu item using keyboard navigation with the Alt key. To do this, select the menu item under the Menus node and then change the Name property in the Properties pane. 4 Click Apply. For information about creating a command, see Create, Edit, and Reuse Commands on page 144.
Quick Reference Commands CUI Manages the customized user interface elements in the product. System Variables MENUBAR Controls the display of the menu bar. Create a Shortcut Menu Shortcut menus are displayed at or near the location of your cursor when you right-click on the pointing device. The shortcut menu and the options it provides depend on the location of the cursor and other conditions, such as whether an object is selected or a command is in progress.
Aliases for context-sensitive shortcut menus must be numbered between POP500 and POP999, with the exception of the Object Snap menu which uses an alias of POP0. The following aliases are reserved for use by the program: Program aliases for shortcut menus Alias Description GRIPS Defines the Hot Grip shortcut menu. (Right-click the drawing area while a grip on an object is selected.) CMDEFAULT Defines the Default mode shortcut menu.
table shows the object names that are specific to inserted objects (blocks, dynamic blocks, and xrefs).
Command Specific Shortcut Menus Like the CMEDIT menu, the CMCOMMAND menu can contain context-sensitive commands. Menus named COMMAND_commandname control which commands are appended to the CMCOMMAND menu when a command is active. The text of commandname can be any valid AutoCAD command, including custom-defined or third-party commands. In many cases, you can enter a hyphen before a command to suppress the display of a dialog box and display prompts for the command instead.
d In the Properties pane, Description box, optionally enter a description for the shortcut menu. e In the Aliases box, click the [ ] button. f In the Aliases dialog box, press Enter so you are on a new line. Enter additional aliases for the menu, and after each one, press Enter. An alias is automatically assigned, and defaults to the next available POP number, based on the number of shortcut menus already loaded in the program.
For example, if you want the commands on the shortcut menu to appear when using the LINE command use the alias COMMAND_LINE. The commands from the shortcut menu will appear at the bottom of the shortcut menu with the alias CMCOMMAND when it is displayed. a Click Manage tab ➤ Customization panel ➤ User Interface. b In the Customize User Interface Editor, Customize tab, in the Customizations In pane, right-click Shortcut Menus. Click New Shortcut Menu.
g In the Command List pane, drag the command that you want to add to the location just below the shortcut menu in the Customizations In pane. h Continue adding commands until the new shortcut menu is complete. i Click Apply. ■ To create an object shortcut menu In order for the commands on the shortcut menu to appear when an object or objects of the same type are selected, make sure to use the alias OBJECT_objecttype or OBJECTS_objecttype.
b In the Customize User Interface Editor, Customize tab, in the Customizations In pane, right-click Shortcut Menus. Click New Shortcut Menu. The new shortcut menu (named ShortcutMenu1) is placed at the bottom of the Menus tree. c Do one of the following: ■ Enter a new name over the default name ShortcutMenu1. ■ Right-click ShortcutMenu1. Click Rename. Enter a new shortcut menu name. ■ Click ShortcutMenu1, wait, and click again over the shortcut menu’s name to edit its name in-place.
g In the Command List pane, drag the command that you want to add to the location just below the shortcut menu in the Customizations In pane. h Continue adding commands until the new shortcut menu is complete. i Click Apply. To add a command to a shortcut menu 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the menu to which you want to add a command.
NOTE You can change the name of a command after it has been added to a menu. This allows you to define how the user can access the menu item using keyboard navigation with the Alt key. To do this, select the menu item under the Shortcut Menus node and then change the Name property in the Properties pane. 4 Click Apply. For information about creating a command, see Create, Edit, and Reuse Commands on page 144.
6 Click Apply. Quick Reference Commands CUI Manages the customized user interface elements in the product. System Variables SHORTCUTMENU Controls whether Default, Edit, and Command mode shortcut menus are available in the drawing area. Create Submenus You can create submenus to organize and group similar commands together. Submenus are created in much the same way that you create a menu.
Special characters for submenus Character Description Example ~ Makes a command unavailable. ~Plot Style !. Marks a command with a check mark or if an icon is displayed for the menu item it appears sunken. !.Layer... & Placed directly before a character, specifies the character as the menu access key in a pull-down or shortcut menu label. S&le displays Sample (with the letter a underlined). \t Pushes all label text entered after these characters to the right side of the menu. Help\tF1 displ
■ Click Menu1, wait, and click again over the menu’s name again to edit its name in-place. 5 In the Properties pane, do the following: ■ In the Description box, optionally enter a description for the submenu. 6 In the Command List pane, drag the command you want to add to a location just below the name of the submenu in the Customizations In pane. 7 Continue adding commands until the new submenu is complete. 8 Click Apply.
Reference Pull-Down or Shortcut Menus Using a method similar to that used to activate submenus, you can activate or deactivate another pull-down or shortcut menu. This is called menu referencing. Pull-down or shortcut menus can be referenced using two different methods: relative and absolute. Relative referencing uses the customization group name and element ID. Absolute referencing uses the absolute position of a menu item in the menu hierarchy.
(through the loading of partial CUIx files), the following syntax will not work in all cases. (menucmd "P1.2=~") This syntax relies on the location of the menu item and does not work if a new item is inserted before POP1 by the CUILOAD command. Menu item numbering is consecutive regardless of the hierarchy of the menu. To make it easy for an item to address itself regardless of its location in the menu hierarchy, use these forms: $P@.@=xxx References the current or most recently chosen command. $P@.
Swap and Insert Pull-Down Menus Using the Customize User Interface (CUI) Editor, you can use workspaces to control the swapping of pull-down menus. However, you can also swap one pull-down menu programmatically for another (for example, when a user loads an application that requires an additional menu). Swap Pull-Down Menus Because the program has cascading pull-down menus, there is little need to swap menus. Also, swapping menus can detract from the consistency of the user interface.
■ A - Mouse buttons ■ I - Image tile menus ■ T - Tablet menus The syntax for the swapping of partial menus is as follows: $section=customizationgroup.menuname section B1-4, A1-4, P0-16, T1-4 customizationgroup Customization group name in the desired CUIx file menuname Main label or alias You can use the AutoLISP menucmd function to insert or remove a pull-down menu.
This is the syntax for removing a menu: (menucmd "Gcustomizationgroup.menuname=-") Gcustomizationgroup.menuname=- The following shows how to remove the menu NEW3 that is a member of the MyMenu group. (menucmd "Gmymenu.new3=-") $Gmymenu.new3=-" As you might expect, the preceding format is preferable to the Pn= format because it removes only the specified menu. The following shows how to remove the menu at the P4 location (whatever it is).
Quick Reference Commands CUI Manages the customized user interface elements in the product. CUILOAD Loads a CUIx file. CUIUNLOAD Unloads a CUIx file. -TOOLBAR Displays, hides, and customizes toolbars. WORKSPACE Creates, modifies, and saves workspaces and makes a workspace current. Quick Properties With the Quick Properties palette, for a selected object, you can access a sub-set of the properties that are accessible from the Properties palette.
You can change the general properties for a selected object type or for all object types. Selecting an object type from the Objects pane allows you to control the display of the general properties for the selected object type, or by clicking the General button at the bottom of the Objects pane you can override the general properties of all object types.
3 In the Objects pane, click Edit Object Type List. 4 In the Edit Object Type List dialog box, select the object types you want to display properties for on the Quick Properties palette.
If an object type is checked, the properties for the object type are displayed on the Quick Properties palette when an object of the same type is selected in the drawing window. Clear the check mark next to an object type to remove support for the object type from the Quick Properties palette. 5 Click OK. 6 In the Customize User Interface Editor, click Apply. To control the display of a property for an object on the Quick Properties palette 1 Click Manage tab ➤ Customization panel ➤ User Interface.
3 In the Objects pane, select an object from the Object Type list. 4 In the Properties pane, select the properties you want displayed for an object type on the Quick Properties palette. If a property is checked, the property is displayed on the Quick Properties palette when an object of the same type is selected in the drawing window. Clear the check mark next to a property to remove the property for the selected object type from the Quick Properties palette. 5 Click Apply.
3 In the Objects pane, select Block Reference from the Object Type list. 4 In the Properties pane, select the check box next to Custom and Attributes. If the Custom category is checked, the dynamic properties for a block are displayed on the Quick Properties palette. If the Attributes category is checked, the attributes for a block are displayed on the Quick Properties palette 5 Click Apply. To override the general properties for all object types 1 Click Manage tab ➤ Customization panel ➤ User Interface.
3 In the Properties pane, select the check boxes next to the general properties you want the Quick Properties palette to display for all object types. 4 Click Reset Overrides. 5 Click Apply.
To restore the default settings for Quick Properties 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, right-click Quick Properties. 3 Click Restore Default. 4 Click Restore the Default Quick Properties Settings. 5 Click Apply. To synchronize Quick Properties with rollover tooltips 1 Click Manage tab ➤ Customization panel ➤ User Interface.
3 Click Synchronize with Rollover Tooltips. 4 Click Apply Rollover Tooltips Settings to Quick Properties palette. 5 Click Apply. Quick Reference Commands CUI Manages the customized user interface elements in the product. DSETTINGS Sets grid and snap, polar and object snap tracking, object snap modes, Dynamic Input, and Quick Properties. System Variables QPLOCATION Sets the location mode of Quick Properties palette.
QPMODE Sets the on or off state of Quick Properties palette. Rollover Tooltips Rollover tooltips display the current values of selected properties. The properties and values that are displayed in a rollover tooltip can be customized by object type. When customizing the display of the properties for a rollover tooltip, you can display properties common to all object types or properties that are specific to an object type.
Display Rollover Tooltips Rollover tooltips are displayed for objects when the ROLLOVERTIPS system variable is set to 1. See Set Interface Options in the User’s Guide for more information about controlling the display of rollover tooltips and other tooltip settings for the program. To control which objects support rollover tooltips 1 Click Manage tab ➤ Customization panel ➤ User Interface.
If an object type is checked, the properties for the object type are displayed on a rollover tooltip when the cursor hovers over an object of the same type. Clear the check mark next to an object type to remove support for the object type from rollover tooltips. 5 Click OK. 6 In the Customize User Interface Editor, click Apply. To control which properties are displayed on a rollover tooltip 1 Click Manage tab ➤ Customization panel ➤ User Interface.
3 In the Objects pane, select an object from the Object Type list. 4 In the Properties pane, select the properties you want to display on a rollover tooltip. If a property is checked, the property is displayed on a rollover tooltip when the cursor hovers over an object of the selected object type in the drawing window. Clear the check mark next to a property to remove the property for the selected object type. 5 Click Apply.
3 In the Properties pane, select the check boxes next to the general properties you want rollover tooltips to display for all object types. 4 Click Reset Overrides. 5 Click Apply.
To restore the default settings for rollover tooltips 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, right-click Rollover Tooltips. 3 Click Restore Default. 4 Click Restore the Default Rollover Tooltips Settings. 5 Click Apply. To synchronize rollover tooltips with Quick Properties 1 Click Manage tab ➤ Customization panel ➤ User Interface.
3 Click Synchronize with Quick Properties. 4 Click Apply Quick Properties Settings to Rollover Tooltips. 5 Click Apply. Quick Reference Commands CUI Manages the customized user interface elements in the product. OPTIONS Customizes the program settings. System Variables ROLLOVERTIPS Controls the display of rollover tooltips in the application.
Keyboard Shortcuts Shortcut keys can be used to start commands and to be temporary override keys to execute a command or change a setting when a key is pressed. Shortcut Keys You can assign shortcut keys (sometimes called accelerator keys) to commands you use frequently. Overview of Shortcut Keys Shortcut keys are key combinations that start commands.
Properties for the Save Shortcut Key Properties Description pane item Example Macro The command macro. It follows the standard macro syntax. ^C^C_qsave Key(s) Specifies the keystroke combination that is used CTRL+S to execute the macro. Click the [ ] button to open the Shortcut Keys dialog box. Tags Keywords associated to a command. Tags provide an additional field to search in the application menu. Element ID Tag that uniquely identifies a command.
■ To modify a shortcut key, select a shortcut key. In the Properties pane, the properties for the shortcut key are displayed. 5 In the Key(s) box, click the [ ] button to open the Shortcut Keys dialog box. 6 Hold down the modifier key Ctrl with a combination of Shift and Alt if desired and press a letter, number, function, or virtual key such as F1 or Insert.
■ Ctrl+Shift+letter, Ctrl+Shift+number, Ctrl+Shift+function, Ctrl+Shift+virtual key ■ Ctrl+Shift+Alt+letter, Ctrl+Shift+Alt+number, Ctrl+Shift+Alt+function, Ctrl+Shift+Alt+virtual key NOTE The virtual keys that are supported are Escape, Insert, Delete, Home, End, Page Up, Page Down, Left Arrow, Right Arrow, Up Arrow, and Down Arrow. The virtual key Escape can only be used by itself or with the modifier combination Ctrl+Shift+Alt.
3 In the Shortcuts pane, filter the type and status of keyboard shortcuts to print. ■ In the Type drop-down list, select the type of keyboard shortcuts to display in the list. Choices include All Keys, Accelerator Keys, or Temporary Override Keys. ■ In the Status list, select the status of keyboard shortcuts displayed in the list. Choices include All, Active, Inactive, and Unassigned. 4 In the Shortcuts pane, click Print.
The following table lists the default actions for shortcut keys.
Shortcut Key Assignments Shortcut Key Description CTRL+F Toggles running object snaps CTRL+G Toggles Grid CTRL+H Toggles PICKSTYLE CTRL+SHIFT+H Toggles the display of palettes with HIDEPALETTES and SHOWPALETTES CTRL+I Toggles the Coordinates display CTRL+J Repeats last command CTRL+K Inserts a hyperlink CTRL+L Toggles Ortho mode CTRL+M Repeats last command CTRL+N Creates a new drawing CTRL+O Opens an existing drawing CTRL+P Plots the current drawing CTRL+SHIFT+P Toggles the Quick
Shortcut Key Assignments Shortcut Key Description CTRL+SHIFT+V Pastes data from the Windows Clipboard as a Block CTRL+X Cuts objects from the current drawing to the Windows Clipboard CTRL+Y Cancels the preceding Undo action CTRL+Z Reverses the last action CTRL+[ Cancels current command CTRL+\ Cancels current command CTRL+PAGE UP Moves to the next layout tab to the left of the current tab CTRL+PAGE DOWN Moves to the next layout tab to the right of the current tab F1 Displays Help F2 Togg
Shortcut Key Assignments Shortcut Key Description F11 Toggles Object Snap Tracking F12 Toggles Dynamic Input NOTE In the Customize User Interface (CUI) Editor, you can view, print, or copy a list of shortcut keys, temporary override keys, or both. The shortcut keys and temporary override keys in the list are those keys used by the CUIx files that are loaded in the program.
Properties for the Object Snap Override : Endpoint Temporary Override Key Properties Description pane item Example Description Text used to describe the element; does not appear in the user interface. Object Snap Override : Endpoint Keys Specifies the keystroke combination that is used SHIFT+E to execute the temporary override. Click the [ ] button to open the Shortcut Keys dialog box.
■ Right-click TemporaryOverride1. Click Rename. Enter a new temporary override name. ■ Click TemporaryOverride1, wait, and click again over the temporary override’s name again to edit its name in-place. 5 Select the new temporary override in the tree view, and update the Properties pane: ■ In the Description box, enter a description for the temporary override key. ■ In the Key(s) box, click the [ ] button to open the Shortcut Keys dialog box.
2 In the Customize User Interface Editor, Customize tab, click the plus sign (+) next to Keyboard Shortcuts to expand it. 3 Click the plus sign (+) next to Temporary Override Keys to expand it. 4 In the Customizations In pane, click the temporary override key you want to modify. 5 Update the Properties pane as necessary: ■ In the Description box, enter a description for the temporary override key. ■ In the Key(s) box, click the [ ] button to open the Shortcut Keys dialog box.
To print a list of shortcut keys or temporary override keys 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customizations In pane, click the Keyboard Shortcuts node. 3 In the Shortcuts pane, filter the type and status of keyboard shortcuts to print. ■ In the Type drop-down list, select the type of keyboard shortcuts to display in the list. Choices include All Keys, Accelerator Keys, or Temporary Override Keys.
System Variables TOOLTIPS Controls the display of tooltips on the ribbon, toolbars, and other user interface elements. TEMPOVERRIDES Turns temporary override keys on and off. Examples of Temporary Override Keys The CUIx file that ships with AutoCAD defines the default temporary override keys. You can use the default temporary override keys as examples when creating your own temporary override keys. The following table lists the default actions for temporary override keys on an English U.S. keyboard.
Temporary Override Key Assignments Temporary Override Key Description SHIFT+.
Double Click Actions You can create a double click action which starts an editing command when the cursor is positioned over an object in a drawing and a double-click event is registered from a pointing device. Overview of Double Click Actions Double click actions execute a command that displays either the Properties palette or a specialized editor that is more powerful, convenient, or frequently used for the object type that is double-clicked in a drawing.
The new double click action (named DoubleClick1) is placed at the bottom of the Double Click Actions tree. 3 Do one of the following: ■ Enter a new name over the default name DoubleClick1. ■ Right-click DoubleClick1. Click Rename. Enter a new double click action name. ■ Click DoubleClick1, wait, and click again over the double click action’s name again to edit its name in-place. 4 In the Properties pane, do the following: ■ In the Description box, enter a description for the double click action.
NOTE Only a single command can be associated with a double click action at a time. 6 Click Apply. To modify a double click action 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, click the plus sign (+) next to Double Click Actions to expand it. 3 Click a double click action. In the Properties pane, the properties for the double click action you selected are displayed.
6 Click Apply. Quick Reference Commands CUI Manages the customized user interface elements in the product. OPTIONS Customizes the program settings. System Variables DBLCLKEDIT Controls the double click editing behavior in the drawing area. PICKFIRST Controls whether you select objects before (noun-verb selection) or after you issue a command.
“Attribute Dynamic Block” in the acad.cuix file uses the object name ATTDYNBLOCKREF. which is used for insert objects that contain attributes and dynamic actions. The following table shows the DXF names for many of the objects commonly found in a drawing. In most cases, the DXF name and the object name are the same value with the exception of the INSERT DXF name.
DXF Names for Commonly Used Objects DXF Name Description ATTDYNBLOCKREF Dynamic block reference with attributes BLOCKREF Block reference without attributes DYNBLOCKREF Dynamic block reference without attributes XREF External reference (xref) LEADER Legacy leader LIGHT Point light, spotlight, web light, and distant light LINE Line LOFTEDSURFACE 3D lofted surface LWPOLYLINE Lightweight polyline MLINE Multiline MLEADER Multileader MTEXT Multiline text PDFUNDERLAY PDF file underlay POINT Po
DXF Names for Commonly Used Objects DXF Name Description SOLID 2D solid SPLINE B-spline curve SWEPTSURFACE 3D swept surface TABLE Table TEXT Single-line text TOLERANCE Geometric tolerance VIEWPORT Floating viewport WIPEOUT Wipeout XLINE Construction line NOTE If more than one object is selected or if an object type is not associated with a double click action, the default command used is PROPERTIES.
Double click action assignments Object Type Command (Macro) ATTDYNBLOCKREF EATTEDIT BLOCKREF $M=$(if,$(and,$(>,$(getvar,blockeditlock),0)),^C^C_properties,^C^C_bedit) DYNBLOCKREF $M=$(if,$(and,$(>,$(getvar,blockeditlock),0)),^C^C_properties,^C^C_bedit) HATCH HATCHEDIT IMAGE IMAGEADJUST LWPOLYLINE PEDIT MLINE MLEDIT MTEXT MTEDIT POLYLINE PEDIT SECTIONOBJECT LIVESECTION SPLINE SPLINEDIT TEXT DDEDIT XREF REFEDIT NOTE Double click actions cannot be created for OLE and VIEWPORT object
Customize User Interface (CUI) Editor. If a pointing device has more than two buttons, you can change the behavior of the second and third buttons. The first button on any pointing device cannot be changed in the Customize User Interface (CUI) Editor. By using the Shift and Ctrl keys, you can create a number of combinations to suit your needs. Your pointing device can recognize as many commands as it has assignable buttons.
A new mouse button (named Buttonn) is placed at the bottom of the selected list. 5 In the Command List pane, drag the command you want to add to the mouse button in the Customizations In pane. 6 Click Apply. Quick Reference Commands CUI Manages the customized user interface elements in the product. System Variables MBUTTONPAN Controls the behavior of the third button or wheel on the pointing device.
choose to either ignore the coordinate or use it with the command activated by the button. As described in Pause for User Input in Macros on page 156, you can include a backslash (\) in a command to pause for user input. For the Mouse and Digitize Buttons menus, the coordinate of the crosshairs is supplied as user input when the button is clicked. This occurs only for the first backslash in the command; if the item contains no backslashes, the crosshairs coordinate is not used.
determined by the number of columns and rows you specify in each area. These tablet menu selection boxes correspond directly with the lines that follow the Tablet section labels from left to right and top to bottom (whether or not they contain text). For example, if you configure a menu area for five columns and four rows, the command on the line immediately following the Row label corresponds to the left-most selection box in the top row.
5 Click the row that you want to define. 6 In the Command List pane, locate the command you want to add. 7 Drag the command to a column. 8 Click Apply. To clear a tablet menu assignment 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the plus sign (+) next to Legacy to expand it. 3 Click the plus sign (+) next to Tablet Menus to expand it.
sizes, and button configurations. You can customize all the buttons on a puck except for the first button. Some hardware manufacturers utilize a slightly different button layout from one puck to another. One might start with the first button in the upper-left corner and count across and down from 1 through F, while another might start in the upper-left corner and have a different numbering scheme.
Edit Screen Menu Properties You can modify screen menu properties, as shown in the following table. Properties for screen menus Properties pane item Description Example Name Sets the name of the menu. SCREEN Description Text that describes the element; does not appear in the user interface. Start line Sets the start line of the screen menu submenu. 1 Number of lines Sets the number of lines in a screen submenu. 26 Aliases Specifies the alias for the screen menu.
and **** menu options) continue to display when the New submenu is displayed. Similarly, you can set a menu to mask or show menu options on other menus by using blank lines. For example, there are only 22 lines (including blank lines) defined for the New submenu. Therefore, the Assist and Last submenus on lines 25 and 26 of the AutoCAD screen menu continue to be displayed when the New submenu is selected. An option on line 22, however, would be hidden.
To create a submenu on a screen menu 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the plus sign (+) next to Legacy to expand the list. 3 In the Legacy list, right-click Screen Menu. Click New Screen Menu. A new screen menu (named ScreenMenu1) is placed at the bottom of the Screen Menus tree. 4 Do one of the following: ■ Enter a new name over the default name ScreenMenu1.
Quick Reference Commands CUI Manages the customized user interface elements in the product. OPTIONS Customizes the program settings. System Variables MENUCTL Controls the page switching of the screen menu. SCREENBOXES Stores the number of boxes in the screen menu area of the drawing area. Create Image Tile Menus The purpose of an image tile menu is to provide an image that can be selected instead of text. You can create, edit, or add image tiles and image tile slides.
You define an image tile menu in the Customize User Interface (CUI) Editor. The following table shows the properties for an image tile menu. Properties for the Tiled Viewport Layout image tile menu Properties Description pane item Example Name String that is used only in the CUI Editor and is not displayed in the user interface. Tiled Viewport Layout Description Text that describes the element and does not appear in the user interface. Aliases Specifies the aliases for the image tile menu.
Properties of the Four: Equal tile slide on the Tiled Viewport Layout image tile menu Properties Description pane item Example Slide library A file that is made up of multiple slides and created using the file slidelib.exe. acad Slide label Name of a slide contained in the slide library file or a slide image that is stored separately. vport-4 You can use any slide generated by AutoCAD as an image. Keep the following suggestions in mind as you prepare slides for an image tile menu.
To view an image tile slide 1 At the Command prompt, enter vslide. 2 In the Select Slide File dialog box, browse to and select the slide file you want to view. 3 Click Open. The slide file should be displayed in the drawing window. Perform a Regen on the drawing to clear the slide file from the display. To create an image tile slide library 1 Place all your slides in a single folder location that you want to add to a slide library. 2 Click Start menu ➤ (All) Programs ➤ Accessories ➤ Command Prompt.
2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the plus sign (+) next to Legacy to expand the list. 3 In the Legacy list, right-click Image Tile Menu. Click New Image Tile Menu. A new image tile menu (named ImageTileMenu1) is placed at the bottom of the Image Tile Menus tree. 4 Do one of the following: ■ Enter a new name over the default name ImageTileMenu1. ■ Right-click ImageTileMenu1. Click Rename. Then, enter a new image tile name.
Quick Reference Commands CUI Manages the customized user interface elements in the product. MSLIDE Creates a slide file of the current model viewport or the current layout. VSLIDE Displays an image slide file in the current viewport. Load an AutoLISP File AutoLISP (LSP or MNL) files contain programs that add custom commands and functions which can be used as part of the user interface. You can load AutoLISP files into a CUIx file using the Customize tab of the Customize User Interface (CUI) Editor.
TIP Even though files with the LSP extension can only be loaded using this method, you can still load other types of custom program files. Use AutoCAD commands such as NETLOAD, VBALOAD, or ARX to load other types of custom program files. 4 Click Open. 5 In the Customize User Interface Editor, click Apply. Quick Reference Commands APPLOAD Loads and unloads applications and defines which applications to load at startup. ARX Loads, unloads, and provides information about ObjectARX applications.
Create or Modify a Workspace Outside the Customize User Interface Editor The easiest way to create or modify user interface elements in a workspace is by customizing them in the application window. From the application window, you can control the display and appearance of several of the most commonly used user interface elements. Once you customize the workspace, you can save the changes to an existing or new workspace using the WSSAVE command.
Change the Properties of a Workspace In the Customize User Interface (CUI) Editor, you can define workspace properties, such as the workspace name, description, whether the Model or layout tab is displayed or not, and so on. The following table shows the AutoCAD Classic workspace properties as they appear in the Properties pane.
Properties for the AutoCAD Classic Workspace Properties Pane Item Description Example Application Only, All Off, All On, or Drawing Status Bar Only. Model/Layout tabs Determines if the Model/layout tabs are visible or not in the drawing window when the workspace is restored or set current. On Screen menus Determines if the Screen menu is visible or not when the workspace is restored or set current.
To create a workspace using the CUI Editor 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, right-click the Workspaces tree node, and select New Workspace. A new, empty workspace (named Workspace1) is placed at the bottom of the Workspaces tree node. 3 Do one of the following to rename the workspace: ■ Enter a new name over the default name Workspace1. ■ Right-click Workspace1. Click Rename.
6 Click the check box next to each user interface element that you want to add to the workspace. The selected user interface elements are added to the workspace. 7 In the Workspace Contents pane, click Done. 8 Click Apply. To save or create a workspace from the user interface Do one of the following: ■ To save a workspace from the Workspaces toolbar 1 Right-click over one of the visible toolbars that is currently displayed in the user interface and click Workspaces.
A check mark is displayed to the left of any toolbar that is currently displayed. 2 On the Workspaces toolbar, click the drop-down list and select Save Current As. 3 In the Save Workspace dialog box, Name box, enter a name to create a new workspace or select an existing workspace from the drop-down list to overwrite it. 4 Click Save to create or modify the workspace. ■ To save a workspace from the status bar 1 On the status bar, click Workspace Switching. Then click Save Current As.
2 In the Save Workspace dialog box, Name box, enter a name to create a new workspace or select an existing workspace from the drop-down list to overwrite it. 3 Click Save to create or modify the workspace. NOTE You can also save a workspace from the Quick Access toolbar. To change the properties of a workspace 1 Click Manage tab ➤ Customization panel ➤ User Interface.
■ In the Scroll Bars box, select an option (On, Off, Do Not Change). 4 Click Apply. To duplicate a workspace 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the plus sign (+) next to Workspaces to expand it. 3 Right-click the workspace you want to duplicate. Click Duplicate.
■ Click Copy Of , wait, and click again over the workspace’s name again to edit its name in-place. 5 Modify the workspace as necessary. 6 Click Apply. To set a workspace current from the user interface Do one of the following: ■ To set a workspace current from the Workspaces toolbar ■ On the Workspaces toolbar, click the drop-down list and select the workspace you want to set current.
NOTE You can also set a workspace from the Quick Access toolbar. ■ To set a workspace current from the Tools menu on the menu bar ■ On the menu bar, click Tools menu ➤ Workspaces ➤ select the workspace you want to set current. To set a workspace current from the CUI Editor 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the plus sign (+) next to Workspaces to expand it.
To set a workspace as default 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the plus sign (+) next to Workspaces to expand it. 3 Right-click the workspace you want to set as default. Click Set Default. 4 Click Apply. NOTE In the Network Deployment Wizard, the main and enterprise CUIx files can be specified.
2 In the AutoCAD Properties dialog box, Shortcut tab, in the Target box, edit the parameters for the switch using the following syntax: “drive:\pathname\acad.exe” [/switch “name”] For Example, enter “d:\AutoCAD 2011\acad.
3 Click OK. To import a workspace to a main CUIx file 1 Click Manage tab ➤ Customization panel ➤ User Interface. The Transfer tab is displayed, with the main CUIx file displayed in the Customizations In pane (left side). 2 In the Customize User Interface Editor, Transfer tab, in the Customizations In pane (right side), click the Open Customization File button.
Quick Reference Commands CUI Manages the customized user interface elements in the product. CUIEXPORT Exports customized settings from the main CUIx file to an enterprise or partial CUIx file. CUIIMPORT Imports customized settings from an enterprise or partial CUIx file to the main CUIx file. CUILOAD Loads a CUIx file. CUIUNLOAD Unloads a CUIx file. WORKSPACE Creates, modifies, and saves workspaces and makes a workspace current. WSSAVE Saves a workspace.
■ Ribbon tabs ■ Toolbars ■ Palettes Control the Display of the Quick Access Toolbar Customization of the Quick Access toolbar outside the Customize User Interface Editor is limited to controlling the placement of the Quick Access toolbar in relation to the ribbon, and adding or removing commands. To place and customize the Quick Access toolbar, you right-click the Quick Access toolbar or click the Customize button located on the far right end of the Quick Access toolbar.
of the visual aspects of a palette from the application window. You can specify the position, size, transparency, and docking of a palette. For information about controlling the display of a palette, see Specify the Behavior of Dockable Windows in the User’s Guide.
2 Do one of the following: ■ Click Tabs, and click the ribbon tab to display or hide. ■ Click Panels, and click the ribbon panel to display or hide. To display palettes from the user interface Do one of the following: ■ On the ribbon, View tab ➤ Palettes panel, and click the buttons to display the desired palette. ■ On the menu bar, click Tools menu ➤ Palettes, and click the desired palette. ■ At the Command prompt, enter the command to display the desired palette and press Enter.
■ Toolbars ■ Menus ■ Palettes Control the Display of User Interface Elements on the Application and Drawing Windows Workspaces control the display of user interface elements such as toolbars and the menu bar. While a workspace primarily provides toolbars, menus, ribbon tabs, and palettes, you can also use a workspace to control user interface elements for the application and drawing windows.
creating and editing ribbon content, see Ribbon on page 201 under Customize User Interface Elements on page 191. Control the Display of Toolbars You can control which toolbars are displayed and how they are positioned in the application window (if they are floating or docked, and where they are in the application window). You add the toolbars through the Workspace Contents pane, and control the appearance of the toolbars in the Properties pane.
■ To control the display of ribbon tabs on the ribbon on page 372 (Procedure) ■ To control the display of ribbon panels for a ribbon tab on page 373 (Procedure) ■ To associate a tool palette group with a ribbon tab on page 373 (Procedure) ■ To display toolbars using the CUI Editor on page 374 (Procedure) ■ To change the properties of a toolbar on page 376 (Procedure) ■ To display menus on the menu bar on page 377 (Procedure) ■ To reposition menus on the menu bar on page 378 (Procedure) ■ To d
6 Click the check box next to the Quick Access toolbar to add it to the workspace. 7 In the Workspace Contents pane, click Done. NOTE Make sure to set the workspace current to ensure the changes are displayed. 8 Click Apply. To display the Quick Access toolbar above or below the ribbon from the CUI Editor 1 Click Manage tab ➤ Customization panel ➤ User Interface.
4 In the Workspace Contents pane, click the Quick Access Toolbar tree node. 5 In the Properties pane, click the Orientation box and select Above or Below from the drop-down list. Above displays the Quick Access Toolbar above the ribbon, while below sets the Quick Access Toolbar below the ribbon. 6 Click Apply. To display ribbon tabs from the CUI Editor 1 Click Manage tab ➤ Customization panel ➤ User Interface.
In the Workspace Contents pane, the selected elements are added to the workspace. 7 In the Workspace Contents pane, click Done. NOTE Make sure to set the workspace current to ensure the changes are displayed. 8 Click Apply. To reposition a ribbon tab on the ribbon 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the plus sign (+) next to the Workspaces node to expand it.
4 In the Workspace Contents pane, click the plus sign (+) next to the Ribbon Tabs tree node to expand it. 5 Drag the ribbon tab into the new location. A splitter bar shows the new location for the ribbon tab. 6 Once the splitter bar is in the place where you want to insert the ribbon tab, release the pointing device button. NOTE Make sure to set the workspace as current to ensure the changes are displayed. 7 Click Apply.
A splitter bar shows the new location for the ribbon panel. 7 Once the splitter bar is in the place where you want to insert the ribbon panel, release the pointing device button. NOTE Make sure to set the workspace as current to ensure the changes are displayed. 8 Click Apply. To control the display of ribbon tabs on the ribbon 1 Click Manage tab ➤ Customization panel ➤ User Interface.
7 Click Apply. To control the display of ribbon panels for a ribbon tab 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the plus sign (+) next to the Workspaces node to expand it. 3 Select the workspace that has the ribbon tab for which you want to change the properties of the ribbon panels.
3 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the plus sign (+) next to the Workspaces node to expand it. 4 Select the workspace that has the ribbon tab for which you want to assign a tool palette group. 5 In the Workspace Contents pane, click the plus sign (+) next to the Ribbon Tabs node to expand it. 6 Select the ribbon tab that you want to assign a tool palette group.
4 In the Workspace Contents pane, click Customize Workspace. 5 In the Customizations In pane, click the plus sign (+) next to the Toolbars tree node, or Partial Customization Files tree node to expand it. 6 Click the check box next to each toolbar that you want to add to the workspace. In the Workspace Contents pane, the selected elements are added to the workspace. 7 In the Workspace Contents pane, click Done. NOTE Make sure to set the workspace current to ensure the changes are displayed.
To change the properties of a toolbar 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the workspace that contains the toolbar you want to modify. 3 In the Workspace Contents pane, click the plus sign (+) next to the Toolbars tree node to expand it. 4 Select the toolbar that you want to modify.
■ In the Rows box, enter a number. Enter a number to have the buttons on the toolbar wrap around to create the number of rows if possible. 0 is the default value. (Available only if Orientation is set to Floating.) 6 Click Apply. To display menus on the menu bar 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the plus sign (+) next to the Workspaces node to expand it.
In the Workspace Contents pane, the selected elements are added to the workspace. 7 In the Workspace Contents pane, click Done. NOTE Make sure to set the workspace current to ensure the changes are displayed. 8 Click Apply. To reposition menus on the menu bar 1 Click Manage tab ➤ Customization panel ➤ User Interface. 2 In the Customize User Interface Editor, Customize tab, in the Customizations In pane, click the plus sign (+) next to the Workspaces node to expand it.
4 In the Workspace Contents pane, click the plus sign (+) next to the Menus node to expand it. 5 Drag the pull-down menu into the new location. A splitter bar shows the new location for the pull-down menu. 6 Once the splitter bar is in the place where you want to insert the menu, release the pointing device button. NOTE Make sure to set the workspace current to ensure the changes are displayed. 7 Click Apply.
5 Select the palette you want to display. 6 In the Properties pane, under Appearance, Show box, click the drop-down list and select Show. 7 Click Apply. Quick Reference Commands CUI Manages the customized user interface elements in the product. Control the Appearance of Palettes You can use workspaces to control the display and appearance of palettes. Many windows, known as palettes, can be set to be docked, anchored, or floated in t6he application window.
Contents pane of the Customize User Interface (CUI) Editor.
Properties for the Tool Palettes window under the AutoCAD Classic workspace Properties pane item Description Example Auto Hide Controls if the palette rolls up when not in use. The available options are On, Off, or Do Not Change. Do Not Change maintains the last used setting for the palette when the workspace is restored or set current. Off Use Transparency Controls if the palette appears transparent. The available options are No, Yes, or Do Not Change.
3 In the Workspace Contents pane, click the plus sign (+) next to Palettes to expand the list. 4 Click the palette that you want to modify. 5 In the Properties pane, do any or all of the following: ■ In the Show box, select an option (No, Yes, or Do Not Change). ■ In the Orientation box, select an option (Floating, Top, Bottom, Left, or Right). ■ In the Allow Docking box, select an option (No, Yes, or Do Not Change).
6 Click Apply. Quick Reference Commands CUI Manages the customized user interface elements in the product. Transfer and Migrate Customization You can transfer and migrate data from a customization or menu file from an earlier release using the Customize User Interface (CUI) Editor and the Migrate Custom Settings dialog box.
element is also transferred. For example, if you transfer the Draw toolbar, which references the Insert toolbar, the Insert toolbar is also transferred. NOTE Button images may not appear in the program when you transfer a toolbar, pull-down menu, or ribbon panel from a CUIx file. If the images are loaded from an image file, those images must reside in a folder that is defined in the Options dialog box, Files tab under Support File Search Path or Custom Icon Location.
customization from release to release with the Migrate Custom Settings dialog box. In the Migrate Custom Settings dialog box, you can migrate any changes made to the standard CUIx files that come with the program with the new shipping versions of the files with the same name. You can avoid manually migrating customization, which might result in the loss of customization. NOTE The Migrate Custom Settings dialog box can be used to migrate user interface customization from previous releases.
NOTE Interface elements can be dragged in either direction, from the left to the right pane or the right to the left pane. 8 Click Apply. Quick Reference Commands CUI Manages the customized user interface elements in the product. CUIEXPORT Exports customized settings from the main CUIx file to an enterprise or partial CUIx file. CUIIMPORT Imports customized settings from an enterprise or partial CUIx file to the main CUIx file.
elements between two CUIx files. See To transfer customizations on page 386 for more information. Commands How do I create a new command and add it to a user interface element, such as a pull-down menu? Commands are created and managed through the Command List pane located in the lower-left corner of the Customize tab of the CUI Editor. See To create a command on page 144 for more information.
Why do my icons on a toolbar display as a cloud with a question mark after I migrate them using the Transfer tab in the CUI Editor? This happens because the images for the custom icons are not located in the AutoCAD support file paths. Locate the images using Windows Explorer and add the images location to the Support File Search Path node under the Files tab of the Options dialog box, or copy them into the folder: (Windows XP) :\Documents and Settings\\Application Data\Autodesk\
double-click editing has been disabled. Double-click editing is controlled by the system variable DBLCLKEDIT. If it is set to 0 it is currently turned off. DBLCLKEDIT should be set to 1. Workspaces Why do my changes not appear after I click Apply? This happens because the workspace that you made changes to is not the current workspace. To resolve this problem, you need to set the workspace current and then when changes are applied they will appear.
CUIUNLOAD Unloads a CUIx file. OPTIONS Customizes the program settings. QUICKCUI Displays the Customize User Interface Editor in a collapsed state. WORKSPACE Creates, modifies, and saves workspaces and makes a workspace current. System Variables ENTERPRISEMENU Stores the enterprise customization file name (if defined), including the path for the file name. MENUNAME Stores the customization file name, including the path for the file name.
392
DIESEL 5 You can use DIESEL (Direct Interpretively Evaluated String Expression Language) to alter the AutoCAD® status line through the MODEMACRO system variable. You can also use DIESEL in menu items as a macro language instead of AutoLISP®. DIESEL expressions accept strings and generate string results. Because DIESEL expressions handle strings exclusively, the USERS1-5 system variables are useful for passing information from an AutoLISP routine to a DIESEL expression.
You can use the MODEMACRO system variable to display, in the status line, most data known to AutoCAD. With its calculation, decision, and editing facilities you can compose the status line to your precise specifications. MODEMACRO is a user-string variable. It can be set to any string value. The maximum string value is 4095 characters. You can set MODEMACRO with SETVAR or by entering modemacro at the command prompt.
To make the status line reflect the AutoCAD current state, enter macro expressions using the DIESEL language in the following format: $(somefun, arg1, arg2, ...) In the macro expression, somefun is the name of the DIESEL function (similar to an AutoLISP function name) and arg1, arg2, and so on, are arguments to the function, interpreted according to the function's definition. Unlike AutoLISP, DIESEL macro expressions have only one data type: strings.
$(getvar,snapunit))),$(rtos,$(index,1,$(getvar,snapunit))) $(angtos, $(getvar,snapang)) DIESEL copies its input directly to the output until it comes to the dollar sign character ($) or a quoted string. You can use quoted strings to suppress evaluation of character sequences that would otherwise be interpreted as DIESEL functions. You can include quotation marks in quoted strings by using two adjacent quotation marks.
continue strings from line to line, you use the AutoLISP strcat function to assemble the complete MODEMACRO string from shorter component strings. (defun ) C:ACADMODE ( ) (setvar "modemacro" (strcat "Layer $(substr,$(getvar,clayer),1,8)" "$(if,$(getvar,orthomode), Ortho)" "$(if,$(getvar,snapmode), Snap)" "$(if,$(getvar,tabmode), Tablet)" "$(if,$(=,$(getvar,tilemode),0)," "$(if,$(=,$(getvar,cvport),1), P)" ")" ) ) Save this AutoLISP routine in a file called acadmode.lsp.
of the drawing name remains constant, regardless of the length of the layer name. ;;; MODE1.LSP ;;; (setvar "modemacro" (strcat "L:$(substr,$(getvar,clayer),1,30)" "$(substr, ,1,$(-,30,$(strlen,$(getvar,clayer)))) " ;; ^^^^^^^^ Note the 8 spaces here "<..
DIESEL Expressions in Macros You can use DIESEL string expressions in customization (CUI) files as an additional method of creating macros. These expressions can return string values (text strings) in response to standard ® AutoCAD commands, AutoLISP and ObjectARX routines, and other macros. They can also return string values to the menu itself, thereby altering the appearance or content of a menu label. This string provides a way to toggle between paper space and model space if TILEMODE is set to 0.
■ The symbols to insert are one unit high by one unit wide. ■ The DIMSCALE variable is set to the drawing's scale factor (that is, a drawing to be plotted at a scale of 1" = 10' would have a scale factor of 120, or a 1/4" = 1' scale drawing would have a scale factor of 48). If you load and execute the sample AutoLISP routine, AutoCAD inserts the symbol at the size and location you have specified.
This cannot be done with similar AutoLISP code; a value returned by an AutoLISP expression cannot typically be used as a response to a getxxx function call (such as, the getreal function in the preceding sample). $M=$(*,$(getvar,dimscale),0.375) $M=$(*,$(getvar,dimscale),0.5) $M=$(*,$(getvar,dimscale),0.625) DIESEL expressions can also return string values to pull-down menu item labels, so that you can make menus unavailable or otherwise alter the way they are displayed.
The next example uses the same DIESEL expression as the label and a portion of the menu item. It provides a practical way to enter the current day and date into a drawing. $(edtime,$(getvar,date),DDD", "D MON YYYY)^C^Ctext + \\\ $M=$(edtime,$(getvar,date),DDD", "D MON YYYY); Also, you can use a DIESEL macro to mark pull-down menu labels or make them unavailable. The following pull-down menu label displays an unavailable ERASE while a command is active.
Quick Reference System Variables MENUECHO Sets menu echo and prompt control bits. - (subtraction) Returns the result of subtracting the numbers val2 through val9 from val1. $(-, val1 [, val2 , …, val9]) Quick Reference System Variables MENUECHO Sets menu echo and prompt control bits. * (multiplication) Returns the result of multiplying the numbers val1, val2, …, val9. $(*, val1 [, val2, …, val9]) Quick Reference System Variables MENUECHO Sets menu echo and prompt control bits.
Quick Reference System Variables MENUECHO Sets menu echo and prompt control bits. = (equal to) If the numbers val1 and val2 are equal, the string returns 1; otherwise, it returns 0. $(=, val1, val2) Quick Reference System Variables MENUECHO Sets menu echo and prompt control bits. < (less than) If the number val1 is less than val2, the string returns 1; otherwise, it returns 0.
> (greater than) If the number val1 is greater than val2, the string returns 1; otherwise, it returns 0. $(>, val1, val2) Quick Reference System Variables MENUECHO Sets menu echo and prompt control bits. != (not equal to) If the numbers val1 and val2 are not equal, the string returns 1; otherwise, it returns 0. $(!=, val1, val2) Quick Reference System Variables MENUECHO Sets menu echo and prompt control bits.
Quick Reference System Variables MENUECHO Sets menu echo and prompt control bits. >= (greater than or equal to) If the number val1 is greater than or equal to val2, the string returns 1; otherwise, it returns 0. $(>=, val1, val2) Quick Reference System Variables MENUECHO Sets menu echo and prompt control bits. and Returns the bitwise logical AND of the integers val1 through val9. $(and, val1 [, val2,…, val9]) Quick Reference System Variables MENUECHO Sets menu echo and prompt control bits.
Edits the given value as an angle in the format specified by the mode and precision as defined for the analogous AutoLISPfunction. (The values for mode are shown in the following table.) If mode and precision are omitted, it uses the current values chosen by the UNITS command. Angular units values Mode value String format 0 Degrees 1 Degrees/minutes/seconds 2 Grads 3 Radians 4 Surveyor's units Quick Reference System Variables MENUECHO Sets menu echo and prompt control bits.
table. Assume that the date and time are Saturday, 5 September 1998 4:53:17.506. edtime format phrases Format Output Format Output D 5 H 4 DD 05 HH 04 DDD Sat MM 53 DDDD Saturday SS 17 M 9 MSEC 506 MO 09 AM/PM AM MON Sep am/pm am MONTH September A/P A YY 98 a/p a YYYY 1998 Enter the entire AM/PM phrase as shown in the preceding table; if AM is used alone, the A will be read literally and the M will return the current month.
$(getvar,date) and guarantees that strings composed with multiple $(edtime) macros all use the same time. Quick Reference System Variables MENUECHO Sets menu echo and prompt control bits. eq If the strings val1 and val2 are identical, the string returns 1; otherwise, it returns 0. $(eq, val1, val2) The following expression gets the name of the current layer; if the name matches the string value stored in the USERS1 (USERS1-5) system variable, it returns 1.
Quick Reference System Variables MENUECHO Sets menu echo and prompt control bits. fix Truncates the real number value to an integer by discarding any fractional part. $(fix, value) Quick Reference System Variables MENUECHO Sets menu echo and prompt control bits. getenv Returns the value of the environment variable varname. $(getenv, varname) If no variable with that name is defined, it returns the null string. Quick Reference System Variables MENUECHO Sets menu echo and prompt control bits.
getvar Returns the value of the system variable with the given varname. $(getvar, varname) Quick Reference System Variables MENUECHO Sets menu echo and prompt control bits. if Conditionally evaluates expressions. $(if, expr, dotrue [, dofalse]) If expr is nonzero, it evaluates and returns dotrue. Otherwise, it evaluates and returns dofalse. Note that the branch not chosen by expr is not evaluated. Quick Reference System Variables MENUECHO Sets menu echo and prompt control bits.
Applications can use this function to retrieve values stored as comma-delimited strings from the USERS1-5 system variables. Quick Reference System Variables MENUECHO Sets menu echo and prompt control bits. nth Evaluates and returns the argument selected by which. $(nth, which, arg0 [, arg1,…, arg7]) If which is 0, nth returns arg0, and so on.
rtos Returns the real value in the format and precision specified. $(rtos, value [, mode, precision]) Edits the given value as a real number in the format specified by the mode and precision as defined by the analogous AutoLISP function. If mode and precision are omitted, it uses the current values selected with the UNITS command. Edits the given value as a real number in the format specified by mode and precision.
Characters in the string are numbered from 1. If length is omitted, it returns the entire remaining length of the string. Quick Reference System Variables MENUECHO Sets menu echo and prompt control bits. upper Returns the string converted to uppercase according to the rules of the current locale. $(upper, string) Quick Reference System Variables MENUECHO Sets menu echo and prompt control bits. xor Returns the bitwise logical XOR of the integers val1 through val9.
DIESEL Error Messages Generally, if you make a mistake in a DIESEL expression, what went wrong will be obvious. Depending on the nature of the error, DIESEL embeds an error indication in the output stream.
416
6 Slides and Command Scripts Slides are snapshots of drawing files that can be used for giving presentations, for creating image tile menus, and for viewing another drawing while you work. A script reads and executes commands from a text file. You can run a script when you start AutoCAD®, or you can run a script from within AutoCAD using the SCRIPT command. A script provides an easy way to create continuously running displays for product demonstrations and trade shows.
You create a slide by saving the current view in slide format. A slide created in model space shows only the current viewport. A slide created in paper space shows all visible viewports and their contents. Slides show only what was visible. They do not show objects on layers that were turned off or frozen or objects in viewports that were turned off. When you view a slide file, it temporarily replaces objects on the screen.
Quick Reference Commands MSLIDE Creates a slide file of the current model viewport or the current layout. REDRAW Refreshes the display in the current viewport. VSLIDE Displays an image slide file in the current viewport. System Variables FILEDIA Suppresses display of file navigation dialog boxes. Utilities SLIDELIB Compiles slide files listed in an ASCII file into a slide library file. View Slides You can view slides individually using VSLIDE.
Quick Reference Commands REDRAW Refreshes the display in the current viewport. VSLIDE Displays an image slide file in the current viewport. Create and View Slide Libraries A slide library is a file containing one or more slides. Slide library files are used for creating custom image tile menus and for combining several slide files for convenient file management. You can create slide libraries from slide files using the SLIDELIB utility.
As an example: CD “c:\slides” 5 At the prompt, enter the following syntax to create the slide library: slidelib libraryname < list.txt For example, if you named your text file areas.txt, you could create a library called house.slb by entering slidelib house < areas.txt. The SLIDELIB utility appends the file extension .slb to the slide library file. To view a slide in a slide library 1 At the command prompt, enter filedia. 2 Enter 0 and press ENTER. 3 At the command prompt, enter vslide.
Create Command Scripts A script is a text file that contains a series of commands. Common uses for scripts are to customize startup and to run slide shows. Overview of Command Scripts A script is a text file with one command on each line. You can invoke a script at startup, or you can run a script during a work session by using the SCRIPT command. A script also provides an easy way to create continuously running displays for product demonstrations and trade shows.
'DELAY Provides a timed pause within a script (in milliseconds) 'GRAPHSCR Switches from the text window to the drawing area RESUME Continues an interrupted script RSCRIPT Repeats a script file 'TEXTSCR Switches to the text window When command input comes from a script, it is assumed that the settings of the PICKADD and PICKAUTO system variables are 1 and 0, respectively; therefore, you do not have to check the settings of these variables.
Quick Reference Commands DELAY Provides a timed pause within a script. GRAPHSCR Switches from the text window to the drawing area. RESUME Continues an interrupted script. RSCRIPT Repeats a script file. SCRIPT Executes a sequence of commands from a script file. TEXTSCR Opens the text window. VSLIDE Displays an image slide file in the current viewport. Run Scripts at Startup A script that runs at startup can open a drawing and change its settings.
® NOTE VBA and AutoLISP scripts that run at startup should check for whether the AutoCAD process is visible or invisible. If the process is invisible, the script should not execute, because the process may be performing background plotting or publishing operations. To check for whether the AutoCAD process is visible or invisible, you can use the Visible property of the Application object in the AutoCAD Object Model.
AutoCAD opens the drawing and executes the commands in the script file. When the script has been completed, the command prompt is displayed. Run Slide Shows from Scripts Scripts are useful for creating slide shows. Scripts are useful for creating slide shows. Ordinarily, the speed with which you can display slides is limited by the number of times AutoCAD must access the disk to read the slide file.
The first line begins the slide show and loads slide1. 2 On the second line, enter vslide *slide2. The asterisk (*) preceding the slide name on the second line preloads slide2. 3 On the third line, enter delay 2000. The third line specifies a delay of 2000 milliseconds to allow the audience to view slide1. 4 On the fourth line, enter vslide. On the fifth line, enter vslide *slide3. On the sixth line, enter delay 2000.
Quick Reference Commands DELAY Provides a timed pause within a script. GRAPHSCR Switches from the text window to the drawing area. RESUME Continues an interrupted script. RSCRIPT Repeats a script file. SCRIPT Executes a sequence of commands from a script file. TEXTSCR Opens the text window. VSLIDE Displays an image slide file in the current viewport.
7 Introduction to Programming Interfaces The programming interfaces introduced here are ActiveX® Automation, VBA (Visual Basic® for Applications), AutoLISP®, Visual LISP™ , ObjectARX™ , and .NET. The type of interface you use depends on your application needs and programming experience. ActiveX Automation ® ActiveX Automation is a technology developed by Microsoft and is based on the COM (component object model) architecture.
The advantage of implementing an ActiveX interface for AutoCAD is twofold: ■ Programmatic access to AutoCAD drawings is opened up to many more programming environments. Before ActiveX Automation, developers were limited to an AutoLISP or C++ interface. ■ Sharing data with other Windows applications, such as Microsoft Excel and Microsoft Word, is made dramatically easier.
Define a Command to Start Your Application You can use the acad.pgp file to define a new AutoCAD command that runs an external command to start your application. You can use the acad.pgp file to define a new AutoCAD command that runs an external command to start your application. The following example defines the RUNAPP1 command, which runs the application app1.exe in the c:\vbapps\ directory. (Add this code to the external commands section of your acad.pgp file.) RUNAPP1, start c:\vbapps\app1, 0 If your a
AutoCAD VBA Microsoft Visual Basic for Applications (VBA) is an object-based programming environment designed to provide rich development capabilities. The main difference between VBA and VB (Visual Basic 6) is that VBA runs in the same process space as AutoCAD, providing an AutoCAD-intelligent and very fast programming environment. Overview of AutoCAD VBA VBA provides application integration with other VBA-enabled applications.
The second element is the AutoCAD ActiveX Automation Interface, which establishes messages (communication) with AutoCAD objects. Programming in VBA requires a fundamental understanding of ActiveX Automation. A description of the AutoCAD ActiveX Automation Interface can be found in the ActiveX and VBA Developer's Guide in the Help system. To display Developer Help, on the InfoCenter toolbar, to the right of the Help button, click the drop-down arrow.
VBAMAN Manages VBA project operations using a dialog box. VBARUN Runs a VBA macro. VBASTMT Executes a VBA statement at the AutoCAD Command prompt. VBAUNLOAD Unloads a global VBA project. Use AutoCAD VBA Applications You load a VBA project with the VBALOAD command. Once loaded, its modules and macros are available in the Macros dialog box. Although Microsoft applications store VBA projects, macros, and programs inside a specific document, AutoCAD uses a separate file with the .dvb extension.
scripts, and other AutoCAD programming environments. The only argument for the command is the module name using the module.macro syntax. The syntax looks like this: -vbarun Because macros with the same name can be duplicated in modules, the module.macro syntax differentiates the macro and allows for unique selection. Quick Reference Commands VBAIDE Displays the Visual Basic Editor. VBALOAD Loads a global VBA project into the current work session.
acvba.arx — Automatically Load VBA You cannot load VBA until an AutoCAD VBA command is issued. If you want to load VBA automatically every time you start AutoCAD include the following line in the acad.rx file: acvba.arx You can automatically run a macro in the acad.dvb file by naming the macro AcadStartup. Any macro in your acad.dvb file called AcadStartup automatically executes when VBA loads. acad.dvb — Automatically Load a VBA Project The acad.
VBARUN Runs a VBA macro. VBASTMT Executes a VBA statement at the AutoCAD Command prompt. VBAUNLOAD Unloads a global VBA project. AutoLISP and Visual LISP AutoLISP is based on the LISP programming language, which is simple to learn and very powerful. Because AutoCAD has a built-in LISP interpreter, you can enter AutoLISP code at the command prompt or load AutoLISP code from external files. Visual LISP (VLISP) is a software tool designed to expedite AutoLISP program development.
creating AutoLISP routines you can add discipline-specific commands to AutoCAD. Some of the standard AutoCAD commands are actually AutoLISP applications. Visual LISP provides three file format options for AutoLISP applications: ■ Reading an LSP file (.lsp)—an ASCII text file that contains AutoLISP program code. ■ Reading an FAS file (.fas)—a binary, compiled version of a single LSP program file. ■ Reading a VLX file (.vlx)—a compiled set of one or more LSP and/or dialog control language (DCL) files.
Quick Reference Commands VLISP Displays the Visual LISP interactive development environment. System Variables PICKADD Controls whether subsequent selections replace the current selection set or add to it. PICKAUTO Controls automatic windowing at the Select Objects prompt. Use AutoLISP Applications AutoLISP applications are stored in ASCII text files that you can edit. Before you can use an AutoLISP application, it must first be loaded. AutoLISP applications are stored in ASCII text files with the .
This syntax shows that the load function has two arguments: filename, which is required, and onfailure, which is optional. When loading an AutoLISP file at the command prompt, you typically supply only the filename argument. The following example loads the AutoLISP file newfile.lsp. Command: (load "newfile") The .lsp extension is not required. This format works for any LSP file in the current library path.
This lets you associate the loading of the acad.lsp file with application startup, and the acaddoc.lsp file with document (or drawing) startup. The default method for loading these startup files can be modified by changing the setting of the ACADLSPASDOC system variable. If one of these files defines a function of the special type S::STARTUP, this routine runs immediately after the drawing is fully initialized.
Quick Reference Commands APPLOAD Loads and unloads applications and defines which applications to load at startup. System Variables ACADLSPASDOC Controls whether the acad.lsp file is loaded into every drawing or just the first drawing opened in a session. The ACAD.LSP File You can create an acad.lsp file if you regularly use specific AutoLISP routines. When you start AutoCAD, it searches the support file search path for an acad.lsp file. If an acad.lsp file is found, it is loaded into memory. The acad.
WARNING Do not modify the reserved acad2011.lsp file. Autodesk provides the acad2011.lsp file, which contains AutoLISP defined functions that are required by AutoCAD. This file is loaded into memory immediately before the acad.lsp file is loaded. See also: ■ Overview of File Organization on page 4 ■ Prevent AutoLISP Errors When Loading Startup Files on page 445 Quick Reference Commands APPLOAD Loads and unloads applications and defines which applications to load at startup.
The acaddoc.lsp file can contain AutoLISP code for one or more routines, or just a series of load function calls. The latter method is preferable, because modification is easier. If you save the following code as an acaddoc.lsp file, the files mydocumentapp1.lsp, build.lsp, and counter.lsp are loaded every time a new document is opened. (load "mydocumentapp1") (load "build") (load "counter") WARNING Do not modify the reserved acad2011doc.lsp file. Autodesk provides the acad2011doc.
This function ensures that AutoCAD loads the AutoLISP functions that are needed for proper operation of a menu. For example, the default AutoCAD customization file, acad.cui, relies on the file acad.mnl. This file defines numerous AutoLISP functions used by the menu. The MNL file is loaded after the acaddoc.lsp file.
MYDOCAPP1.LSP file not loaded. If you use the command function in an acad.lsp, acaddoc.lsp, or MNL file, it should be called only from within a defun statement. Use the S::STARTUP function to define commands that need to be issued immediately when you begin a drawing session.
Before the drawing is initialized, new definitions for HATCH and OLDHATCH are defined with the defun function. After the drawing is initialized, the S::STARTUP function is called and the standard definition of HATCH is undefined. NOTE To be appended, the S::STARTUP function must have been defined with the defun-q function rather than defun. Because an S::STARTUP function can be defined in many places (an acad.lsp, acaddoc.
use DLLs to create new commands that operate exactly the same way as native AutoCAD commands. You can use ObjectARX libraries in conjunction with other AutoCAD programming interfaces, such as AutoLISP or VBA, enabling cross-API integration. The ObjectARX programming environment is described in the ObjectARX Developer's Guide. The documentation is part of the ObjectARX Software Development Kit, which can be downloaded from the Development Tools section of the Autodesk website.
NOTE When specifying a directory path, you must use a slash (/) or two backslashes (\\) as the separator, because a single backslash has a special meaning in AutoLISP. Attempting to load an application that has previously been loaded results in an error. Before using arxload you should use the arx function to check the currently loaded applications. To unload an application with AutoLISP, use the arxunload function. The following example unloads the myapp application.
AcadJobs/3d_dwgs. If that directory is set up as the current directory, you could copy the acad.rx file into that directory and modify it in the following manner: myapp1 otherapp If you place this new acad.rx file in the AcadJobs/3d_dwgs directory and you start AutoCAD with that as the current directory, these new ObjectARX programs are then loaded and are available from the AutoCAD command prompt. Because the original acad.rx file is still in the directory with the AutoCAD program files, the default acad.
Overview of .NET The .NET Framework is a language-neutral programming environment developed by Microsoft. In addition to the run-time environment, the Framework provides class libraries that facilitate development of Windowsand Web-based applications that are interoperable and secure. AutoCAD supports .NET application development with ObjectARX managed wrapper classes.
452
Shapes and Shape Fonts 8 With AutoCAD®, you can define shapes to use as drawing symbols and text fonts. This appendix explains how to create and compile your own shape and font files. Overview of Shape Files Shapes are objects that you use like blocks. First you use the LOAD command to load the compiled shape file containing the shape definition. Then you use the SHAPE command to insert shapes from the file into your drawing. You can specify the scale and rotation to use for each shape as you add it.
Compile PostScript Fonts To use a Type 1 PostScript font in AutoCAD, you must first compile it into an AutoCAD shape file. The COMPILE command accepts both SHP and PFB files as input and generates an SHX file. Compiled versions of PostScript fonts can take a lot of disk space, so compile only those fonts you use frequently. AutoCAD cannot compile and load every Type 1 font. The PostScript font facilities in AutoCAD are intended to process a subset of Adobe fonts.
SHAPE Inserts a shape from a shape file that has been loaded using LOAD. Create Shape Definition Files AutoCAD font and shape files (SHX) are compiled from shape definition files (SHP). You can create or modify shape definition files with a text editor or word processor that saves files in ASCII format. Shape Descriptions AutoCAD font and shape files (SHX) are compiled from shape definition files (SHP).
Text fonts (files containing shape definitions for each character) require specific numbers corresponding to the value of each character in the ASCII code; other shapes can be assigned any numbers. defbytes The number of data bytes (specbytes) required to describe the shape, including the terminating 0. The limit is 2,000 bytes per shape. shapename The shape name. Shape names must be uppercase to be recognized. Names with lowercase characters are ignored and are usually used to label font shape definitions.
Vector direction codes All the vectors in the preceding figure were drawn with the same length specification. Diagonal vectors stretch to match the X or Y displacement of the closest orthogonal vector. This is similar to the action of the snap grid in AutoCAD. The following example constructs a shape named DBOX with an arbitrarily assigned shape number of 230.
Quick Reference Commands LOAD Makes shapes available for use by the SHAPE command. SHAPE Inserts a shape from a shape file that has been loaded using LOAD. Special Codes Special codes can be used to create additional geometric forms and specify certain actions. Use Special Codes The second character of the three-character string (the vector length specification) must be 0, or you can specify the special code number. For example, 008 and 8 are both valid specifications.
Specification byte codes Code Description 009 Multiple X-Y displacements, terminated (0,0) 00A Octant arc defined by next two bytes 00B Fractional arc defined by next five bytes 00C Arc defined by X-Y displacement and bulge 00D Multiple bulge-specified arcs 00E Process next command only if vertical text Quick Reference Commands LOAD Makes shapes available for use by the SHAPE command. SHAPE Inserts a shape from a shape file that has been loaded using LOAD.
SHAPE Inserts a shape from a shape file that has been loaded using LOAD. Codes 3 and 4: Size Control Codes 3 and 4 control the relative size of each vector. The height specified with the SHAPE command is initially considered the length of a single orthogonal vector (direction 0, 4, 8, or C). Code 3 divides vector lengths by the next byte. Code 4 multiplies vector lengths by the next byte. Codes 3 and 4 are followed by a specification byte containing an integer scale factor (1 through 255).
Similarly, if you try to pop more locations than have been pushed onto the stack, the following message is displayed when the shape is drawn. Position stack underflow in shape nnn Quick Reference Commands LOAD Makes shapes available for use by the SHAPE command. SHAPE Inserts a shape from a shape file that has been loaded using LOAD. Code 7: Subshape Code 7 draws the subshape number given by the next byte. For a non-Unicode font the specification byte following code 7 is a shape number from 1 to 255.
Normal vector specification bytes draw only in the 16 predefined directions, and the longest length is 15. These restrictions help make shape definitions efficient but are sometimes limiting. Code 8 specifies the X-Y displacement given by the next two bytes. Code 8 must be followed by two specification bytes in the format: 8,X-displacement,Y-displacement The X-Y displacements can range from -128 to +127. A leading + is optional, and you can use parentheses to improve readability.
counterclockwise from the 3 o'clock position, as shown in the following illustration. The arc specification is 10,radius,(-)0SC The radius can be any value from 1 through 255. The second specification byte indicates the direction of the arc (counterclockwise if positive, and clockwise if negative), its starting octant (s, a value from 0 through 7), and the number of octants it spans (c, a value from 0 through 7, in which 0 equals eight octants, or a full circle).
SHAPE Inserts a shape from a shape file that has been loaded using LOAD. Code 00B: Fractional Arc Special code 00B (11) draws an arc that doesn't necessarily start and end on an octant boundary. The definition uses five specification bytes. 11,start_offset,end_offset,high_radius,radius,(-)0SC The start_offset and end_offset represent how far from an octant boundary the arc begins or ends.
Quick Reference Commands LOAD Makes shapes available for use by the SHAPE command. SHAPE Inserts a shape from a shape file that has been loaded using LOAD. Codes 00C and 00D: Bulge-Specified Arcs Special codes 00C and 00D (12 and 13) provide another mechanism for including arc segments in shape descriptions. They are similar to codes 8 and 9 in that you can use them to specify X-Y displacements. However, codes 00C and 00D draw arcs by applying a bulge factor to the displacement vector.
The polyarc code (00D, or 13) is followed by 0 or by more arc segment triples, and is terminated by a (0,0) displacement. Note that no bulge is specified after the final displacement. For example, the letter S might be defined by the following sequence: 13,(0,5,127),(0,5,-127),(0,0) Zero bulge segments are useful within polyarcs to represent straight segments; they are more efficient than terminating the polyarc, inserting one straight segment, and then starting another polyarc.
Quick Reference Commands LOAD Makes shapes available for use by the SHAPE command. SHAPE Inserts a shape from a shape file that has been loaded using LOAD. Text Font Descriptions Text fonts must include a special shape number 0 that conveys information about the font itself. AutoCAD is packaged with numerous text fonts. You can use the STYLE command to apply expansion, compression, or obliquing to any of these fonts, thereby tailoring the characters to your needs.
You can modify the spacing of lines by adjusting the downward movement specified by the LF shape definition. Text fonts must include a special shape number 0 that conveys information about the font itself. The format has the following syntax: *0,4,font-name above,below,modes,0 The above value specifies the number of vector lengths above the baseline that the uppercase letters extend, and below indicates how far the lowercase letters descend below the baseline.
Quick Reference Commands LOAD Makes shapes available for use by the SHAPE command. SHAPE Inserts a shape from a shape file that has been loaded using LOAD. STYLE Creates, modifies, or specifies text styles. Sample Files This topic contains sample files that help extend the font characters provided with AutoCAD.
Extended Simplex Roman 470 | Chapter 8 Shapes and Shape Fonts
;; ;; romans.shp - Extended Simplex Roman ;; ;; Copyright 1997 by Autodesk, Inc. ;; ;; Permission to use, copy, modify, and distribute this software for ;; any purpose and without fee is hereby granted, provided that the ;; above copyright notice appears in all copies and that the re stricted ;; rights notice below appear in all supporting documentation. ;; ;; Use, duplication, or disclosure by the U.S. Government is sub ject ;; to restrictions set forth in FAR 52.
2,14,8,(-12,-21),14,5,8,(21,21),1,8,(-18,-21),2,8,(5,21),1,02E, 02C,02B,029,028,026,024,023,021,020,02F,8,(3,-1),030,8,(3,1),021, 2,8,(-4,-14),1,029,02B,02C,02E,020,021,023,024,026,028,2, 8,(7,-7),14,6,14,8,(12,-9),0 *00026,67,kand 2,14,8,(-13,-21),14,5,8,(23,12),1,014,016,018,01A,02B,8,(-2,-5), 8,(-2,-3),02A,029,048,027,016,025,024,023,012,8,(7,4),012,023, 024,025,027,029,02B,02C,8,(1,-3),8,(2,-3),8,(5,-7),02E,02F,020, 012,014,2,8,(3,-2),14,6,14,8,(13,-9),0 *00027,29,kapos 2,14,8,(-5,-25),14,5,8,(6,24),1,0
14,6,14,8,(10,-9),0 *00032,37,n2 2,14,8,(-10,-21),14,5,8,(4,16),1,014,023,012,021,040,02F,01E,02D, 02C,02B,8,(-2,-3),0AA,0E0,2,8,(3,0),14,6,14,8,(10,-9),0 *00033,46,n3 2,14,8,(-10,-21),14,5,8,(5,21),1,0B0,8,(-6,-8),030,02F,01E, 8,(1,-3),02C,8,(-1,-3),02A,8,(-3,-1),038,8,(-3,1),016,025,2, 8,(17,-4),14,6,14,8,(10,-9),0 *00034,34,n4 2,14,8,(-10,-21),14,5,8,(13,21),1,8,(-10,-14),0F0,2,8,(-5,14),1, 8,(0,-21),2,8,(7,0),14,6,14,8,(10,-9),0 *00035,52,n5 2,14,8,(-10,-21),14,5,8,(15,21),1,0A8,8,(-1,-9),012,8,(3,1),03
*0003D,33,keq 2,14,8,(-13,-12),14,5,8,(4,12),1,8,(18,0),2,8,(-18,-6),1, 8,(18,0),2,8,(4,-6),14,6,14,8,(13,-9),0 *0003E,28,kgt 2,14,8,(-12,-18),14,5,8,(4,18),1,8,(16,-9),8,(-16,-9),2,8,(20,0), 14,6,14,8,(12,-9),0 *0003F,42,kqm 2,14,8,(-9,-21),14,5,8,(3,16),1,014,023,012,021,040,02F,01E,02D, 02C,02B,01A,049,03C,2,05C,1,01A,01E,012,016,2,8,(9,-2),14,6, 14,8,(9,-9),0 *00040,93,kea 2,14,3,2,14,8,(-27,-42),14,4,2,14,5,8,(18,13),1,025,027,038,029, 01A,02B,03C,02D,01E,02F,030,021,023,2,084,1,0AC,01E,020,022, 8,(1,3
*00048,39,uch 2,14,8,(-11,-21),14,5,8,(4,21),1,8,(0,-21),2,8,(14,21),1, 8,(0,-21),2,8,(-14,11),1,0E0,2,8,(4,-11),14,6,14,8,(11,-9),0 *00049,25,uci 2,14,8,(-4,-21),14,5,8,(4,21),1,8,(0,-21),2,8,(4,0),14,6, 14,8,(4,-9),0 *0004A,37,ucj 2,14,8,(-8,-21),14,5,8,(12,21),1,8,(0,-16),8,(-1,-3),01A,029,028, 027,016,8,(-1,3),024,2,8,(14,-7),14,6,14,8,(8,-9),0 *0004B,49,uck 2,14,3,2,14,8,(-21,-42),14,4,2,14,5,8,(4,21),1,8,(0,-21),2, 8,(14,21),1,0EA,2,052,1,8,(9,-12),2,8,(3,0),14,6,14,3,2, 14,8,(21,-18),14,4,2,0 *0004C,
02C,02D,01E,02F,8,(6,-2),02F,01E,02D,03C,02A,8,(-3,-1),048, 8,(-3,1),026,2,8,(17,-3),14,6,14,8,(10,-9),0 *00054,31,uct 2,14,8,(-8,-21),14,5,8,(8,21),1,8,(0,-21),2,8,(-7,21),1,0E0,2, 8,(1,-21),14,6,14,8,(8,-9),0 *00055,39,ucu 2,14,8,(-11,-21),14,5,8,(4,21),1,0FC,8,(1,-3),02E,8,(3,-1),020, 8,(3,1),022,8,(1,3),0F4,2,8,(4,-21),14,6,14,8,(11,-9),0 *00056,33,ucv 2,14,8,(-9,-21),14,5,8,(1,21),1,8,(8,-21),2,8,(8,21),1, 8,(-8,-21),2,8,(9,0),14,6,14,8,(9,-9),0 *00057,49,ucw 2,14,8,(-12,-21),14,5,8,(2,21),1,8,(5,-21),
027,038,029,02A,8,(-1,-3),02C,8,(1,-3),02E,02F,030,021,022,2, 8,(4,-3),14,6,14,3,2,14,8,(19,-18),14,4,2,0 *00062,57,lcb 2,14,3,2,14,8,(-19,-42),14,4,2,14,5,8,(4,21),1,8,(0,-21),2,0B4,1, 022,021,030,02F,02E,8,(1,-3),02C,8,(-1,-3),02A,029,038,027,026,2, 8,(15,-3),14,6,14,3,2,14,8,(19,-18),14,4,2,0 *00063,39,lcc 2,14,8,(-9,-14),14,5,8,(15,11),1,026,027,038,029,02A,8,(-1,-3), 02C,8,(1,-3),02E,02F,030,021,022,2,8,(3,-3),14,6,14,8,(9,-9),0 *00064,57,lcd 2,14,3,2,14,8,(-19,-42),14,4,2,14,5,8,(15,21),1,8,(0,-21),2,
14,8,(4,-9),0 *0006D,45,lcm 2,14,8,(-15,-14),14,5,8,(4,14),1,0EC,2,0A4,1,032,021,030,02F, 8,(1,-3),0AC,2,0A4,1,032,021,030,02F,8,(1,-3),0AC,2,8,(4,0),14,6, 14,8,(15,-9),0 *0006E,46,lcn 2,14,3,2,14,8,(-19,-28),14,4,2,14,5,8,(4,14),1,0EC,2,0A4,1,032, 021,030,02F,8,(1,-3),0AC,2,8,(4,0),14,6,14,3,2,14,8,(19,-18), 14,4,2,0 *0006F,58,lco 2,14,3,2,14,8,(-19,-28),14,4,2,14,5,8,(8,14),1,029,02A,8,(-1,-3), 02C,8,(1,-3),02E,02F,030,021,022,8,(1,3),024,8,(-1,3),026,027, 038,2,8,(11,-14),14,6,14,3,2,14,8,(19,-18),14,4,2
*00078,43,lcx 2,14,3,2,14,8,(-17,-28),14,4,2,14,5,8,(3,14),1,8,(11,-14),2,0E4, 1,8,(-11,-14),2,8,(14,0),14,6,14,3,2,14,8,(17,-18),14,4,2,0 *00079,37,lcy 2,14,8,(-8,-14),14,5,8,(2,14),1,8,(6,-14),2,8,(6,14),1, 8,(-6,-14),04B,02A,029,018,2,8,(15,7),14,6,14,8,(8,-16),0 *0007A,47,lcz 2,14,3,2,14,8,(-17,-28),14,4,2,14,5,8,(14,14),1,8,(-11,-14),2, 0E4,1,0B0,2,8,(-11,-14),1,0B0,2,8,(3,0),14,6,14,3,2, 14,8,(17,-18),14,4,2,0 *0007B,54,klbr 2,14,3,2,14,8,(-13,-50),14,4,2,14,5,8,(9,25),1,029,01A,02B,02C, 02D,01E,02D,0
2,14,8,(-10,-25),14,5,060,1,012,016,01A,01C,02D,01E,02F,020,021, 012,023,014,025,016,8,(-8,4),016,025,014,023,012,021,010, 8,(8,-4),2,094,028,1,01A,01E,012,014,025,016,027,028,029,01A,02B, 01C,02D,01E,8,(8,-4),01E,02D,01C,02B,01A,029,018,8,(-8,4),2, 8,(16,-9),14,6,14,8,(10,-13),0 *000AA,51,lcau 2,14,8,-7,-21,14,5,8,4,14,3,2,1,0A0,2,054,1,02A,029,028,027,016, 8,-1,3,024,8,1,3,012,021,020,02F,02E,2,034,1,0CC,2,4,2,8,4,-15, 14,6,14,8,7,-9,0 *000AB,25,kfrew 2,14,8,(-9,-14),14,5,0A0,1,076,072,2,050,1,07A,07E,2,0
8,(8,21),1,8,(8,-21),2,8,(-13,7),1,0A0,2,8,(4,-7),14,6, 14,8,(9,-9),0 *000C1,43,uc^ 2,14,8,(-9,-25),14,5,8,(9,23),1,041,2,04A,1,8,(-8,-21),2, 8,(8,21),1,8,(8,-21),2,8,(-13,7),1,0A0,2,8,(4,-7),14,6, 14,8,(9,-9),0 *000C2,44,uc 2,14,8,(-9,-25),14,5,8,(5,23),1,041,04F,2,049,1,8,(-8,-21),2, 8,(8,21),1,8,(8,-21),2,8,(-13,7),1,0A0,2,8,(4,-7),14,6, 14,8,(9,-9),0 *000C3,55,uc^ 2,14,8,(-9,-25),14,5,8,(4,22),5,1,023,10,(2,-50),01E,10,(2,82), 023,2,6,8,(5,-1),1,8,(-8,-21),2,8,(8,21),1,8,(8,-21),2,8,(-13,7), 1,0A0,2,8,(
*000CB,61,uc^ 2,14,3,2,14,8,(-19,-50),14,4,2,14,5,8,(6,24),1,01E,012,016,01A,2, 070,1,01E,012,016,01A,2,8,(4,-3),1,0D8,8,(0,-21),0D0,2, 8,(-13,11),1,080,2,8,(7,-11),14,6,14,3,2,14,8,(19,-18),14,4,2,0 *000CC,29,uc^ 2,14,8,(-4,-25),14,5,8,(4,23),1,026,2,04D,1,8,(0,-21),2,8,(4,0), 14,6,14,8,(4,-9),0 *000CD,29,uc^ 2,14,8,(-4,-25),14,5,8,(4,23),1,022,2,04B,1,8,(0,-21),2,8,(4,0), 14,6,14,8,(4,-9),0 *000CE,30,uc^ 2,14,8,(-4,-25),14,5,8,(2,23),1,022,02E,2,02A,1,8,(0,-21),2, 8,(4,0),14,6,14,8,(4,-9),0 *000CF,41,uc^
2,14,8,(-11,-21),8,(9,21),1,029,02A,02B,8,(-1,-3),05C,8,(1,-3), 02D,02E,02F,040,021,022,023,8,(1,3),054,8,(-1,3),025,026,027,048, 2,8,(-6,-21),1,8,(16,21),2,8,(3,-21),14,8,(-11,-9),0 *000D9,43,uc^ 2,14,8,(-11,-25),14,5,8,(15,21),1,087,2,06B,1,0DC,8,(1,-3),02E, 8,(3,-1),020,8,(3,1),022,8,(1,3),0D4,2,8,(4,-19),14,6, 14,8,(11,-9),0 *000DA,45,uc^ 2,14,8,(-11,-25),14,5,8,(15,25),1,089,2,8,(-3,-2),1,0DC,8,(1,-3), 02E,8,(3,-1),020,8,(3,1),022,8,(1,3),0D4,2,8,(4,-19),14,6, 14,8,(11,-9),0 *000DB,46,uc^ 2,14,8,(-11,-
032,2,07C,1,0EC,2,0B4,1,026,027,038,029,02A,8,(-1,-3),02C, 8,(1,-3),02E,02F,030,021,022,2,8,(4,-3),14,6,14,3,2, 14,8,(19,-18),14,4,2,0 *000E4,71,lc„ 2,14,3,2,14,8,(-19,-42),14,4,2,14,5,8,(4,20),1,01E,012,016,01A,2, 090,1,01E,012,016,01A,2,8,(2,-6),1,0EC,2,0B4,1,026,027,038,029, 02A,8,(-1,-3),02C,8,(1,-3),02E,02F,030,021,022,2,8,(4,-3),14,6, 14,3,2,14,8,(19,-18),14,4,2,0 *000E5,63,lc† 2,14,3,2,14,8,(-19,-42),14,4,2,14,5,8,(7,19),1,10,(2,64),2, 8,(8,-5),1,0EC,2,0B4,1,026,027,038,029,02A,8,(-1,-3),02C, 8,(1,-3
*000EE,34,lcŒ 2,14,8,(-7,-21),14,5,8,(3,18),1,8,(4,3),8,(4,-3),2,8,(-4,-5),1, 0DC,2,8,(4,0),14,6,14,8,(7,-9),0 *000EF,39,lc‹ 2,14,8,(-7,-21),14,5,8,(3,20),1,01E,012,016,01A,2,060,1,01E,012, 016,01A,2,8,(-2,-7),1,0DC,2,8,(4,0),14,6,14,8,(7,-9),0 *000F1,56,lc 2,14,3,2,14,8,(-19,-42),14,4,2,14,5,8,(4,18),1,032,010,03E,010, 032,2,8,(-11,-7),1,0EC,2,0A4,1,032,021,030,02F,8,(1,-3),0AC,2, 8,(4,0),14,6,14,3,2,14,8,(19,-18),14,4,2,0 *000F2,64,lc• 2,14,3,2,14,8,(-19,-42),14,4,2,14,5,8,(5,21),1,8,(9,-4),2,069,1, 029,0
8,(-10,-3),1,0AC,8,(1,-3),02F,030,021,032,2,0A4,1,0EC,2,8,(4,0), 14,6,14,3,2,14,8,(19,-18),14,4,2,0 *000FA,54,lc 2,14,3,2,14,8,(-19,-42),14,4,2,14,5,8,(5,17),1,8,(9,4),2, 8,(-10,-7),1,0AC,8,(1,-3),02F,030,021,032,2,0A4,1,0EC,2,8,(4,0), 14,6,14,3,2,14,8,(19,-18),14,4,2,0 *000FB,61,lc2,14,3,2,14,8,(-19,-42),14,4,2,14,5,8,(5,18),3,2,1,8,(9,6), 8,(9,-6),4,2,2,8,(-10,-4),1,0AC,8,(1,-3),02F,030,021,032,2,0A4,1, 0EC,2,8,(4,0),14,6,14,3,2,14,8,(19,-18),14,4,2,0 *000FC,62,lc_ 2,14,3,2,14,8,(-19,-42),14,4,2,14,5,8,(4
042,2,04A,1,046,2,8,(14,-27),14,8,(-10,-9),0 *0010D,41,c159 2,14,8,(-9,-20),0F0,0B4,1,026,027,038,029,02A,8,(-1,-3),02C, 8,(1,-3),02E,02F,030,021,022,2,068,0D4,1,042,2,04A,1,046,2, 8,(13,-20),14,09A,0 *0010E,53,c210 2,14,8,(-11,-27),8,(4,21),1,0FC,06C,2,0F4,064,1,070,8,(3,-1),02E, 02D,8,(1,-3),05C,8,(-1,-3),02B,02A,8,(-3,-1),078,2,8,(7,23),1, 042,2,04A,1,046,2,8,(14,-27),14,8,(-10,-9),0 *0010F,46,c212 2,14,8,(-10,-21),8,(15,21),1,0FC,06C,2,0B4,1,026,027,038,029,02A, 8,(-1,-3),02C,8,(1,-3),02E,02F,030,021,02
8,(4,0),14,6,14,8,(11,-9),0 *00144,57,c228 2,14,3,2,14,8,(-19,-28),14,4,2,14,5,8,(4,14),8,(4,2),1,8,(3,2),2, 8,(-7,-4),1,0EC,2,0A4,1,032,021,030,02F,8,(1,-3),0AC,2,8,(4,0), 14,6,14,3,2,14,8,(19,-18),14,4,2,0 *00147,38,c213 2,14,8,(-11,-27),8,(4,21),1,0FC,06C,2,0F4,064,1,8,(14,-21),0F4, 064,2,078,024,1,042,2,04A,1,046,2,8,(15,-27),14,8,(-11,-9),0 *00148,37,c229 2,14,8,(-10,-20),040,0E4,1,0EC,2,0A4,1,032,021,030,02F,8,(1,-3), 0AC,2,8,(-5,16),1,042,2,04A,1,046,2,8,(13,-20),14,09A,0 *00150,58,c138 2,14,8,(-11,-
*00161,52,c231 2,14,8,(-9,-20),0E0,0B4,1,025,8,(-3,1),038,8,(-3,-1),02B,02D,02F, 8,(5,-1),02F,02D,01C,02B,8,(-3,-1),038,8,(-3,1),025,2,060,0D4,1, 042,2,04A,1,046,2,8,(12,-20),14,8,(-8,-9),0 *00164,35,c155 2,14,8,(-8,-27),8,(8,21),1,0FC,06C,2,8,(-7,21),1,0E0,2,078,024,1, 042,2,04A,1,046,2,8,(12,-27),14,8,(-8,-9),0 *00165,36,c156 2,14,8,(-6,-21),8,(5,21),1,0FC,02C,8,(1,-3),02F,020,2,088,0E4,1, 070,2,074,1,8,(-3,-4),2,8,(6,-17),14,8,(-6,-9),0 *0016E,45,c222 2,14,8,(-11,-27),8,(4,21),1,0FC,8,(1,-3),02E,8,(3,-1)
2,14,8,(-10,-27),8,(17,21),1,8,(-14,-21),2,0F4,064,1,0E0,2, 8,(-14,-21),1,0E0,2,8,(-7,23),1,042,2,04A,1,046,2,8,(14,-27), 14,8,(-10,-9),0 *0017E,38,c167 2,14,8,(-9,-20),0E2,1,8,(-11,-14),2,0E4,1,0B0,2,0B8,0EC,1,0B0,2, 8,(-5,16),1,042,2,04A,1,046,2,8,(12,-20),14,8,(-8,-9),0 *00410,38,_ 2,14,8,(-9,-21),2,8,(4,7),1,9,(10,0),(0,0),2,8,(-13,-7),1,9, (8,21),(8,-21),(0,0),2,8,(1,0),1,2,14,8,(-9,-9),0 *00411,46,_ 2,14,8,(-10,-21),2,8,(15,21),1,9,(-11,0),(0,-21),(9,0),(3,1), (1,1),(1,2),(0,3),(-1,2),(-1,1),(-3,1),(-
2,14,8,(-11,-21),2,8,(4,21),1,9,(0,-21),(14,21),(0,-21),(0,0),2, 8,(-11,26),1,9,(1,-1),(2,-1),(2,0),(2,1),(1,1),(0,0),2,8,(7,-26), 1,2,14,8,(-11,-9),0 *0041A,46,Š 2,14,8,(-10,-21),2,8,(18,0),1,9,(-9,12),(0,0),2,8,(9,9),1,9, (-14,-14),(0,0),2,8,(0,14),1,9,(0,-21),(0,0),2,8,(16,0),1,2, 14,8,(-10,-9),0 *0041B,36,‹ 2,14,8,(-10,-21),2,8,(16,0),1,9,(0,21),(-11,0),(0,-17),(-1,-2), (-1,-1),(-2,-1),(0,0),2,8,(19,0),1,2,14,8,(-10,-9),0 *0041C,32,Œ 2,14,8,(-12,-21),2,8,(20,0),1,9,(0,21),(-8,-15),(-8,15),(0,-21), (0,0)
(1,-2),(0,-4),(-1,-2),(-2,-2),(-2,-1),(-3,-1),(-4,0),(-3,1), (-2,1),(-2,2),(-1,2),(0,4),(1,2),(2,2),(2,1),(3,1),(0,0),2, 8,(2,2),1,9,(0,-21),(0,0),2,8,(13,0),1,2,14,8,(-13,-9),0 *00425,36,• 2,14,8,(-8,-21),2,8,(15,21),1,9,(-14,-21),(0,0),2,8,(0,21),1,9, (14,-21),(0,0),2,8,(1,0),1,2,14,8,(-8,-9),0 *00426,40,2,14,8,(-11,-21),2,8,(4,21),1,9,(0,-21),(16,0),(0,-4),(0,0),2, 8,(-2,25),1,9,(0,-21),(0,0),2,8,(4,0),1,2,14,8,(-11,-13),0 *00427,44,— 2,14,8,(-10,-21),2,8,(3,21),1,9,(0,-8),(1,-3),(1,-1),(3,-1), (9,0),(0,
2,14,8,(-10,-21),2,8,(2,0),1,9,(7,11),(0,0),2,8,(7,-11),1,9, (0,21),(-9,0),(-3,-1),(-1,-1),(-1,-2),(0,-2),(1,-2),(1,-1), (3,-1),(9,0),(0,0),2,8,(4,-11),1,2,14,8,(-10,-9),0 *00430,62, 2,14,8,(-9,-14),2,8,(15,3),1,9,(-2,-2),(-2,-1),(-3,0),(-2,1), (-1,1),(-1,1),(-1,3),(0,2),(1,3),(2,2),(2,1),(3,0),(2,-1),(2,-2), (0,0),2,8,(0,3),1,9,(0,-14),(0,0),2,8,(4,0),1,2,14,8,(-10,-9),0 *00431,64, 2,14,8,(-9,-21),2,8,(14,21),1,9,(-2,-1),(-5,-1),(-2,-1),(-1,-2), (0,-12),(1,-2),(1,-1),(2,-1),(3,0),(2,1),(2,2),(1,3),(0,2), (
*00439,64, 2,14,8,(-9,-14),2,8,(4,14),1,9,(0,-10),(1,-3),(2,-1),(3,0),(2,1), (3,3),(0,0),2,8,(0,10),1,9,(0,-14),(0,0),2,8,(-9,18),1,9,(1,-1), (2,-1),(2,0),(2,1),(1,1),(0,0),2,8,(5,-18),1,2,14,8,(-10,-9),0 *0043A,46, 2,14,8,(-8,-14),2,8,(4,14),1,9,(0,-14),(0,0),2,8,(4,8),1,9, (7,-8),(0,0),2,8,(-1,14),1,9,(-10,-10),(0,0),2,8,(12,-4),1,2, 14,8,(-8,-9),0 *0043B,44, 2,14,8,(-9,-14),2,8,(14,14),1,9,(-6,0),(0,-10),(-1,-3),(-2,-1), (-2,0),(0,0),2,8,(11,14),1,9,(0,-14),(0,0),2,8,(4,0),1,2, 14,8,(-9,-9),0 *0043C,32,
2,14,8,(-7,-14),2,8,(1,14),1,9,(6,-14),(0,0),2,8,(6,14),1,9, (-6,-14),(-2,-4),(-2,-2),(-2,-1),(-1,0),(0,0),2,8,(14,7),1,2, 14,8,(-7,-16),0 *00444,66, 2,14,8,(-11,-14),2,8,(14,14),1,9,(-6,0),(-2,-1),(-2,-2),(-1,-3), (0,-2),(1,-3),(2,-2),(2,-1),(6,0),(2,1),(2,2),(1,3),(0,2),(-1,3), (-2,2),(-2,1),(0,0),2,8,(-3,0),1,9,(0,-21),(0,0),2,8,(11,7),1,2, 14,8,(-11,-16),0 *00445,36, 2,14,8,(-6,-14),2,8,(1,14),1,9,(11,-14),(0,0),2,8,(0,14),1,9, (-11,-14),(0,0),2,8,(12,0),1,2,14,8,(-7,-9),0 *00446,50, 2,14,8,(-9,-14),2,8
14,8,(-9,-9),0 *0044D,60, 2,14,8,(-8,-14),2,8,(2,11),1,9,(2,2),(2,1),(3,0),(2,-1),(2,-2), (1,-3),(0,-2),(-1,-3),(-2,-2),(-2,-1),(-3,0),(-2,1),(-2,2),(0,0), 2,8,(12,4),1,9,(-6,0),(0,0),2,8,(9,-7),1,2,14,8,(-9,-9),0 *0044E,70, 2,14,8,(-12,-14),2,8,(4,14),1,9,(0,-14),(0,0),2,8,(0,7),1,9, (5,0),(0,1),(1,3),(2,2),(2,1),(2,0),(2,-1),(2,-2),(1,-3),(0,-2), (-1,-3),(-2,-2),(-2,-1),(-2,0),(-2,1),(-2,2),(-1,3),(0,1),(0,0), 2,8,(15,-7),1,2,14,8,(-12,-9),0 *0044F,54, 2,14,8,(-8,-14),2,8,(3,0),1,9,(4,5),(0,0),2,8,(6,-5),
2,14,8,(-10,-21),14,5,040,1,0C0,084,066,06A,08C,2,8,(16,0),14,6, 14,8,(10,-9),0 Quick Reference Commands LOAD Makes shapes available for use by the SHAPE command. SHAPE Inserts a shape from a shape file that has been loaded using LOAD.
Extended Standard Font for UNICODE 498 | Chapter 8 Shapes and Shape Fonts
;; ;; txt.shp - Extended Standard Font for UNICODE ;; ;; Copyright 1997 by Autodesk, Inc. ;; ;; Permission to use, copy, modify, and distribute this software for ;; any purpose and without fee is hereby granted, provided that the ;; above copyright notice appears in all copies and that the re stricted ;; rights notice below appear in all supporting documentation. ;; ;; Use, duplication, or disclosure by the U.S. Government is sub ject ;; to restrictions set forth in FAR 52.
2,14,3,2,14,8,(-1,-12),14,4,2,044,1,023,2,06C,020,14,3,2, 14,8,(-5,2),14,4,2,0 *00028,16,klp 2,14,8,(-1,-6),064,020,1,02A,02C,02E,2,020,14,03A,0 *00029,15,krp 2,14,8,(-1,-6),064,1,02E,02C,02A,2,040,14,03A,0 *0002A,27,kas 2,14,8,(-2,-5),021,1,044,2,02E,1,048,2,041,1,04A,2,044,1,04E,2, 02F,14,8,(-4,-3),0 *0002B,19,kpls 2,14,8,(-2,-5),021,1,044,2,02E,1,048,2,06F,14,8,(-4,-3),0 *0002C,28,kcma 2,14,3,2,14,02B,14,4,2,014,010,1,01C,01A,2,012,020,14,3,2, 14,8,(-3,-8),14,4,2,0 *0002D,14,ksub 2,14,8,(-2,-3),034,1,040
2,020,1,01E,01C,01A,028,2,050,14,8,(-4,-3),0 *00039,24,n9 2,14,8,(-2,-6),010,1,010,022,034,016,028,01A,01C,01E,030,2,020, 03C,14,8,(-4,-3),0 *0003A,17,kcol 2,14,04C,044,1,01C,2,01C,1,01C,2,02F,14,8,(-2,-3),0 *0003B,34,ksmc 2,14,3,2,14,8,(-1,-8),14,4,2,010,044,1,01C,2,01C,1,02C,01A,2,012, 020,14,3,2,14,8,(-5,-8),14,4,2,0 *0003C,29,klt 2,14,3,2,14,8,(-3,-12),14,4,2,064,030,1,03A,03E,2,020,14,3,2, 14,8,(-5,-6),14,4,2,0 *0003D,18,keq 2,14,04B,044,1,040,2,02C,1,048,2,060,02C,14,8,(-4,-1),0 *0003E,28,kgt 2,14,3,2
14,8,(-4,-3),0 *00048,22,uch 2,14,8,(-2,-6),1,064,2,03C,1,040,2,034,1,06C,2,020,14,8,(-4,-3),0 *00049,21,uci 2,14,8,(-1,-6),064,1,020,2,018,1,06C,2,018,1,020,2,020,14,03A,0 *0004A,19,ucj 2,14,8,(-2,-6),014,1,01E,020,012,054,2,020,06C,14,8,(-4,-3),0 *0004B,23,uck 2,14,8,(-2,-6),1,064,2,040,1,03A,018,2,010,1,03E,2,020, 14,8,(-4,-3),0 *0004C,16,ucl 2,14,8,(-2,-6),064,1,06C,040,2,020,14,8,(-4,-3),0 *0004D,17,ucm 2,14,8,(-2,-6),1,064,04D,043,06C,2,020,14,8,(-4,-3),0 *0004E,19,ucn 2,14,8,(-2,-6),1,064,8,(4,-6),06
2,14,8,(-2,-6),064,1,8,(2,-3),03C,2,034,1,8,(2,3),2,020,06C, 14,8,(-4,-3),0 *0005A,19,ucz 2,14,8,(-2,-6),064,1,040,8,(-4,-6),040,2,020,14,8,(-4,-3),0 *0005B,17,klb 2,14,8,(-1,-6),1,064,020,2,06C,1,028,2,040,14,03A,0 *0005C,17,kbkslsh 2,14,8,(-2,-6),064,1,8,(4,-6),2,020,14,8,(-4,-3),0 *0005D,15,krb 2,14,8,(-1,-6),064,1,020,06C,028,2,040,14,03A,0 *0005E,16,kcaret 2,14,8,(-2,-6),044,1,022,02E,2,04D,14,8,(-4,1),0 *0005F,11,kundrl 2,14,028,01C,1,040,2,021,14,04A,0 *00060,27,krvap 2,14,3,2,14,8,(-1,-12),14,4,2,06
2,14,3,2,14,8,(-3,-12),14,4,2,01C,1,01E,010,012,054,2,014,1,014, 2,020,06C,14,3,2,14,8,(-7,-10),14,4,2,0 *0006B,23,lck 2,14,8,(-2,-6),1,064,2,04C,1,020,022,2,02A,1,02E,2,020, 14,8,(-4,-3),0 *0006C,28,lcl 2,14,3,2,14,8,(-1,-12),14,4,2,064,1,05C,01E,2,020,14,3,2, 14,8,(-5,-6),14,4,2,0 *0006D,24,lcm 2,14,04B,1,044,2,01C,1,012,01E,01C,2,014,1,012,01E,03C,2,020, 14,8,(-4,-3),0 *0006E,21,lcn 2,14,8,(-2,-6),1,044,2,02C,1,022,010,01E,03C,2,020,14,8,(-4,-3),0 *0006F,20,lco 2,14,04B,030,1,028,016,024,012,020,01E,02C,
*0007B,19,klbr 2,14,8,(-1,-6),064,020,1,01A,01C,01A,01E,01C,01E,2,020,14,03A,0 *0007C,13,kvbar 2,14,06C,1,064,2,06C,020,14,8,(-2,-3),0 *0007D,18,krbr 2,14,8,(-1,-6),1,012,014,012,016,014,016,2,06C,040,14,03A,0 *0007E,15,ktlde 2,14,04B,034,1,012,02F,012,2,04D,14,8,(-4,-2),0 *00080,4,keuroRef 7,020AC,0 *000A0,7,NoBrkSpc 2,060,14,8,(-6,-8),0 *000A1,18,kiexc 2,14,06C,1,044,2,014,1,014,2,8,(2,-6),14,8,(-2,-3),0 *000A2,23,kcent 2,14,8,(-2,-5),01E,1,8,(2,6),2,01E,1,038,01A,02C,01E,030,2,020, 14,04A,0, *000A3,23,kp
06B,1,040,2,4,2,8,2,-3,14,8,(-3,1),0 *000BB,22,kffrw 2,14,8,(-2,-5),014,1,022,026,2,020,1,02E,02A,2,040,01C, 14,8,(-4,-2),0 *000BC,41,kquart 2,3,2,14,8,(-5,-12),1,8,(10,12),2,8,(-8,-6),1,064,01A,2,05C,1, 020,2,8,(6,-4),1,048,8,(3,4),06C,2,060,14,8,(-9,-6),4,2,0 *000BD,45,khalf 2,3,2,14,8,(-5,-12),1,8,(10,12),2,8,(-8,-6),1,064,01A,2,05C,1, 020,2,8,(3,-1),1,012,020,01E,01C,01A,028,01A,02C,040,2,040, 14,8,(-9,-6),4,2,0 *000BF,32,kiqm 2,3,2,14,8,(-3,-12),8,(6,2),1,02A,028,026,024,022,024,2,024,1, 024,2,8,(8,-12
2,020,14,8,(-4,-3),0 *000CA,29,uc^ 2,14,8,(-2,-6),1,044,040,2,016,1,016,01A,2,03C,018,1,020,2,02A,1, 040,2,020,14,8,(-4,-3),0 *000CB,32,uc^ 2,14,8,(-2,-6),1,044,040,2,016,1,014,2,028,1,01C,2,03C,018,1,020, 2,02A,1,040,2,020,14,8,(-4,-3),0 *000CC,25,uc^ 2,14,8,(-1,-6),044,1,020,2,014,1,027,2,02D,1,04C,2,018,1,020,2, 020,14,03A,0 *000CD,25,uc^ 2,14,8,(-1,-6),044,1,020,2,024,1,029,2,01E,1,04C,2,018,1,020,2, 020,14,03A,0 *000CE,26,uc^ 2,14,8,(-1,-6),044,1,020,2,014,1,016,01A,2,01E,1,04C,2,018,1,020, 2,020,14,03
2,14,8,(-2,-6),1,8,(4,6),2,018,1,01E,04C,01A,028,016,044,012,020, 2,8,(3,-6),14,8,(-4,-3),0 *000D9,24,uc^ 2,14,8,(-2,-6),064,1,05C,01E,020,012,054,2,01A,1,027,2,050,06C, 14,8,(-4,-3),0 *000DA,24,uc^ 2,14,8,(-2,-6),064,1,05C,01E,020,012,054,2,018,1,029,2,050,05C, 14,8,(-4,-3),0 *000DB,25,uc^ 2,14,8,(-2,-6),064,1,05C,01E,020,012,054,2,01A,1,016,01A,2,050, 05C,14,8,(-4,-3),0 *000DC,27,uc^ 2,14,8,(-2,-6),064,1,05C,01E,020,012,054,2,01A,1,014,2,028,1,01C, 2,05E,14,8,(-4,-3),0 *000DD,25,uc^ 2,14,8,(-2,-6),044,1,0
2,14,04B,021,1,01A,016,024,012,01E,03C,2,034,1,012,01E,01C,028,2, 01C,1,01E,010,2,020,14,8,(-4,-3),0 *000E7,24,lc‡ 2,14,04B,042,1,038,01A,02C,01E,030,2,028,1,01C,010,01C,018,2,041, 14,8,(-4,-5),0 *000E8,27,lcŠ 2,14,8,(-2,-6),024,1,030,012,016,028,01A,02C,01E,020,2,054,1,027, 2,050,06C,14,8,(-4,-3),0 *000E9,26,lc‚ 2,14,8,(-2,-6),024,1,030,012,016,028,01A,02C,01E,020,2,064,1,029, 2,05E,14,8,(-4,-3),0 *000EA,27,lcˆ 2,14,8,(-2,-6),024,1,030,012,016,028,01A,02C,01E,020,2,054,1,016, 01A,2,05E,14,8,(-4,-3),0 *000E
*000F5,32,lc^ 2,14,8,(-2,-6),030,1,028,016,024,012,020,01E,02C,01A,2,8,(-3,5), 1,012,02F,012,2,8,(2,-6),14,8,(-4,-3),0 *000F6,35,lc” 2,14,8,(-2,-6),030,1,028,016,024,2,034,1,01C,2,040,1,014,2, 8,(-4,-3),1,012,020,01E,02C,01A,2,030,14,8,(-4,-3),0 *000F7,23,kto 2,14,8,(-2,-5),021,1,014,2,021,1,048,2,022,1,01C,2,04E, 14,8,(-4,-2),0 *000F8,24,lcd” 2,14,04B,010,1,020,012,024,016,028,01A,02C,01E,2,018,1,042,2,04D, 14,8,(-4,-3),0 *000F9,27,lc— 2,14,8,(-2,-6),044,1,03C,01E,010,022,2,038,044,1,02F,2,01E,1,04C, 2,020
2,14,04B,042,1,038,01A,02C,01E,030,2,3,2,8,(-5,10),1,021,2,029, 8,(9,-10),4,2,14,8,(-4,-3),0 *0010C,31,c172 2,14,8,(-2,-8),040,014,1,01A,028,016,044,012,020,01E,2,026,1,012, 2,01A,1,016,2,050,08C,14,8,(-4,-3),0 *0010D,29,c159 2,14,8,(-2,-6),042,1,038,01A,02C,01E,030,2,028,054,1,012,2,01A,1, 016,2,050,06C,14,8,(-4,-3),0 *0010E,32,c210 2,14,8,(-2,-8),1,030,012,044,016,038,2,010,1,06C,2,010,074,1,012, 2,01A,1,016,2,050,08C,14,8,(-4,-3),0 *0010F,31,c212 2,14,8,(-2,-6),041,1,02A,018,016,024,012,010,02E,2,044,1,0
01A,1,016,2,040,06C,14,03A,0 *00150,27,c138 2,14,8,(-2,-6),1,064,040,06C,048,2,074,010,1,03C,2,020,1,034,2, 07C,030,14,8,(-4,-3),0 *00151,29,c139 2,14,04B,030,1,028,016,024,012,020,01E,02C,01A,2,074,1,02C,2,028, 1,024,2,07C,050,14,8,(-4,-3),0 *00158,33,c252 2,14,8,(-2,-8),1,064,030,01E,01C,01A,038,2,010,1,03E,2,028,074,1, 012,2,01A,1,016,2,050,08C,14,8,(-4,-3),0 *00159,29,c253 2,14,8,(-2,-6),1,044,2,02C,1,022,010,01E,2,026,1,012,2,01A,1,016, 2,050,06C,14,8,(-4,-3),0 *0015A,27,c151 2,14,8,(-2,-6),014,1,01E,0
2,14,04B,044,1,03C,01E,010,022,2,024,1,04C,2,074,018,1,02C,2,028, 1,024,2,07C,050,14,8,(-4,-3),0 *00179,25,c141 2,14,8,(-2,-6),064,1,040,8,(-4,-6),040,2,038,074,1,021,2,08C,030, 14,8,(-4,-3),0 *0017A,28,c171 2,14,04B,044,1,040,04A,040,2,3,2,8,(-5,10),1,021,2,029,8,(9,-10), 4,2,14,8,(-4,-3),0 *0017B,32,c189 2,14,8,(-2,-6),064,1,040,8,(-4,-6),040,2,084,028,1,3,4,01A,01E, 012,016,4,4,2,040,08C,14,8,(-4,-3),0 *0017C,34,c190 2,14,04B,044,1,040,04A,040,2,3,2,8,(-4,11),3,4,1,01A,01E,012,016, 4,4,2,8,(8,-11),4,2,14
*00418,20,ucri 2,14,8,(-2,-6),1,042,04C,064,2,048,1,06C,2,060,14,8,(-4,-3),0 *00419,24,ucrikr 2,14,8,(-2,-6),1,042,04C,064,2,018,1,028,2,018,1,06C,2,060, 14,8,(-4,-3),0 *0041A,23,ucrk 2,14,8,(-2,-6),1,064,2,040,1,03A,018,2,010,1,03E,2,020, 14,8,(-4,-3),0 *0041B,17,ukrl 2,14,8,(-2,-6),1,010,063,010,06C,2,020,14,8,(-5,-3),0 *0041C,17,ucrm 2,14,8,(-2,-6),1,064,04D,043,06C,2,020,14,8,(-4,-3),0 *0041D,22,ucrn 2,14,8,(-2,-6),1,064,2,03C,1,040,2,034,1,06C,2,020,14,8,(-4,-3),0 *0041E,23,ucro 2,14,8,(-2,-6),014,1,04
*00429,24,ucr! 2,14,8,(-2,-6),1,064,06C,030,044,04C,030,064,06C,010,01C,014,2, 020,14,8,(-7,-3),0 *0042A,23,ucr' 2,14,8,(-2,-6),054,1,014,010,06C,030,012,014,016,038,2,060,03C, 14,8,(-5,-3),0 *0042B,24,ucrs 2,14,8,(-2,-6),1,030,012,014,016,038,03C,064,2,050,1,06C,2,020, 14,8,(-5,-3),0 *0042C,21,ucr] 2,14,8,(-2,-6),1,030,012,014,016,038,03C,064,2,060,06C, 14,8,(-4,-3),0 *0042D,25,ucr' 2,14,8,(-2,-6),014,1,01E,020,012,024,028,020,024,016,028,01A,2, 060,05C,14,8,(-4,-3),00, *0042E,26,ucr! 2,14,8,(-2,-6),1,064,
060,01C,14,8,(-4,-3),0 *00438,17,lcri 2,14,8,(-2,-6),044,1,04C,042,04C,2,020,14,8,(-4,-3),0 *00439,23,lcrii 2,14,8,(-2,-6),044,1,04C,042,04C,2,044,018,1,028,2,050,04C, 14,8,(-4,-3),0 *0043A,19,lcrk 2,14,8,(-2,-6),1,044,02C,020,022,02A,02E,2,020,14,8,(-4,-3),0 *0043B,16,lcrl 2,14,8,(-2,-6),1,043,020,04C,2,020,14,8,(-4,-3),0 *0043C,17,lcrm 2,14,8,(-2,-6),1,044,02E,022,04C,2,020,14,8,(-4,-3),0 *0043D,18,lcrn 2,14,8,(-2,-6),1,044,02C,040,024,04C,2,020,14,8,(-4,-3),0 *0043E,25,lcro 2,14,04B,14,8,(0,-2),014,1,024
*00449,24,lcrshch 2,14,8,(-2,-6),1,044,04C,020,024,02C,020,044,04C,010,01C,2,014, 020,14,8,(-5,-3),0 *0044A,21,lcrtvznak 2,14,8,(-2,-6),044,1,010,04C,020,012,016,028,2,050,02C, 14,8,(-4,-3),0 *0044B,24,lcryyy 2,14,8,(-2,-6),1,044,02C,020,01E,01A,028,2,040,1,044,2,04C,020, 14,8,(-4,-3),0 *0044C,19,lcrmznak 2,14,8,(-2,-6),1,044,02C,020,01E,01A,028,2,050,14,8,(-3,-3),0 *0044D,25,lcreee 2,14,8,(-2,-6),014,1,01E,020,012,014,028,020,014,016,028,01A,2, 060,03C,14,8,(-4,-3),0 *0044E,26,lcryu 2,14,8,(-2,-6),1,044,02
Quick Reference Commands LOAD Makes shapes available for use by the SHAPE command. SHAPE Inserts a shape from a shape file that has been loaded using LOAD. Big Font Descriptions Some languages, such as Japanese, use text fonts with thousands of non-ASCII characters. In order for drawings to contain such text, AutoCAD supports a special form of shape definition file called a Big Font file. Define a Big Font Special codes in the first line of a Big Font file specify how to read two-byte hexidecimal codes.
each range. Therefore, the header for a Japanese Big Font file might look like this: *BIGFONT 4000,2,090,0AF,0E0,0FF After the *BIGFONT line, the font definition is just like a regular AutoCAD text font, except that character codes (shape numbers) can have values up to 65535. Quick Reference Commands LOAD Makes shapes available for use by the SHAPE command. SHAPE Inserts a shape from a shape file that has been loaded using LOAD.
character width Used along with character height to indicate the number of units that define the font characters. The character-height and character-width values are used to scale the primitives of the font. In this context, primitives are the points, lines, polygons, or character strings of the font geometrically oriented in two-dimensional space. A Kanji character consists of several primitives used repeatedly in different scales and combinations.
Fields of the extended Big Font file Variable Byte size Description basepoint-x 1 byte Primitive X origin basepoint-y 1 byte Primitive Y origin width 1 byte Scale of primitive width height 1 byte Scale of primitive height 1 byte End of shape definition terminator Value 0 The following figure is an example of a 16 x 16 dot matrix that you could use to design an extended Big Font, such as a Kanji character. In the example, the distance between each dot is one unit.
Examples of Kanji characters The following figure shows Kanji primitives. Examples of Kanji primitives NOTE Not all fonts are defined in a square matrix; some are defined in rectangular matrices.
Example: Shape Definition File for an Extended Big Font Big Font Descriptions | 523
*BIGFONT 50,1,080,09e *0,5,Extended Font 15,0,2,15,0 *08D91,31,unspecified 2,0e,8,-7,-15, 7,0,08cfb,0,0,16,16,7,0,08bca,2,3,12,9, 2,8,18,0,2,0e,8,-11,-3,0 *08CD8,31,unspecified 2,0e,8,-7,-15, 7,0,08be0,0,0,8,16,7,0,08cc3,8,0,8,16, 2,8,18,0,2,0e,8,-11,-3,0 *08ADF,31,unspecified 2,0e,8,-7,-15, 7,0,089a4,0,0,8,16,7,0,08cb3,8,0,8,16, 2,8,18,0,2,0e,8,-11,-3,0 *08CE8,39,unspecified 2,0e,8,-7,-15, 7,0,089a4,0,1,5,14,7,0,08cc3,5,2,5,14,7,0,08c8e,9,0,7, 16,2,8,18,0,2,0e,8,-11,-3,0 *089A4,39,primitive 2,0e,8,-7,-15,2
*08CB3,61,primitive 2,0e,8,-7,-15,2,042,1,02b,02a,018,2, 0d0,1,012,034,2,069,1,01e,040,2,8, -8,6,1,02b,2,8,4,5,1,08c,2,8, -3,8,1,03c,2,8,-5,3,1,0e0,2,8, -12,5,1,0a0,2,8,6,-14,2,0e,8, -11,-3,0 *08CC3,34,primitive 2,0e,8,-7,-15,2,0c1,1,06c,0a8,064,0a0,2,8, -5,9,1,09c,2,8,-7,5,1,0e0,2,8, 4,-11,2,0e,8,-11,-3,0 *08CFB,22,primitive 2,0e,8,-7,-15,2,0d2,1,0cc,0c8,0c4,0c0,2,8, 5,-13,2,0e,8,-11,-3,0 Quick Reference Commands COMPILE Compiles shape files and PostScript font files into SHX files.
AutoCAD assumes that the first name is the normal font and that the second is the big font. If you enter only one name, AutoCAD assumes it is the normal font and removes any associated Big Font. By using leading or trailing commas when specifying the font file names, you can change one font without affecting the other, as shown in the following table.
In some drafting disciplines, many special symbols can appear in text strings. The AutoCAD standard text fonts can be extended to include special symbols. However, extending standard text fonts has several limitations: ■ The number of shapes is 255 per font file. ■ Standard character set uses almost half the available shape numbers. Only codes 1 through 9, 11 through 31, and 130 through 255 are available. ■ Multiple text fonts require duplication of the symbol definitions in each font.
LOAD Makes shapes available for use by the SHAPE command. SHAPE Inserts a shape from a shape file that has been loaded using LOAD. Unicode Font Descriptions A single Unicode font, due to its large character set, is capable of supporting all languages and platforms. Unicode shape definition files are virtually identical in format and syntax to regular AutoCAD shape definition files.
descriptions, you may be inclined to use three bytes rather than four, but this would cause an error during the compiling of the SHP file. This is true even if the shape number you are referencing is not in the two-byte range (below 255); the compiler always uses two bytes for this value, so you must account for that in the header. The only other difference between Unifont shape definitions and regular shape definitions is the shape numbers.
control the position and size of the characters that follow. For simplicity, this example replaces the left- and right-bracket characters ([and]) and the left and right curly brace characters ({and}) with the new characters. You may choose to replace other characters or use a shape number in the extended range (ASCII codes 128 through 256). If you use an extended shape number, you need to use the %%nnn method (where nnn is the ASCII value of the character) for placing the new characters.
and } characters. The [ character initiates superscript and the ] character returns from superscript to normal. The { character initiates subscript and the } character returns from subscript to normal. Quick Reference Commands COMPILE Compiles shape files and PostScript font files into SHX files. LOAD Makes shapes available for use by the SHAPE command. SHAPE Inserts a shape from a shape file that has been loaded using LOAD.
532
Index .NET Framework about 451 loading applications 451 A abbreviations for commands 24 absolute menu referencing 288 acad.lsp file 442 acaddoc.
Automation objects 430 B backup files customization files 122 base points 46 batch files 9 Big Fonts about 518 defining 518 examples 521 extended Big Font files 519 extending text fonts with 527 text styles and 525 blocks action macros and 57 borders (menu items) 166 buttons crosshair coordinates 334 customizing 248 drop-downs 220 flyouts 260 images on 248 moving 248 pointing device buttons 118, 331 ribbon controls 224 swapping 161, 290 tablet buttons 336 C C# programming language 451 canceling commands
tooltips 174 transparent commands 156 Windows system commands 22 comments AutoLISP commenting 439 script commenting 422 compiling shape or font files 453 component object model architecture 429 conditional expressions in macros 162 configuration files (plotters) locating 13 multiple 7 configuration files (pointing devices) locating 13 multiple 7 contextual ribbon tabs 112, 245 control characters in macros 154 controls ribbon controls 224 ribbon panels 201 toolbar controls 265 coordinates action macros and 4
migrating older menu files to 384 partial CUIx files 127 structure 99 XML-based format 97 customization groups 101, 103 Customizations In pane (CUI editor) 92 Customize User Interface editor about 87, 90, 106 changes in customization and 97 Command List pane 93 Customizations In pane 92 customizing workspaces 119, 348, 364 Dynamic Display pane 95 FAQs 387 tree nodes 104 customizing about customization 87 AutoCAD functions and features 1 commands 106, 142 Customize User Interface editor 87, 106 double click
getvar 411 greater than 405 greater than or equal to 406 if 411 index 411 less than 404 less than or equal to 405 multiplication 403 not equal to 405 nth 412 or 412 rtos 413 strlen 413 substr 413 subtraction 403 upper 414 xor 414 digitizing tablets buttons 331, 336 dimensions font characters for 468 direction shape specification codes 456 directories 4 directory paths AutoLISP files 440 program and support files 4 displaying contextual ribbon tabs 112 hidden files 10 list of shortcut keys 309 menus 366 pale
F H FAS files 438 fields (font definition files) Big Font files 519 shape font files 455 files locations 4, 10 maintenance 8 roaming profiles and 10 finding commands in CUIx files 135 customized files 10 tagged commands 171 fix DIESEL functions 410 floating windows 104 flyouts buttons 260 toolbars 260 FMP files (font mapping) 13 folders file locations 4 font mapping files 13 fonts compiling 453 creating 467 dimensioning characters in 468 including in linetypes 68 shape fonts 453 special symbols in 527 sup
customizing 87 legacy interface elements 334 terminology 103 workspaces 119 interface elements defined 103 swapping 161, 290 tree view 92 interface items 103 international character sets 158, 518– 519 Internet customizing templates for 17 J Japanese fonts 518–519 including shapes in 71 simple 64 text characters in 68 listing commands 93 keyboard shortcuts 309 loading .
tablet menus and 334 terminating 153 main customization files 104, 122 MDE (Multiple Design Environment) 437 menu files 97 menu groups (customization groups) 101, 103 menu items action macros and 36 DIESEL expressions and 401 disabling 165 graying out 165 status line messages 180 menu referencing 288 menu resource files (MNR) 97 menu swapping 161, 292 menu template files (MNU) 97, 104 menus action macros and 36 AutoLISP MNL files 444 creating 114, 116, 270 customization FAQs 388 customizing 114, 116, 270 in
nodes action macro icons 33 interface customization 104 not equal to DIESEL function 405 nth DIESEL function 412 number pad keys 309, 314, 317, 322 O object properties customizing 293 ObjectARX applications .
customizing 114, 270, 290 menu referencing 288 starting applications from 431 Q Quick Access toolbar 104, 108, 194, 362, 365 Quick Properties panel 293 R rearranging menus 92 ribbon items 208 ribbon tabs 238 toolbar buttons 248 recording action macros 29 referencing menus 288, 290 relative menu referencing 288 removing menus 290 ribbon items 208 toolbar buttons 248 repeating commands 159 replacing commands in CUIx files 135 ribbon action macros and 36 command images 181, 184, 186 contextual tab states 112
sample files 469, 498 superscripts and subscripts 529 Unicode shape definition files 528 shape specification bytes 458 shapes about 453 descriptions 455 including in linetypes 71 shape specification bytes 456 special codes 458 shortcut keys assigning 309 customizing 117 defaults 314 temporary override keys 317, 322 shortcut menus aliases 275 context-sensitive shortcut menus 275 creating 116, 275 customizing 116, 270 double click actions 324 menu referencing 288 SHP fonts (shape definition) 453, 455 SHX font
templates customizing 17 locating files 16 temporary override keys 317, 322 terminating macros 153 text including in linetypes 68 shape fonts 453 text styles Big Fonts and 525 textures locating files 17 time edtime DIESEL function 407 tool palettes action macros and 36 toolbar buttons customizing 248 images 248 rearranging 92, 248 toolbars action macros and 36 command images 181, 184, 186 controls on 265 creating 113, 250 customization FAQs 388 customizing 113, 248 displaying 362 flyouts on toolbar buttons
VLX files (Visual LISP) customization FAQs 390 customizing 119, 347, 361 defined 104 importing 350 properties 349 ribbon tabs 238 toolbars in 248 438 W web pages templates 17 windows customizing 365 workspaces and 380 Windows system commands workspaces CUI Editor 348, 364 current 350 22 X XAML files 175 xor DIESEL function 414 Index | 545
546