AutoCAD 2011 for Mac Customization Guide September 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 . . . . . . . . . . . . . . . . . . . . 3 Overview of File Organization . . . . . . . . . . . . . . . . . . . . 3 Multiple Drawing Folders . . . . . . . . . . . . . . . . . . . . . . 6 Locate Customized Files . . . . . . . . . . . . . . . . . . . . . . . 10 Locate Plot Style Files . . . . . . . . . . . . . .
Chapter 4 User Interface Customization . . . . . . . . . . . . . . . . . . . 41 Understand User Interface Customization . . . . . . . . Overview of the Customization . . . . . . . . . . . Customization Glossary . . . . . . . . . . . . . . . Customize Commands . . . . . . . . . . . . . . . . . . Overview of Commands . . . . . . . . . . . . . . Create, Edit, and Reuse Commands . . . . . . . . . Create Macros . . . . . . . . . . . . . . . . . . . . Overview of Macros . . . . . . . . . . . . . .
eval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 fix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 getenv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 getvar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 if . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 nth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Codes 5 and 6: Location Save/Restore . . . Code 7: Subshape . . . . . . . . . . . . . Codes 8 and 9: X-Y Displacements . . . . Code 00A: Octant Arc . . . . . . . . . . . Code 00B: Fractional Arc . . . . . . . . . Codes 00C and 00D: Bulge-Specified Arcs . Code 00E: Flag Vertical Text Command . . Text Font Descriptions . . . . . . . . . . . . . . Sample Files . . . . . . . . . . . . . . . . . . . Extended Simplex Roman . . . . . . . . . Extended Standard Font for UNICODE . . Big Font Descriptions . . . . . .
Basic Customization 1 Your dealer can offer you independently developed applications that can further tailor AutoCAD for Mac to your needs. Overview of Customization AutoCAD for Mac can be customized in simple ways. For example, you can change the directory structure or create a custom title block to use on a layout. If you want to change the interface further, you can edit the Workflow palette or menu bar, and use DIESEL statements to create custom commands.
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. You can control many aspects of the user interface, including the functionality and appearance of the Workflow palette and menu bar.
Quick Reference Commands REDEFINE Restores AutoCAD internal commands overridden by UNDEFINE. UNDEFINE Allows an application-defined command to override an internal command. Organize Program and Support Files You can change the default directory structure for the program and support files to suit your needs.
Library Search Path The library search path specifies where the program searches for files when you do not specify a full path name, as follows: ■ Current directory. (This is typically determined by the “Start In” setting in your shortcut icon.) ■ Directory that contains the current drawing file. ■ Directories listed in the search path specified on the Applications tab in OPTIONS. (See Specify Search Paths and File Locations in the User's Guide.
Command Search Procedure When you enter a command, AutoCAD for Mac goes through a series of steps to evaluate the validity of the command name. A command can be a built-in command or system variable, an external command or alias defined in the acad.pgp file, or a user-defined AutoLISP command. Commands can also be defined by ObjectARX applications or a device driver command. You can enter a command on the command prompt or choose a command from the appropriate menu.
8 If all the preceding steps fail, the search terminates with a warning message about illegal command names. 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.
To make sure that the required drawing directory is the current directory when you start AutoCAD for Mac, and that all files and subdirectories in that directory are easily accessible, you can create a program icon or a Start menu item that specifies the correct working directory for each job. This functionality works only if you set the AutoCAD for Mac system variable REMEMBERFOLDERS to 0.
You can use a batch program to 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 for Mac.
#!/bin/sh prj="$1" #Switch to the project folder and start AutoCAD function startACAD() { cd /AcadJobs/Jobs/$prj echo "Starting AutoCAD" /Applications/Autodesk/AutoCAD 2011 for Mac/AutoCAD.app/Con tents/MacOS/AutoCAD } #Clear Terminal and check for the existence of the folder clear cd . if [ -d /AcadJobs/Jobs/$prj ] then startACAD fi #Prompt to create folder echo . echo Creating /AcadJobs/Jobs/$prj echo 'Press Y to continue (or A to abort)' echo .
Using an ASCII text editor (such as Notepad), save the batch program to a file named acad.sh. Be sure to change the drive and directory names to match those on your system. Place this file in your home directory or a shared location that is on your system. You can run this shell script program using the Terminal window in /Applications/Utilities on the drive the operating system is installed. If you saved the file as acad.sh, use the following syntax: ./acad.
Locate Plot Style Files The location AutoCAD for Mac uses for plot style files defines on how the program was installed and configured. You can use the OPTIONS command to locate which folder is being used to store your plot styles. To locate your plot style files 1 From the Finder menu bar, click Go ➤ Applications. 2 In the Applications window, double-click Autodesk ➤ AutoCAD 2011 for Mac ➤ AutoCAD for Mac. 3 From the AutoCAD 2011 for Mac menu bar, click AutoCAD 2011 for Mac ➤ Preferences.
4 In the Application Preferences dialog box, Application tab, click the arrow to the left of Printer Support File Path. 5 Click the arrow to the left of Printer Configuration Search Path. 6 Under Printer Configuration Search Path, click the path name to view the location of your plotter files. Locate Support Files Support files include the following: ■ Configuration file (acad*.cfg) ■ Custom icon files ■ Help and miscellaneous files ■ Font mapping file (acad.fmp) ■ Alternate font file (simplex.
To find the default location of the customization files 1 From the Finder menu bar, click Go ➤ Applications. 2 In the Applications window, double-click Autodesk ➤ AutoCAD 2011 for Mac ➤ AutoCAD for Mac. 3 From the AutoCAD 2011 for Mac menu bar, click AutoCAD 2011 for Mac ➤ Preferences. NOTE A drawing must be open to see the Preferences menu item. 4 In the Application Preferences dialog box, Application tab, click the arrow to the left of Customization Files.
3 From the AutoCAD 2011 for Mac menu bar, click AutoCAD 2011 for Mac ➤ Preferences. NOTE A drawing must be open to see the Preferences menu item. 4 In the Application Preferences dialog box, Application tab, click the arrow to the left of Help and Miscellaneous File Names. 5 Click the arrow to the left of the file you want to locate, and then click the path name to view the location of the files. To find the default location of the font mapping file 1 From the Finder menu bar, click Go ➤ Applications.
5 Click the arrow to the left of Alternate Font File. 6 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 From the Finder menu bar, click Go ➤ Applications. 2 In the Applications window, double-click Autodesk ➤ AutoCAD 2011 for Mac ➤ AutoCAD for Mac. 3 From the AutoCAD 2011 for Mac menu bar, click AutoCAD 2011 for Mac ➤ Preferences. NOTE A drawing must be open to see the Preferences menu item.
5 Under Template Settings, click the arrow sign (+) to the left of Drawing Template File Location. 6 Under Drawing Template File Location, click the path name to view the location of your drawing template files. Locate Texture Files The locations AutoCAD for Mac looks in for material texture files are stored in the Application Preferences dialog box. You can use the OPTIONS command to locate which folders are being used to store your material texture files.
preceded by a semicolon (;). Comment lines allow you to add textual information to acad.pgp, such as when or who revised the file last. NOTE Before you edit acad.pgp, create a backup so that you can restore it later, if necessary. To define a command alias, add a line to the acad.pgp file using the following syntax: abbreviation,*command where abbreviation is the command alias that you enter at the command prompt and command is the command being abbreviated.
18
Custom Linetypes 2 AutoCAD for Mac® 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.
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 See also: ■ Shapes and Shape Fonts on page 105 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.
Except for the code enclosed in square brackets, everything is consistent with the definition of a simple linetype. As previously described, a total of six fields can be used to define a shape as part of a linetype. The first two are mandatory and position-dependent; the 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.
degrees (if omitted, degree is the default), r for radians, or g for grads. If rotation is omitted, 0 relative rotation is used. 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.
30
Custom Hatch Patterns 3 AutoCAD for Mac® 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. NOTE When changing the value of MaxHatch, you must enter MaxHatch with the capitalization as shown. To create a simple hatch pattern 1 Open the acad.pat or acadiso.pat file in a text editor that saves in ASCII format. 2 Create a header line that includes an asterisk and a pattern name. The name of the hatch pattern is limited to 31 characters.
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.
and is defined as follows: *ANSI33, ANSI Bronze, Brass, Copper 45, .176776695,0, 0,.25, .125,-.0625 For example, to modify a pattern for 45-degree lines to draw dashed lines with a dash length of 0.5 units and a space between dashes of 0.5 units, the line definition would be *DASH45, Dashed lines at 45 degrees 45, 0,0, 0,.5, .5,-.5 This is the same as the 45-degree pattern shown in Overview of Hatch Pattern Definitions on page 31, but with a dash specification added to the end. The pen-down length is 0.
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. 2 Create a header line that includes an asterisk and a pattern name. The name of the hatch pattern is limited to 31 characters. 3 (Optional) To include a description in the header line, follow the pattern name with a comma and description text.
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.
and is defined as follows with multiple lines describing the pattern: *AR-B816, 8x16 Block elevation stretcher bond 0, 0,0, 0,8 90, 0,0, 8,8, 8,-8 The following figure illustrates a squared-off, inverted-U pattern (one line up, one over, and one down). The pattern repeats every one unit, and each unit is 0.5 high and wide. This pattern would be defined as follows: *IUS,Inverted U's 90, 0,0, 0,1, .5,-.5 0, 0,.5, 0,1, .5,-.5 270, .5,.5, 0,1, .5,-.
This example can help you refine your skills at pattern definition. (Hint: 0.866 is the sine of 60 degrees.) The following is the AutoCAD for Mac definition of this pattern: *STARS,Star of David 0, 0,0, 0,.866, .5,-.5 60, 0,0, 0,.866, .5,-.5 120, .25,.433, 0,.866, .5,-.5 To create a hatch pattern with multiple lines 1 Open the acad.pat or acadiso.pat file in a text editor that saves in ASCII format. 2 Create a header line that includes an asterisk and a pattern name.
Quick Reference Commands 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. HPANG Sets the angle for new hatch patterns.
User Interface Customization 4 When you work in the program, you use a variety of menus, tool sets, and shortcut menus 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 for Mac, you can tailor your drawing environment to suit your needs. The Customize dialog box helps you to easily create and modify the menus and tool sets that make up the user interface.
Customizable User Interface Elements The Customize dialog box allows you to create and manage commands that are used by the user interface. Along with commands, you are able to customize the following user interface elements ■ Menu bar menus ■ Tool sets Quick Reference Commands CUI Manages the customized user interface elements in the product. TOOLSETS Opens the Tool Sets palette. System Variables DBLCLKEDIT Controls the double click editing behavior in the drawing area.
Tool set An interface element that displays tool groups made up of commands and flyouts (or drop-downs) that are displayed vertically outside the drawing area. Tool group An organizational structure used to lay out commands and flyouts (or drop-downs) for display on the Tool Sets palette. Quick Reference Commands CUI Manages the customized user interface elements in the product. TOOLSETS Opens the Tool Sets palette.
The following table shows the properties of the Scale command as they appear in the Properties section. Properties for the Scale command in the Commands list Property Description Example Name String displayed as the caption of a menu item or as a tooltip on the Tool Sets palette. The string must include alphanumeric characters with no punctuation other than a hyphen (-) or an underscore (_). Scale Description String displayed as a tooltip when the cursor hovers over the tool on the Tool Sets palette.
When you change the properties of a command in the Commands list, the command is updated for all user interface elements that reference the command. To create a custom command 1 At the Command prompt, enter cui and press Enter. 2 In the Customize dialog box, Commands tab, click Create New Command (+). A new command (named Command1) is added to the Commands list and properties for the new command are displayed in the Properties section.
■ In the Macro box, enter a macro for the command. ■ In the Image box, click the [ ] button to display the Select an Image File dialog box. Select the raster image you want to assign to the command, it should be 16x16 pixels To delete a command 1 At the Command prompt, enter cui and press Enter. 2 In the Customize dialog box, Commands tab, Commands list, select the command to delete. NOTE Commands assigned to a menu, tool set, shortcut key, or accelerator cannot be deleted.
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. Overview of Macros A macro can contain commands, special characters, DIESEL (Direct Interpretively Evaluated String Expression Language) or AutoLISP programming code.
Components in CIRCLE macro CIRCLE Command Starts the CIRCLE command \ Special control character Creates a pause for the user to specify the center point 1 Special control character Responds to the prompt for the circle's radius (1) For a list of special control characters that you can use in macros, see Use Special Control Characters in Macros on page 49. Cancel Running Commands Make sure that you have no AutoCAD for Mac commands in progress before you execute a macro.
■ If a line ends with a control character, a backslash (\), a plus sign (+), or a semicolon (;), AutoCAD for Mac does not add a blank space after it. An item that ends with a backslash (\) pauses a macro for user input. Compare the following macros: ucs ucs ; The first example enters ucs at the command prompt and presses Spacebar. The following prompt is displayed.
The macro for the Address command below uses the backslash (\) to pause for user input and the semicolon (;) for Enter. text \.4 0 DRAFT Inc;;;Main St.;;;City, State; The macro starts the TEXT command, pauses for the user to specify a start point, and then enters the address on three lines. In the triple semicolon (;;;), the first semicolon ends the text string, the second repeats TEXT, and the third accepts the default placement below the previous line.
Special characters used in macros Character Description ^G Turns Grid on or off (equivalent to Control-G) ^H Issues Backspace ^O Turns Ortho on or off ^P Turns MENUECHO on or off ^Q Echoes all prompts, status listings, and input to the printer ^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.
In the circle example, \1 pauses for the user to specify the center point and then reads a radius of 1. Note that there is no space after the backslash. -layer off \; In this example, the macro starts -LAYER at the Command prompt, enters the Off option (off), and then pauses for the user to enter a layer name (\). The macro then turns that layer off and exits the -LAYER command (;). NOTE LAYER normally prompts for another operation and exits only if you press Spacebar or Enter.
■ If the user responds by choosing another command (to supply options or to execute a transparent command), the original macro is suspended, and the newly selected item is processed to completion. Then, the suspended macro is resumed. 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.
Quick Reference Commands CUI Manages the customized user interface elements in the product. Use Built-in Commands in Macros To develop macros that use built-in commands that are part of AutoCAD for Mac, 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.
The macros in the following examples repeat the commands: *^C^Cmove Single *^C^Ccopy Single *^C^Cerase Single *^C^Cstretch Single Crossing *^C^Crotate Single *^C^Cscale Single 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 Conditional Expressions in Macros You can add conditional expressions to a macro by using a command that introduces macro expressions written in DIESEL (Direct Interpretively Evaluated String Expression Language). The format is: $M=expression Introducing the macro with $M= tells AutoCAD for Mac to evaluate a string as a DIESEL expression, and that expression is the DIESEL expression.
See also: ■ Use Special Control Characters in Macros on page 49 ■ DIESEL on page 71 Quick Reference Commands CUI Manages the customized user interface elements in the product. System Variables FILLMODE Specifies whether hatches and fills, 2D solids, and wide polylines are filled in. Use AutoLISP in Macros Creating commands that use AutoLISP is a more advanced way to use the AutoCAD for Mac customization feature.
The previous syntax works only if the menu macro is part of a menu that is on the AutoCAD for Mac menu bar and is available for use. For more information about this syntax, see the AutoLISP Reference.
Create Tooltips for Commands Tooltips are descriptive messages that are displayed near the cursor when it hovers over a tool set tool. The Description property associated to a command provides a simple description for what the command does. The value of the Description property is displayed as part of a basic tooltip that is displayed when the cursor hovers over a tool set tool. Along with the description, the name of the command is also displayed.
Customize User Interface Elements User interface elements in the Customize dialog box are used to control how standard and custom commands can be started. Quick Reference Commands CUI Manages the customized user interface elements in the product. Menus Menus are displayed on the Mac OS menu bar and are used to organize commands by general task. Overview of Menus Each menu can contain both standard and custom commands. Commands can be grouped with separators and sub-menus.
Create and Manage Pull-down Menus You can create pull-down menus, and add commands and sub-menus for display on the Mac OS menu bar. You can create and modify menus to display and organize the commands to best match the way you work. Commands are added to a menu from the Commands list in the Customize dialog box. Once commands are added to a menu, you can reposition commands, and organize commands using separators and sub-menus.
To create a sub-menu 1 At the Command prompt, enter cui and press Enter. 2 In the Customize dialog box, Menus tab, Menus list, expand the menu you want to add a sub-menu to. 3 Select the menu item you want to insert the new sub-menu after. 4 Click the Create Menu Element (+) button below the Menus list and click Add Sub-menu. A new sub-menu (named Sub-menu1) is created. The default name changes based on the number of sub-menus you previously created. 5 Enter a name for the new menu.
To change the display name for a pull-down menu, sub-menu, or command 1 At the Command prompt, enter cui and press Enter. 2 In the Customize dialog box, Menus tab, Menus list, select a menu, sub-menu, or menu item so it is highlighted. 3 You need to click in the Display Name column to edit the name displayed for a menu item. 4 Click the menu or menu item again to edit its name or display name. 5 Enter the new name and press Enter. To insert a separator 1 At the Command prompt, enter cui and press Enter.
To reposition a pull-down menu, sub-menu, command, or separator 1 At the Command prompt, enter cui and press Enter. 2 In the Customize dialog box, Menus tab, Menus list, select a menu, sub-menu, command, or separator item to reposition. 3 Click and drag the selected item to its new location in the Menus list. 4 Release the button on the pointer device when the menu or sub-menu is highlighted, or the desired location for the command is indicated by a horizontal line.
Quick Reference Commands CUI Manages the customized user interface elements in the product. TOOLSETS Opens the Tool Sets palette. Create and Manage Tool Sets Tool sets are created to organize tool groups on the Tool Sets palette. AutoCAD for Mac comes with three tool sets that are used to organize drafting, annotation, and modeling tools. You create and manage tool sets on the Tool Sets tab of the Customize dialog box.
Separators can be added to a flyout to help provide an additional level of organize. When a separator is added to a flyout, a solid horizontal line is created across the flyout when it is displayed. A separator can be added to a tool group, but it is used to control which commands and flyouts are displayed by default and those that are available only when the tool group is expanded. To create a tool set 1 At the Command prompt, enter cui and press Enter.
A new panel (named Panel1) is created. The default name changes based on the number of panels you previously created. 5 Enter a name for the new tool group. The name entered is displayed on the title bar of the tool group when it is expanded. 6 In the Commands list, drag a command to the new tool group. 7 Release the button on the pointer device when the tool group or flyout is highlighted, or the desired location is indicated by a horizontal line.
NOTE If you hold the cursor over a tool group or flyout, it will expand after a short interval of time. 4 Release the button on the pointer device when a tool group or flyout is highlighted, or the desired location is indicated by a horizontal line. For information about creating a command, see Create, Edit, and Reuse Commands on page 44. To insert a separator 1 At the Command prompt, enter cui and press Enter.
To reposition a tool group, flyout, command, or separator 1 At the Command prompt, enter cui and press Enter. 2 In the Customize dialog box, Tool Sets tab, Tool Sets list, select a tool group, flyout, command, or separator to reposition. 3 Click and drag the selected item to its new location in the Tool Sets list. 4 Release the button on the pointer device when the tool group or flyout is highlighted, or the desired location is indicated by a horizontal line.
70
DIESEL 5 Because DIESEL expressions handle strings exclusively, the USERS1-5 system variables are useful for passing information from an AutoLISP routine to a DIESEL expression. DIESEL expressions are evaluated by AutoLISP routines through the use of the AutoLISP menucmd function. DIESEL Expressions in Macros You can use DIESEL string expressions in customization (CUI) files as an additional method of creating macros.
transparently, not requiring the call to the AutoLISP princ function. If the special character ^P (which switches MENUECHO on and off) is omitted in both cases, the DIESEL expression displays only the issued command, whereas the AutoLISP expression displays the entire line of code. Because the value returned by a DIESEL expression is a text string, it can be used in response to an AutoLISP getxxx function call.
The following is a sample AutoLISP routine. (defun C:SYMIN ( ) (setq sym (getstring "\nEnter symbol name: ") ; Prompts for a symbol name ) (menucmd "s=symsize") ; Switches the screen menu ; to the symsize submenu (setq siz (getreal "\nSelect symbol size: ") ; Prompts for a symbol size p1 (getpoint "\nInsertion point: ") ; Prompts for insertion point ) (command "insert" ; Issues the INSERT command sym ; using the desired symbol p1 siz siz 0) ; insertion point, and size (menucmd "s=") ; Switches to the previo
The result is that the appropriate pull-down menu is displayed and updated whenever the current layer changes. Current Layer: BASE You can also use this method to interactively change the text displayed in a pull-down menu. You use an AutoLISP routine that sets the USERS1-5 system variables to the selected text, which can be retrieved by a DIESEL macro in a menu label. NOTE The width of pull-down and shortcut menus is determined when the customization file is being loaded.
Quick Reference System Variables MENUECHO Sets menu echo and prompt control bits. USERS1-5 Provides storage and retrieval of text string data. Catalog of DIESEL Functions Status retrieval, computation, and display are performed by DIESEL functions. All functions have a limit of 10 parameters, including the function name itself. If this limit is exceeded, you get a DIESEL error message. + (addition) Returns the sum of the numbers 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. / (division) Returns the result of dividing the number val1 by 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. < (less than) If the number val1 is less than val2, the string returns 1; otherwise, it returns 0. $(< , val1, val2) The following expression gets the current value of HPANG; if the value is less than the value stored in the system variable USERR1, it returns 1. If the value 10.0 is stored in USERR1 and the current setting of HPANG is 15.5, the following string returns 0.
!= (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. <= (less than or equal to) If the number val1 is less 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.
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. angtos Returns the angular value in the format and precision specified. $(angtos, value [, mode, precision]) Edits the given value as an angle in the format specified by the mode and precision as defined for the analogous AutoLISPfunction.
Angular units values Mode value String format 3 Radians 4 Surveyor's units Quick Reference System Variables MENUECHO Sets menu echo and prompt control bits. edtime Returns a formatted date and time based on a given picture. $(edtime, time, picture) Edits the AutoCAD for Mac Julian date given by time (obtained, for example, from $(getvar,date) according to the given picture). The picture consists of format phrases replaced by specific representations of the date and time.
edtime format phrases Format Output Format Output 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. If any AM/PM phrases appear in the picture, the H and HH phrases edit the time according to the 12-hour civil clock (12:00-12:59 1:00-11:59) instead of the 24-hour clock (00:00-23:59).
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. Assume the string "PART12" is stored in USERS1 and the current layer is the same. $(eq, $(getvar,users1),$(getvar,clayer))Returns 1 Quick Reference System Variables MENUECHO Sets menu echo and prompt control bits.
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 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. index Returns the specified member of a comma-delimited string. $(index, which, string) Assumes that the string argument contains one or more values delimited by the macro argument separator character, the comma.
while $(index) extracts a value from a comma-delimited string passed as a single argument. Arguments not selected by which are not evaluated. Quick Reference System Variables MENUECHO Sets menu echo and prompt control bits. or Returns the bitwise logical OR of the integers val1 through val9. $(or, val1 [, val2,…, val9]) Quick Reference System Variables MENUECHO Sets menu echo and prompt control bits. rtos Returns the real value in the format and precision specified.
Quick Reference System Variables MENUECHO Sets menu echo and prompt control bits. strlen Returns the length of string in characters. $(strlen, string) Quick Reference System Variables MENUECHO Sets menu echo and prompt control bits. substr Returns the substring of string, starting at character start and extending for length characters. $(substr, string, start [, length]) Characters in the string are numbered from 1. If length is omitted, it returns the entire remaining length of the string.
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. $(xor, val1 [, val2,…, val9]) Quick Reference System Variables MENUECHO Sets menu echo and prompt control bits. DIESEL Error Messages Generally, if you make a mistake in a DIESEL expression, what went wrong will be obvious.
DIESEL error messages Error message Description $(func)?? Unknown function func $(++) Output string too long—evaluation truncated Quick Reference System Variables MENUECHO Sets menu echo and prompt control bits.
Command Scripts 6 A script reads and executes commands from a text file. You can run a script when you start AutoCAD for Mac®, or you can run a script from within AutoCAD for Mac using the SCRIPT command. 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 automate repetitive tasks. Overview of Command Scripts A script is a text file with one command on each line.
A script can execute any command at the command prompt except a command that displays a dialog box. In most cases, a command that displays a dialog box has an alternative version of the command that displays command prompts instead of a dialog box. Script files can contain comments. Any line that begins with a semicolon (;) is considered a comment, and it is ignored while the script file is being processed. The last line of the file must be blank.
The script file may contain comments, as follows: ; Turn grid on grid on ; Set scale for linetypes ltscale 3.0 ; Set current layer and its color layer set 0 color red 0 ; Blank line above to end LAYER command Quick Reference Commands DELAY Provides a timed pause within a script. RESUME Continues an interrupted script. RSCRIPT Repeats a script file. SCRIPT Executes a sequence of commands from a script file. Run Scripts at Startup A script that runs at startup can open a drawing and change its settings.
version of LAYER command that displays command prompts rather than the palette version. The result is equivalent to entering -layer at the command prompt. The fourth line is blank, ending LAYER. You could run a script at startup to open a drawing by using the following syntax in the Terminal: AutoCAD drawing_name -b setup All file names that contain embedded spaces must be enclosed in double quotes, for example, “guest house”. Including the file extensions .exe, .dwg, .dwt, and .scr is optional.
Introduction to Programming Interfaces 7 The programming interfaces introduced here are AutoLISP®, and ObjectARX™. The type of interface you use depends on your application needs and programming experience. AutoLISP AutoLISP is based on the LISP programming language, which is simple to learn and very powerful. Because AutoCAD for Mac has a built-in LISP interpreter, you can enter AutoLISP code at the command prompt or load AutoLISP code from external files.
AutoLISP provides two file formats for 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. NOTE Like-named AutoLISP application files are loaded based on their Modified time stamp; the LSP or FAS file with the most recent time stamp is loaded unless you specify the full file name (including the file name extension).
Use AutoLISP Applications See also: ■ Overview of File Organization on page 3 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 .lsp extension. These files generally have a header portion that describes a routine, its use, and any specific instructions.
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. Quick Reference Commands APPLOAD Loads and unloads applications and defines which applications to load at startup. Automatically Load and Run AutoLISP Routines You can load AutoLISP routines each time you run AutoCAD for Mac. You can also execute certain commands or functions at specific times during a drawing session.
Command Autoloader When you automatically load a command using the load or command functions, the command's definition takes up memory whether or not you actually use the command. The AutoLISP autoload function makes a command available without loading the entire routine into memory. Adding the following code to your acaddoc.lsp file automatically loads the commands CMD1, CMD2, and CMD3 from the cmds.lsp file and the NEWCMD command from the newcmd.lsp file.
■ Prevent AutoLISP Errors When Loading Startup Files on page 100 You can create an acad.lsp file if you regularly use specific AutoLISP routines. When you start AutoCAD for Mac, 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.lsp file is loaded at each drawing session startup when AutoCAD for Mac is launched. Because the acad.
The ACADDOC.LSP File See also: ■ Overview of File Organization on page 3 ■ Prevent AutoLISP Errors When Loading Startup Files on page 100 The acaddoc.lsp file is intended to be associated with each document (or drawing) initialization. This file is useful if you want to load a library of AutoLISP routines to be available every time you start a new drawing (or open an existing drawing). Each time a drawing opens, AutoCAD for Mac searches the library path for an acaddoc.lsp file.
System Variables ACADLSPASDOC Controls whether the acad.lsp file is loaded into every drawing or just the first drawing opened in a session. Prevent AutoLISP Errors When Loading Startup Files See also: ■ S::STARTUP Function: Postinitialization Execution on page 101 If an AutoLISP error occurs while you are loading a startup file, the remainder of the file is ignored and is not loaded.
S::STARTUP Function: Postinitialization Execution You can define an S::STARTUP function to perform any needed setup operations after the drawing is initialized. The startup LISP files (acad.lsp and acaddoc.lsp) are all loaded into memory before the drawing is completely initialized. Typically, this does not pose a problem, unless you want to use the command function, which is not guaranteed to work until after a drawing is initialized. If the user-defined function S::STARTUP is included in an acad.
The following example shows one method of ensuring that your startup function works with other functions. (defun-q MYSTARTUP ( ) ... your startup function ... ) (setq S::STARTUP (append S::STARTUP MYSTARTUP)) The previous code appends your startup function to that of an existing S::STARTUP function and then redefines the S::STARTUP function to include your startup code. This works properly regardless of the prior existence of an S::STARTUP function.
Use ObjectARX Applications See also: ■ Overview of File Organization on page 3 To load an ObjectARX application, you use the Load option of the ARX command. After loading, all commands defined by this application are available at the command prompt. Some ObjectARX applications use large amounts of system memory. If you are finished using an application and want to remove it from memory, use the Unload option of ARX. You can also load an ObjectARX application with the arxload AutoLISP function.
Using the arxunload function not only removes the application from memory but also removes the command definitions associated with that application. Quick Reference Commands ARX Loads, unloads, and provides information about ObjectARX applications.
Shapes and Shape Fonts 8 With AutoCAD for Mac®, 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.
Compile PostScript Fonts To use a Type 1 PostScript font in AutoCAD for Mac, you must first compile it into an AutoCAD for Mac 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 for Mac cannot compile and load every Type 1 font. The PostScript font facilities in AutoCAD for Mac 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 for Mac 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 for Mac 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 for Mac. 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 for Mac 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.
2,8,(0,-10),0 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. TEXT Creates a single-line text object. Sample Files This topic contains sample files that help extend the font characters provided with AutoCAD for Mac.
Extended Simplex Roman 122 | 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 150 | 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 for Mac supports a special form of shape definition file called a Big Font file.
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 for Mac 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 height Used along with character width to indicate the number of units that define the font characters. 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.
Fields of the extended Big Font file Variable Value Byte size Description code 7,0 2 bytes Extended font definition primitive# xxxx 2 bytes Refer to subshape number 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 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 K
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 | 175
*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 for Mac assumes that the first name is the normal font and that the second is the big font. If you enter only one name, AutoCAD for Mac 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.
Use a Big Font to Extend a Font To include special symbols in text strings, you can use a Big Font instead of extending a standard text font. In some drafting disciplines, many special symbols can appear in text strings. The AutoCAD for Mac 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.
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. 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 for Mac shape definition files.
the code 7 is interpreted as a two-byte value. This affects the total number of data bytes (defbytes) in the shape description header. For example, the following shape description is found in the romans.shp file: *00080,4,keuroRef 7,020AC,0 The second field in the header represents the total number of bytes in the shape description.
needs to recognize four new keys: two for superscripts and two for subscripts. To avoid altering the existing font definitions, you can access these with the numeric keypad on your keyboard. To add superscript and subscript definitions to a font This example procedure is based on the AutoCAD for Mac Romans font file, although a similar method applies to any AutoCAD for Mac font.
character in this font, which is the correct approximation for superscripts and subscripts. This value needs to be calculated for each font file, but you can modify it any way you want. 5 Save the file. 6 Use the COMPILE command to compile the SHP file. Once the shape is compiled and an appropriate style is defined, you can access the new pen-up and pen-down commands by entering the [, ], {, and } characters. The [ character initiates superscript and the ] character returns from superscript to normal.
184
Index text styles and A acad.lsp file 98 acaddoc.lsp file 99 addition DIESEL function 75 aliases creating for commands 16 alignment linetype patterns 21 alternate font mapping files 12 and DIESEL function 79 angtos DIESEL function 79 applications AutoLISP 94 ObjectARX 102 Visual LISP 94 AutoCAD customization 1 AutoCAD Runtime Extension 102 AutoLISP (LSP) applications about 94 acad.lsp file 98 acaddoc.
script commenting 90 compiling shape or font files 105 conditional expressions in macros 56 configuration files (plotters) locating 12 configuration files (pointing devices) locating 12 control characters in macros 50 copyright restrictions on fonts 106 custom icon files 12 customization about 1 customization files (CUI) DIESEL expressions in 71 directory structure and 4 Customize dialog box about 41 customizing about customization 41 AutoCAD functions and features 1 commands 43 Customize dialog box 41 glos
DWT files locating 15 E echoes in macros 49 editing commands 44 edtime DIESEL function 80 eq DIESEL function 82 equal to DIESEL function 76 error messages AutoLISP 100 DIESEL 88 errors AutoLISP errors 100 eval DIESEL function 82 extended Big Font files 171 extended help 59 F FAS files 94 fields (font definition files) Big Font files 171 shape font files 107 files locations 3 maintenance 6 roaming profiles and 10 fix DIESEL functions 82 flyouts tool groups 65 FMP files (font mapping) 12 folders file locat
K Kanji fonts 170–171 keyboard input in macros 52 L languages Big Fonts 171 macro translations 54 special character codes 170 less than DIESEL function 77 less than or equal to DIESEL function 78 library search path 4 LIN files (linetype library) 12, 19 linetypes about 19 complex 27 creating 20 customizing 19 examples 20 including shapes in 27 simple 20 text characters in 24 loading AutoLISP applications 95–96, 98–99 ObjectARX applications 103 LSP files (AutoLISP) 94–95 M macros about 47 AutoLISP express
patterns linetypes 22 pausing macros 49, 52 PFB files (printer font binary) 106 PGP files (program parameters) 12 plot styles locating files 11 plotter configuration files locating files 11 PostScript fonts 106 prefixes for commands 17 profiles 10 program file locations 3 programming applications AutoLISP 94 ObjectARX 102 Visual LISP 94 prompts suppressing 49 user input in macros 58 properties commands 43 PSF files 12 R repeating commands 54 ribbon command images 59 roaming profiles 10 rtos DIESEL function
syntax macros 47 shape fonts 107 Unicode shape definition files 180 system variables AutoLISP functions and 94 toggling values with macros 56 T templates locating files 15 terminating macros 48 text including in linetypes 24 shape fonts 105 text styles Big Fonts and 177 textures locating files 16 time edtime DIESEL function 80 tool groups customizing 64 drop-downs on 65 flyouts on 65 tool sets customizing 64 drop-downs 65 flyouts 65 toolbars command images 59 tooltips command Help in 59 translating macros