Preface | p. xi |
Dedication | p. xv |
Template Drawings | |
Creating Template Drawings | p. 2 |
The Standard Template Drawings | p. 2 |
Loading a Template Drawing | p. 8 |
Customizing Drawings with Layers and Dimensioning Specifications | p. 10 |
Customizing a Drawing with Layout | p. 15 |
Customizing Drawings with Viewports | p. 18 |
Customizing Drawings According to Plot Size and Drawing Scale | p. 21 |
Script Files and Slide Shows | |
What are Script Files? | p. 2 |
Running Script Files | p. 4 |
Repeating Script Files | p. 10 |
Introducing Time Delay in the Script Files | p. 11 |
Resuming the Script Files | p. 12 |
Command Line Switches | p. 12 |
Invoking a Script File While Loading AutoCAD | p. 12 |
What Is a Slide Show? | p. 22 |
What are Slides? | p. 22 |
Creating Slides | p. 22 |
Viewing Slides | p. 24 |
Preloading Slides | p. 26 |
Slide Libraries | p. 28 |
Slide Shows with Rendered Images | p. 32 |
Creating Linetypes and Hatch Patterns | |
Standard Linetypes | p. 2 |
Linetype Definition | p. 2 |
Elements of Linetype Specification | p. 3 |
Creating Linetypes | p. 3 |
Alignment Specification | p. 9 |
LTSCALE Command | p. 10 |
LTSCALE Factor for Plotting | p. 12 |
Current Linetype Scaling (CELTSCALE) | p. 13 |
Alternate Linetypes | p. 14 |
Modifying Linetypes | p. 15 |
Complex Linetypes | p. 18 |
Creating a String Complex Linetype | p. 18 |
Hatch Pattern Definition | p. 26 |
How Hatch Works | p. 29 |
Simple Hatch Pattern | p. 29 |
Effect of Angle and Scale Factor on Hatch | p. 30 |
Hatch Pattern with Dashes and Dots | p. 31 |
Hatch with Multiple Descriptors | p. 34 |
Saving Hatch Patterns in a Separate File | p. 39 |
Custom Hatch Pattern File | p. 39 |
Customizing the ACAD.PGP File | |
What is the ACAD.PGP File? | p. 2 |
Sections of the ACAD.PGP File | p. 8 |
Reinitializing ACAD.PGP File | p. 11 |
Pull-down, Shortcut, and Partial Menus and Customizing Toolbars | |
AutoCAD Menu | p. 2 |
Standard Menus | p. 3 |
Writing a Menu | p. 3 |
Loading Menus | p. 10 |
Restrictions | p. 12 |
Cascading Submenus in Menus | p. 13 |
Shortcut and Context Menus | p. 19 |
Submenus | p. 23 |
Loading Screen and Image Tile Menus | p. 24 |
Partial Menus | p. 28 |
Accelerator Keys | p. 33 |
Toolbars | p. 35 |
Menu-Specific Help | p. 40 |
Customizing the Toolbars | p. 40 |
Image Tile Menus | |
Image Tile Menus | p. 2 |
Submenus | p. 3 |
Writing an Image Tile Menu | p. 4 |
Slides for Image Tile Menus | p. 4 |
Loading Menus | p. 10 |
Restrictions | p. 11 |
Image Tile Menu Item Labels | p. 12 |
Button and Auxiliary Menus | |
Button Menus | p. 2 |
Writing Button Menus | p. 2 |
Special Handling for Button Menus | p. 6 |
Submenus | p. 9 |
Loading Menus | p. 10 |
Auxiliary Menus | p. 13 |
Tablet Menus | |
Standard Tablet Menu | p. 2 |
Features of a Tablet Menu | p. 3 |
Customizing a Tablet Menu | p. 3 |
Writing a Tablet Menu | p. 4 |
Tablet Configuration | p. 7 |
Loading Menus | p. 8 |
Tablet Menus with Different Block Sizes | p. 10 |
Assigning Commands to a Tablet | p. 13 |
Automatic Menu Swapping | p. 14 |
Screen Menus | |
Screen Menu | p. 2 |
Loading Menus | p. 6 |
Submenus | p. 8 |
Multiple Submenus | p. 16 |
Long Menu Definitions | p. 31 |
Menu Command Repetition | p. 33 |
Automatic Menu Swapping | p. 34 |
Menuecho System Variable | p. 34 |
Menus for Foreign Languages | p. 35 |
Use of Control Characters in Menu Items | p. 35 |
Special Characters | p. 36 |
Command Definition Without Enter and Space | p. 38 |
Menu Items with Single Object Selection Mode | p. 39 |
Use of AutoLISP in Menus | p. 40 |
DIESEL Expressions in Menus | p. 41 |
Customizing the Standard AutoCAD Menu | |
The Standard AutoCAD Menu | p. 2 |
Submenus | p. 21 |
Customizing Tablet Area-1 | p. 23 |
Submenus | p. 29 |
Customizing Tablet Area-2 | p. 33 |
Customizing Tablet Area-3 | p. 34 |
Customizing Tablet Area-4 | p. 36 |
Customizing Buttons and Auxiliary Menus | p. 38 |
Customizing Pull-Down and Shortcut Menus | p. 44 |
Cascading Submenus in Menus | p. 44 |
Shortcut Menus | p. 48 |
Submenus | p. 49 |
Customizing Image Tile Menus | p. 49 |
Submenus | p. 50 |
Image Tile Menu Item Labels | p. 51 |
Customizing the Screen Menu | p. 54 |
Submenus | p. 54 |
Shapes and Text Fonts | |
Shape Files | p. 2 |
Shape Description | p. 2 |
Vector Length and Direction Encoding | p. 3 |
Special Codes | p. 6 |
Standard Codes | p. 6 |
End of Shape Definition | p. 7 |
Activate Draw Mode | p. 7 |
Deactivate Draw Mode | p. 7 |
Divide Vector Lengths by Next Byte | p. 10 |
Multiply Vector Lengths by Next Byte | p. 10 |
Location Save/Restore | p. 10 |
Subshape | p. 12 |
X-Y Displacement | p. 12 |
Multiple X-Y Displacements | p. 12 |
Octant Arc | p. 12 |
Fractional Arc | p. 13 |
Arc Definition by Displacement and Bulge | p. 15 |
Multiple Bulge-Specified Arc | p. 16 |
Flag Vertical Text | p. 16 |
Text Font Files | p. 20 |
Working with AutoLISP | |
About AutoLISP | p. 2 |
Mathematical Operations | p. 2 |
Incremented, Decremented, and Absolute Numbers | p. 4 |
Trigonometric Functions | p. 5 |
Relational Statements | p. 7 |
defun, setq, getpoint, and Command Functions | p. 9 |
Loading an AutoLISP Program | p. 14 |
getcorner, getdist, and setvar Functions | p. 17 |
list Function | p. 21 |
car, cdr, and cadr Functions | p. 21 |
graphscr, textscr, princ, and terpri Functions | p. 23 |
getangle and getorient Functions | p. 27 |
getint, getreal, getstring, and getvar Functions | p. 30 |
polar and sqrt Functions | p. 31 |
itoa, rtos, strcase, and prompt Functions | p. 35 |
Flowcharts | p. 40 |
Conditional Functions | p. 40 |
Working with Visual LISP | |
Visual LISP | p. 2 |
Overview of Visual LISP | p. 2 |
Starting Visual LISP | p. 2 |
Using the Visual LISP Text Editor | p. 3 |
Visual LISP Console | p. 7 |
Using the Visual LISP Text Editor | p. 11 |
Visual LISP Formatter | p. 13 |
Debugging the Program | p. 17 |
General Recommendations for Writing the LISP File | p. 19 |
Tracing Variables | p. 31 |
Visual LISP Error Codes and Messages | p. 32 |
Visual LISP: Editing the Drawing Database | |
Editing the Drawing Database | p. 2 |
ssget | p. 2 |
ssget "X" | p. 4 |
Group Codes for ssget "X" | p. 5 |
sslength | p. 6 |
ssname | p. 6 |
ssadd | p. 7 |
ssdel | p. 7 |
entget | p. 8 |
assoc | p. 8 |
cons | p. 9 |
subst | p. 9 |
entmod | p. 9 |
Retrieving and Editing the Database | p. 11 |
Some More Functions to Retrieve Entity Data | p. 13 |
Programmable Dialog Boxes Using the Dialog Control Language | |
Dialog Control Language | p. 2 |
Dialog Box | p. 2 |
Dialog Box Components | p. 3 |
Button and Text Tiles | p. 5 |
Tile Attributes | p. 5 |
Predefined Attributes | p. 6 |
key, label, and is_default Attributes | p. 7 |
fixed_width and alignment Attributes | p. 9 |
Loading a DCL File | p. 10 |
Displaying a New Dialog Box | p. 11 |
Use of Standard Button Subassemblies | p. 13 |
AutoLISP Functions | p. 14 |
Managing Dialog Boxes with AutoLISP | p. 15 |
Row and Boxed Row Tiles | p. 18 |
Column, Boxed Column, and Toggle Tiles | p. 18 |
Mnemonic Attribute | p. 19 |
AutoLISP Functions | p. 22 |
Predefined Radio Button, Radio Column, Boxed Radio Column, and Radio Row Tiles | p. 27 |
Edit Box Tile | p. 34 |
width and edit_width Attributes | p. 34 |
Slider and Image Tiles | p. 38 |
AutoLISP Functions | p. 42 |
DIESEL: A String Expression Language | |
DIESEL | p. 2 |
Status Line | p. 3 |
MODEMACRO System Variable | p. 3 |
Customizing the Status Line | p. 4 |
Macro Expressions Using DIESEL | p. 4 |
Using AutoLISP with MODEMACRO | p. 7 |
Diesel Expressions in Menus | p. 8 |
MACROTRACE System Variable | p. 10 |
Diesel String Functions | p. 11 |
Visual Basic for Application | |
About Visual Basic | p. 2 |
Visual Basic for Application | p. 2 |
Using VBA in AutoCAD | p. 2 |
Objects in VBA | p. 7 |
Add Methods | p. 9 |
Using the AddCircle Method to Draw a Circle | p. 9 |
Using the AddLine Method to Draw a Line | p. 10 |
Using the AddArc Method to Draw an Arc | p. 10 |
Using the AddText Method to Write Text | p. 11 |
Finding Help on Methods and Properties | p. 11 |
Loading and Saving VBA Projects | p. 13 |
Getting User Input | p. 17 |
GetPoint Method | p. 17 |
GetDistance Method | p. 17 |
GetAngle Method | p. 18 |
PolarPoint and AngleFromXAxis Methods | p. 22 |
PolarPoint Method | p. 22 |
AngleFromXAxis | p. 23 |
Additional VBA Examples | p. 28 |
Accessing External Database | |
Understanding Database | p. 2 |
AutoCAD Database Connectivity | p. 3 |
Database Configuration | p. 4 |
DBCONNECT MANAGER | p. 4 |
Viewing and Editing Table Data from AutoCAD | p. 6 |
Creating Links with Graphical Objects | p. 9 |
Creting Labels | p. 13 |
AutoCAD SQL Environment (ASE) | p. 18 |
AutoCAD Query Editor | p. 19 |
Forming Selection Sets Using the Link Select | p. 24 |
Conversion of ASE Links to AutoCAD 2004 Format | p. 26 |
Geometry Calculator | |
Geometry Calculator | p. 2 |
Real, Integer, and Vector Expressions | p. 2 |
Numeric Functions | p. 3 |
Using Snap Modes | p. 4 |
Obtaining the Radius of an Object | p. 5 |
Locating a Point on a Line | p. 6 |
Obtaining an Angle | p. 7 |
Locating the Intersection Point | p. 9 |
Applications of the Geometry Calculator | p. 10 |
Using AutoLISP Variables | p. 12 |
Filtering X, Y, and Z Coordinates | p. 14 |
Converting Units | p. 15 |
Additional Functions | p. 15 |
Index | |
Table of Contents provided by Ingram. All Rights Reserved. |