Tailoring AutoLISP-DCL-Diesel

By: Ralph Grabowski
Find out more about Tailoring AutoLISP-DCL-Diesel

Try before you buy

» Download this trial
  

Other Related Links
» AutoCAD Learning Series
» Tailoring AutoCAD 2007




Screenshots

Click thumbnails to enlarge


Chapter 1



Chapter 2



Chapter 3



Chapter 4



Chapter 5



Chapter 6



Chapter 7


New programmers book update for AutoCAD 2007-2008!

Tailoring AutoLISP - DCL -Diesel “mini” e-books for programming AutoCAD, from Release 13 - 2008. The new 180-page book is updated for AutoCAD 2007& 2008.

Learn AutoCAD LISP & Diesel!

Just released! Tailoring AutoLISP - DCL -Diesel is a brand new AutoCAD Book by Ralph Grabowski. With eight clearly written chapters you will learn all about AutoCAD AutoLISP - DCL -Diesel language .

This book is suitable for all releases of AutoCAD up to 2008!

Quickly learn AutoCAD programming using this easy to follow 180-page e-book. This book provides a hands-on approach to AutoCAD Lisp, DLC and Diesel programing by Ralph Grabowski. This e-book will give you a more in depth resource than what you get with Autodesk’s documentation.

AutoCAD Programming book’s features

Click to explore complete AutoCAD Ebook Series



  • Introduction to the AutoLISP.
  • Step-by-step tutorials
  • How to write useful code w/ LISP
  • What is DCL?
  • All about DCL tiles & attributes
  • Reference of AutoLISP functions
  • Understanding Diesel.
  • Using Diesel in menu & toolbars!
  • Using Diesel with AutoLISP





As with all Ralph Grabowski’s PDF books:

  • All illustrations in full color.
  • Formatted for printing on standard 8.5×11 paper.
  • Margins designed for three-hole punching.

Table Of Contents For:
Tailoring AutoLISP-DCL-Diesel


Note that chapters 1, 2, 3, 6, and 7 appeared previously in Tailoring AutoCAD 2006.

Chapter 1: Introduction to Autolisp

A Brief History of AutoLISP, Starting AutoLISP: Adding Two Numbers, AutoLISP in Commands, Remembering the Result: SetQ, Guided Tour of AutoLISP Functions, Math Functions, Geometric Functions, Conditional Functions, String and Conversion Functions, External Command Functions, Accessing System Variables, GetXXX Functions, Selection Set Functions, Object Manipulation Functions, Advanced AutoLISP Functions

Chapter 2: Your first Autolisp program

Why Write Programs?, The Id Command, Planning the Attack, Obtaining the Coordinates, Placing the Text, Putting Them Together, An Alternative to LISP Programming, Sprucing Up Code, Conquering Feature Bloat, Wishlist Item #1: Naming AutoLISP Programs, Wishlist Item #2: Saving AutoLISP Programs to Disk, Wishlist Item #3: Automatically Loading AutoLISP Programs, Wishlist #4: Using Car and Cdr, Saving Data to Files, Three Steps to Writing Data Files, Step 1: Opening Files, Step 2: Writing Data to Files, Step 3: Closing Files, Putting It Together, Wishlist #5: Specifying Layers, Wishlist #6: Setting the Text Style

Chapter 3: Concise LISP Function Reference

AutoLISP Functions, Others, Constant, VisualLisp Functions, VisualLISP/ActiveX Functions, VisualLIPS Reactor Functions

chapter 4: Introduction to DCL

History of DCL, What Dialog Boxes Are Made Of, Your First DCL File, DCL Programming Structure, Start Dialog Box Definition, Dialog Box Title, OK Button, Basic LISP Code to Load and Run Dialog Boxes, Testing the DCL Code, Displaying System Variable Data, Adding the Complimentary LISP Code, Clustering Text, Supplying the Variable Text, Leaving Room for Variable Text, Fixing the Button Width, Centering the Button, Testing the Dialog Box, Defining the Command

Examples of DCL Coding, Buttons, Making Buttons Work, Check Boxes, Radio Buttons, Clusters, Columns and Rows, Boxed Row, Boxed Row with Label, Special Tiles for Radio Buttons

Debugging DCL, Dcl_Settings, DCL Error Messages, Semantic error(s) is DCL file, Dialog has neither an OK nor a CANCEL button, Error in dialog file “filename.dcl”, line n, Dialog too large to fit on screen, Additional Resources

Chapter 5: DCL reference

