LAYERPILOT watches every command you start and silently switches the current layer to whichever layer that command’s output belongs on. Start TEXT and you land on the TEXT layer; start DIMLINEAR and you land on DIMENSIONS; finish the command and your original layer comes straight back. What LayerPilot does You never touch the layer dropdown again, and … [Read more...] about LAYERPILOT LISP: Automatic Layer Switching by Command
AutoLISP Routines
LAYERHARVEST LISP: Audit Layers Across a Folder of DWGs
LAYERHARVEST points at a folder, reads every drawing in it, and writes out the complete layer table of each one: name, colour, linetype, lineweight, plot flag, plot style, on, locked, frozen, frozen in new viewports, and description. No drawing is opened in the editor. What LayerHarvest does This is the tool for auditing a drawing set against a layer standard. Run … [Read more...] about LAYERHARVEST LISP: Audit Layers Across a Folder of DWGs
HIDESECTION LISP: Break an Object and Hide the Middle
HIDESECTION breaks an object at two points and puts the middle section on a hidden layer, showing concealed detail in one operation. Done by hand this is genuinely tedious: break the object twice, hunt for the middle fragment, select it, change its properties. What HideSection does Worse, a circle or full ellipse cannot be broken at a single point at all, so the … [Read more...] about HIDESECTION LISP: Break an Object and Hide the Middle
HATCHCLEAR LISP: Clear Hatch From Behind Text in AutoCAD
HATCHCLEAR clears hatching from behind text so buried annotation becomes readable again. Select the text and the offending hatch, and the hatch gains a new island boundary around each piece of text — genuinely cutting the pattern away rather than masking it, so it stays correct when plotted. What HatchClear does It also reaches text inside blocks, including … [Read more...] about HATCHCLEAR LISP: Clear Hatch From Behind Text in AutoCAD
GRIDSURF LISP: Import a CSV Grid as a Mesh or 3D Points
GRIDSURF reads a CSV of gridded levels and builds either a 3D mesh or a cloud of 3D points from it. It is aimed at survey and site data, where the levels arrive as a regular grid and getting them into the drawing is the tedious part. What GridSurface does The expected file format is a plain rectangular grid of Z values — nothing else. Each line is one row of … [Read more...] about GRIDSURF LISP: Import a CSV Grid as a Mesh or 3D Points
PINOBJECT LISP: Pin Objects Against Accidental Edits
PINOBJECT pins individual objects so they cannot be modified, and keeps them pinned between drawing sessions. Three commands: PINOBJECT pins a selection, UNPINOBJECT releases one, UNPINALL releases everything and removes the stored record. What FreezeFrame does Read this before relying on it. This is a demonstration of what reactors can do, not a security feature. … [Read more...] about PINOBJECT LISP: Pin Objects Against Accidental Edits