• Skip to main content
  • Skip to primary sidebar
blog.draftsperson.net

blog.draftsperson.net

the art of technical drawing

blog.draftsperson.net

AutoLISP Tutorials

AutoLISP Lesson 9 – DATA STRUCTURES

August 1, 1999 Leave a Comment

(April 1999) All data structures in AutoLISP are list's. Everything in AutoLISP is a list, if it's not a function, it's a list. If it's a list, it's a data structure.A list is nothing more than a single dimension array. If you have a list of lists, then you have a two dimensional arrays. It is even possible to nest two-dimensional lists, inside another two dimensional … [Read more...] about AutoLISP Lesson 9 – DATA STRUCTURES

AutoLISP Lesson 8 – LOOPING

August 1, 1999 Leave a Comment

(April 1999)There are three basic styles of loops you can use, the first is the counting loop, the second is the continuously evaluating loop, and the third is the endless loop. The counting loop goes through the loop a certain predetermined number of times. The continuously evaluating loop, loops until some condition is met at which time it terminates. The endless loop … [Read more...] about AutoLISP Lesson 8 – LOOPING

AutoLISP Lesson 7 – PROGRAM CONTROL

August 1, 1999 Leave a Comment

(April 1999)AutoLISP has many predefined functions to allow you to control your programs. Some of these functions are what are known as "relational" operators, and some are known as "conditional" operators.Relational operatorsNote: Arguments in brackets [] are optional.= (= atom atom ...)(= 3 2) ;Returns nil(= 3 3) ;Returns T(= 3 3 3) ;Returns TDetermines if a … [Read more...] about AutoLISP Lesson 7 – PROGRAM CONTROL

AutoLISP lesson 6 – NUMBERS

August 1, 1999 Leave a Comment

Mathematical expression formatAutoLISP uses a prefix notation for evaluating math expressions. The normal way you write equations is using an infix notation. If you wanted to add two numbers you would write it:1 + 2 = XIn AutoLISP it would be written as:(+ 1 2) ;Returns 3As you should know by now, all lists in AutoLISP start with a function and the remainder of the list is … [Read more...] about AutoLISP lesson 6 – NUMBERS

AutoLISP Lesson 4 – PROGRAM FORMAT

August 1, 1999 Leave a Comment

(April 1999)An AutoLISP program can be written many ways, but there are certain structural points that are common to all programs. Here you will learn how to put together a program, structured in the manner that best suits your current application.One of the main differences between programming in AutoLISP and programming in other languages, is AutoLISP is an interpreted … [Read more...] about AutoLISP Lesson 4 – PROGRAM FORMAT

AutoLISP Lesson 5 – VARIABLES

August 1, 1999 Leave a Comment

(April 1999)Variables are used as the principle means to store values. Files may also be used to store values, but variables are what store values for short-term use.AutoLISP variables may be any of (4) four "types"; integers, reals, points, or strings. Variables in AutoLISP are automatically "typed" depending on the value they contain, so no "typing" of variables is … [Read more...] about AutoLISP Lesson 5 – VARIABLES

« Previous Page
Next Page »

Primary Sidebar

Subscribe to our Youtube Channel

Categories

  • American Steel Industry (4)
  • AutoCAD Articles & Reference (24)
  • AutoCAD Bugs & Problems (19)
  • AutoCAD Tips (28)
  • AutoCAD Tutorials (42)
  • AutoLISP Routines (145)
  • AutoLISP Tutorials (15)
  • CAD Standards (6)
  • Civil 3D (7)
  • Civil Drafting (4)
  • Dimensions (2)
  • Drafting Funnies (71)
  • Drafting History (9)
  • Drafting Standards (65)
  • Electrical Drafting (2)
  • General IT reference (10)
  • Geometry (15)
  • GIS (2)
  • Office Life Hacks (1)
  • PT (1)
  • Revit Tutorials (53)
  • Steel Detailing (12)
  • Structural Drafting (23)
  • Technical Dictionary (45)
  • Useful Website Links (19)

Provided for free with no warranty · Log in