Alphabetical Summary of DCL Tiles, Alphabetical Summary of DCL Attributes, Tile Reference, Dialog, Name, Label, Initial Focus, Key, Exiting Dialog Boxes, Button, Label, Mnemonic , Action, Key, Is_Cancel, Is_Default, Is_Enable, Is_Tab_Stop, Width & Height, Fixed_Height & Fixed_Width, Alignment, Prefabricated Button Assemblies, Ok_Only, Ok_Cancel, Ok_Cancel_Help, Ok_Cancel_Help_Errtile, Ok_Cancel_Help_Info, Radio_Button, Label, Value, Multiple Radio Buttons, Toggle, Label, Value, Other Attributes, Image_Button, Key, Aspect_Ratio, Height, & Width , Color, Edit_Box, Label, Mnemonic , Value, Password_Char, Fixed_Width_Font, Edit_Limit, Edit_Width, Other Attributes, List_Box, List, Tabs, Tab_Truncate, Fixed_Width_Font, Value, Multiple_Select, Height, Width, Other Attributes, Popup_List, Label, Mnemonic, List, Tabs, Tab_Truncate, Value , Other Attributes, Slider, Label & Mnemonic , Layout, Max_Value , Min_Value, Big_Increment, Small_Increment, Value, Height, Width, Fixed_Height & Fixed Width, Alignment, Text, Label, Value, is_bold, height & width, Fixed_Height & Fixed Width, Alignment, Text_Part, Concatenation, Paragraph, Errtile, Spacer, Spacer_0, Spacer_1, Image, Key, Value and Mnemonic , Color , Aspect_Ratio, Height, & Width , Column, Label, Height & Width, Children_Fixed_Height, Children_Fixed_Width, & Children_Alignment, Boxed_Column, Radio-Column & Boxed_Radio_Column, Value, Row & Boxed_Row, Other Attributes, Radio_Row & Boxed_Radio_Row, Value, Base.Dcl, Normal Default Widget,

Styles of Clusters, Styles of Radio Clusters, Horizontal and Vertical Blocks of Running Text, Pre-built Arrays of Dialog Buttons, Top and Bottom Subassemblies, Color Selection, Common Spacers, Dialog Retirement Buttons, Audit Level, Error Reporting Tiles, Miscellaneous , Primitive Widgets, Acad.Dcl

AutoLISP Functions for Dialog Boxes, Alphabetical List of AutoLISP Functions for Dialog Boxes, Dialog Boxes Displayed by AutoLISP Functions, Load_Dialog, New_Dialog, Start_Dialog, Done_Dialog, Term_Dialog, Unload_Dialog, Get_Tile, Set_Tile, Get_Attr, Mode_Tile, Action_Tile, Client_Data_Tile, Start_List, Add_List, End_List, Start_Image, Slide_Image, Fill_Image, Vector_Image, DimX_Tile & DimY_Tile, End_Image, Dialog Boxes Displayed by AutoLISP Functions, Alert, Help, Acad_HelpDlg, AcadColorDlg, Acad_TrueColorDlg, InitDia

Chapter 6: Introduction to Diesel

Is Diesel a Programming Language? , The History of Diesel, What Diesel Does, Concise List of Diesel Functions, Math Functions, Logic Functions, Numeric Conversion Functions, String (Text) Functions, System Functions, ModeMacro: Displaying Text on the Status Bar, Reporting Values of System Variables , Error Messages, $? , $(functionName)?? , $(functionName,??) , $(++) , Debugging Diesel, Using Variables

Diesel Functions, Math Functions, + (Addition), - (Subtraction), * (Multiplication), / (Division), Logic Functions, = (Equal), < (Less than), > (Greater Than), != (Not Equal), <= (Less Than or Equal), >= (Greater Than or Equal), and (Logical Bitwise AND), eq, if, or (Logical Bitwise Or), xor (Logical Bitwise Xor), Conversion Functions, angtos, fix, rtos, String Functions, index, nth, strlen, substr, upper, System Functions, edtime, eval, getenv, getvar, linelen, Diesel Programming Tips

Chapter 7: Diesel in menus and Lisp

Parsing the Name Macro, $(if, … !.), $(eq, … 1),, $(getvar,attmode),, &Normal, Parsing Diesel in Macros, Bitcode Macros, Diesel in AutoLISP, Via the Setvar Function, Concatenate Two Diesel Strings, Via the MenuCmd Function

Part IV - Scripts

Chapter 8 — Scripts

(No Appendices)


Jump to top of page

Find out more about Tailoring AutoLISP-DCL-Diesel


Simple & secure checkout:

Ready to buy? Simply visit our Vendors Marketplace and click on the Add to Cart button. Then choose how many licenses you would like to buy.

Once your information has been processed you will be emailed the registration key to unlock the software.

HOME ~ CAD SOFTWARE ~ CAD SHAREWARE ~ CAD FORUMS ~ CAD LINKS ~ CONTACT ~ ADVERTISING ~ SITE INDEX

Please see legal restrictions and terms of use applicable to this site. Copyright 2001-08 Cadopolis.com Inc. All rights reserved worldwide.

Acceptance Mark        Paypal Acceptance Mark
Home > AutoCAD Add-Ons> > Tailoring AutoLISP-DCL-Diesel
>Bookmark This Page<