AutoLISP_Tutorial

introduction
  working in visual lisp
  tutorial overview
designing and beginning the program
  defining overall program goals
  getting started with visual lisp
  looking at visual lisp code formatting
  analyzing the code
  filling the gaps in the program
  letting visual lisp check your code
  running the program with visual lisp
  wrapping up lesson 1
using visual lisp debugging tools
  differentiating between local and global variables
    using local variables in the program
    examining the gp:getpointinput function
  using association lists to bundle data
    putting association lists to use
    storing the return value of gp:getpointinput in a variable
  examining program variables
  revising the program code
  commenting program code
  setting a breakpoint and using more watches
    using the debug toolbar
    stepping through code
    watching variables as you step through a program
    stepping out of the gp:getpointinput function and into c:gpmain
  wrapping up lesson 2
drawing the path boundary
  planning reusable utility functions
    converting degrees to radians
    converting 3d points to 2d points
  drawing autocad entities
    creating entities using activex functions
    using entmake to build entities
    using the autocad command line
  enabling the boundary outline drawing function
    passing parameters to functions
    working with an association list
    using angles and setting up points
    understanding the activex code in gp:drawoutline
    ensuring that activex is loaded
    obtaining a pointer to model space
    constructing an array of polyline points
    constructing a variant from a list of points
    putting it all together
  wrapping up lesson 3
creating a project and adding the interface
  modularizing your code
  using visual lisp projects
  adding the dialog box interface
    defining the dialog box with dcl
    saving a dcl file
    previewing a dialog box
  interacting with the dialog box from autolisp code
    setting up dialog values
    loading the dialog file
    loading a specific dialog into memory
    initializing the default dialog values
    assigning actions to tiles
    starting the dialog
    unloading the dialog
    determining what to do next
    putting the code together
    updating a stubbed-out function
  providing a choice of boundary line type
  cleaning up
  running the application
  wrapping up lesson 4
drawing the tiles
  introducing more visual lisp editing tools
    matching parentheses
    completing a word automatically
    completing a word by apropos
    getting help with a function
  adding tiles to the garden path
    applying some logic
    applying some geometry
    drawing the rows
    drawing the tiles in a row
    looking at the code
  testing the code
  wrapping up lesson 5
acting with reactors
  reactor basics
    reactor types
  designing reactors for the garden path
    selecting reactor events for the garden path
    planning the callback functions
    planning for multiple reactors
    attaching the reactors
    storing data with a reactor
    updating the c:gpath function
    adding reactor callback functions
    cleaning up after your reactors
  test driving your reactors
    examining reactor behavior in detail
  wrapping up lesson 6
putting it all together
  planning the overall reactor process
    reacting to more user-invoked commands
    storing information within the reactor objects
  adding the new reactor functionality
    adding activity to the object reactor callback functions
    designing the gp:command-ended callback function
    handling multiple entity types
    using activex methods in reactor callback functions
    handling nonlinear reactor sequences
    coding the command-ended function
    updating gp:calculate-and-draw-tiles
    modifying other calls to gp:calculate-and-draw-tiles
  redefining the polyline boundary
    looking at the functions in gppoly.lsp
    understanding the gp:redefinepolyborder function
    understanding the gp:findmovedpoint function
    understanding the gp:findpointinlist function
    understanding the gp:recalcpolycorners function
    understanding the gp:pointequal, gp:rtos2, and gp:zerosmallnum functions
  wrapping up the code
  building an application
    starting the make application wizard
  wrapping up the tutorial
  lisp and autolisp books
Your Ad Here