AutoCAD 2002 Bible

Скачать в pdf «AutoCAD 2002 Bible»


Getting Help in Visual LISP………………………1087


Working with AutoLISP Expressions …………………1088


Understanding AutoLISP syntax ………………..1089


Working with numbers and text…………………1089


Using AutoLISP on the Command Line………………..1092


Creating AutoLISP Files………………………..1093


Chapter 35: Exploring AutoLISP Further…………….1097


Creating Variables…………………………..1097


Working with AutoCAD Commands………………….1098


Accessing AutoCAD commands…………………1098


Creating functions ……………………….1099


Creating functions with arguments……………….1102


Working with system variables…………………1104


Working with Lists…………………………..1106


Using lists for coordinates……………………1106


Creating dotted pairs………………………1107


Setting Conditions…………………………..1108


Conditional structures……………………..1108


Loop structures…………………………1110


Managing Drawing Objects………………………1113


Getting information about an object………………1113


Modifying objects………………………..1116


Creating selection sets……………………..1116


Getting Input from the User……………………..1120


Putting on the Finishing Touches…………………..1122


Chapter 36: Exploring Advanced AutoLISP Topics……….1127


Understanding Local and Global Variables………………1127


Working with Visual LISP ActiveX Functions……………..1129


Reviewing AutoLISP retrieval and modification…………1129


Using ActiveX with Visual LISP…………………1134


Debugging Code……………………………1138


Using the Error trace window………………….1140


Working with break points……………………1140


Using the Watch window…………………….1144


Chapter 37: Programming with Visual Basic for Applications . . . 1147


Starting to Work with VBA………………………1147


Opening the VBA environment…………………1148


Getting acquainted with VBA………………….1149


Investigating the Hierarchy Model……………….1150


Getting help…………………………..1153


Writing VBA Code…………………………..1154


Looking at VBA syntax……………………..1155


Saving a VBA routine………………………1157


Loading a VBA routine……………………..1158


Running a VBA routine……………………..1158


Using the Visual Basic Editor………………….1158


Understanding variables…………………….1161


Creating VBA statements ……………………1163


Getting User Input…………………………..1164


Creating Dialog Boxes…………………………1167

Скачать в pdf «AutoCAD 2002 Bible»