Written by Allan, July 2001Applies to:AutoCAD all versionsProblem:Array works differently than on other peoples computers.Reason:This is probably because "Snapang" is set to an angle other then 0. If "Snapang" is set 90 "Array" will work backwards … [Read more...] about Array works backwards or different to it normally does
AutoCAD Tutorials
Sample Macros for AutoCAD
Save/Restore OSMODE from a file 1> Save the OSMODE system variable to a file. (could be used for other system variables): ^C^C^P(progn(setq OSFILENAME (open "u:/acad2000/SavedOSnap.txt" "w"))(write-line (itoa (getvar "osmode")) OSFILENAME)(close OSFILENAME) 2> Extract the OSMODE system variable from a saved file. ^C^C^P(progn(setq reados (open … [Read more...] about Sample Macros for AutoCAD
Background color of icons do not match – AutoCAD problem
At least Applies to:AutoCAD 2000Windows 2000ProblemThe background color of the tool buttons does not match the Windows 3D-object color, or the icon background color is not transparent.ReasonThe color palette in windows is set to low, 256 colors for example, or is set to high, True color for example.WhyWhen menus are made, all the icon bitmaps are complied into a MNR file. It … [Read more...] about Background color of icons do not match – AutoCAD problem
AutoLISP Lesson 10 – INPUT AND OUTPUT
(April 1999)The most important part of any program, other than the internal calculations that occur, will be the input / output section. These are the parts of your program that deal with getting Information from the user and storing or retrieving data from a storage area. The Dialog Control Language (DCL) will not be covered in this text, due to the expansive nature of the … [Read more...] about AutoLISP Lesson 10 – INPUT AND OUTPUT
AutoLISP Lesson 9 – DATA STRUCTURES
(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
(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