TEXTSPLIT splits a text object in two and puts the second half where you point. For a note that has run too long for its box, a title that needs to wrap, or a line of imported text that came in as one string when it should have been three. What TextSplit does Three ways to say where to cut: After after a word you name - the usual … [Read more...] about TEXTSPLIT LISP: Break a Line of Text Into Two
AutoLISP Routines
RESPACE LISP: Re-space a Column of Text at an Even Pitch
RESPACE takes a run of separate text lines and sets them at an even spacing, measured from the first one and following its rotation. What TextRespace does The usual need is after changing the height of a block of notes: the text is the right size but the lines are now too close or too far apart, and moving twenty of them by hand is both slow and never quite … [Read more...] about RESPACE LISP: Re-space a Column of Text at an Even Pitch
BRACKET LISP: Draw a Bracket Around a Group of Notes
BRACKET draws the tall bracket used to gather several lines of text and point them at one thing — a group of notes against a leader, a schedule of parts against an item, a set of options against a single answer. What TextBracket does Pick the two ends of the span and say how far it should reach. Corners can be square, chamfered or rounded. How to use … [Read more...] about BRACKET LISP: Draw a Bracket Around a Group of Notes
TESTCARD LISP: Display Test Card and Timing Benchmark
TESTCARD draws a test card — the drafting equivalent of the old broadcast test pattern — and times how long AutoCAD takes to build, regenerate and redraw it. Use it to compare machines, graphics cards, display drivers and hardware acceleration settings, or to check that a colour scheme is legible before committing a whole office to it. What TestCard … [Read more...] about TESTCARD LISP: Display Test Card and Timing Benchmark
TERMSTRIP LISP: Draw a Numbered Terminal Strip
TERMSTRIP draws a terminal block — a ladder of numbered terminals at an even pitch, at any angle, with a prefix and suffix on the numbers. What TerminalStrip does For control panel drawings, junction boxes and marshalling cabinets: anywhere a row of numbered connections has to be drawn and labelled. Numbers can count up or down, in any step, so a … [Read more...] about TERMSTRIP LISP: Draw a Numbered Terminal Strip
TAGWIDTH LISP: Squeeze and Stretch Text and Attributes
TAGWIDTH adjusts the width factor of text and attributes — the amount each character is condensed or expanded without changing its height. This is what you reach for when a room name will not fit its room, a title will not fit its box, or a schedule column is a whisker too narrow. What TagWidth does Select what you want, then squeeze or stretch it a step at … [Read more...] about TAGWIDTH LISP: Squeeze and Stretch Text and Attributes