FORMATBRUSH is a match-properties brush for field number formatting. Pick a field that displays exactly the way you want — the right units, the right precision, the right suffix — then keep clicking other fields, and each takes on that formatting while keeping its own value. What FormatBrush does The cursor changes to the match-properties brush while … [Read more...] about FORMATBRUSH LISP: Match Field Formatting in AutoCAD
AutoLISP Routines
FOLLOWON LISP: Select a Connected Chain of Curves
Pick any line, arc, open polyline, spline or elliptical arc, and FOLLOWON selects everything joined to it end to end — then everything joined to those, and so on outwards until the chain runs out. What FollowOn does This is the tool for grabbing a complete pipe run, a kerb line, a services route or a site boundary that was drawn as forty separate segments by … [Read more...] about FOLLOWON LISP: Select a Connected Chain of Curves
AREASTAMP LISP: Build Your Own One-Key Field Commands
Inserting a field through the FIELD dialog takes half a dozen clicks. When you need forty of them, all referencing the same property, that becomes a genuine waste of an afternoon. FieldStamp lets you define a single command that does the whole thing in two picks. What FieldStamp does Three ready-made commands come with it. AREASTAMP — pick an object, pick a … [Read more...] about AREASTAMP LISP: Build Your Own One-Key Field Commands
FIELDSNOOP LISP: Reveal the Formatting Code Behind a Field
Field formatting codes are short, cryptic and almost impossible to work out from the dialogs — things like %lu6%qf1 or %lu2%pr3%ps[,m2]. FIELDSNOOP takes a field that already displays exactly the way you want and tells you the code that makes it do so. What FieldSnoop does Pick the field, read the code, paste it into your own routine or into another field. … [Read more...] about FIELDSNOOP LISP: Reveal the Formatting Code Behind a Field
FIELDMATH LISP: Build a Live Calculation From Drawing Text
FIELDMATH builds a live calculation from numbers already on the drawing. Pick a piece of text holding a number, choose an operator, pick another, and keep going. The result is a field that recalculates itself whenever any of the numbers it references changes. What FieldMath does The obvious use is a schedule total that must never fall out of step with the figures … [Read more...] about FIELDMATH LISP: Build a Live Calculation From Drawing Text
FIELDGRAFT LISP: Copy a Live Field to Many Objects
Copying a field by copying its text gives you the number it happened to show at the time. FIELDGRAFT copies the field itself — pick a source object containing a field, then keep picking destinations, and each one receives the same live expression. What FieldGraft does Every destination is updated immediately, so they all display the live value and all keep … [Read more...] about FIELDGRAFT LISP: Copy a Live Field to Many Objects