VPGRID draws a survey coordinate grid over a viewport. You select a viewport in a layout, give it a grid interval in metres, and it lays a border around the viewport, tick marks where each grid line meets that border, easting and northing labels against every tick, and small crosses at each grid intersection inside. It is a more considered piece of work than its one-line … [Read more...] about VPGRID LISP: Survey Coordinate Grid Over an AutoCAD Viewport
UXS LISP: Unload Xrefs, Save and Reload in One Command
Three lines of AutoLISP that solve one specific, maddening problem. UXS unloads every xref in the current drawing, saves the file, then reloads them all again. That sequence — unload, save, reload — is the workaround for a Revit link behaving badly, and doing it by hand through the External References palette a dozen times a day gets old fast. The problem it was … [Read more...] about UXS LISP: Unload Xrefs, Save and Reload in One Command
UPDBLOCK LISP: Change Layer or Colour Inside AutoCAD Blocks
You have inherited a drawing full of blocks whose contents were drawn on named layers in explicit colours. Every time you insert one it ignores the layer you put it on and appears in whatever colour it was built with. The correct fix is to have the block's contents on layer 0 with colour BYLAYER, so the block takes on the properties of wherever you insert it — but doing … [Read more...] about UPDBLOCK LISP: Change Layer or Colour Inside AutoCAD Blocks
TRX LISP: Trim to a Construction Line You Never Draw
Sometimes you need to trim a group of lines back to somewhere there is nothing to trim to. A line of columns cut off at a grid line that is not drawn, a set of hatching stopped at an imaginary edge, a bundle of services trimmed to a boundary you do not want in the drawing. The usual method is to draw a construction line, trim to it, then erase it. Three operations plus the … [Read more...] about TRX LISP: Trim to a Construction Line You Never Draw
Traverse LISP: Reduce Survey Notes to Points in AutoCAD
Traverse reduces survey field notes into drawn points. You set up the instrument position and a backsight, then work through the observations, and it plots each point and numbers it — the arithmetic that turns a page of angles and distances into geometry, done for you. A second program then extracts the point numbers and coordinates back out, to screen, to a file or to a … [Read more...] about Traverse LISP: Reduce Survey Notes to Points in AutoCAD
The 90 LISP routine collection
Name: The 90 LISP Routine Collection Description: A heap of simple LISP routines. Get some programming ideas from this lot! Type: AutoCAD AutoLISP Routine Author: Various, see files for credits File Size: 192 Kb Cost: Free Worked on: AutoCAD Download File: 90lsp.zip … [Read more...] about The 90 LISP routine collection





