Our next tipster, Tracy Coles, submitted two excellent tools, Sort Text (Tip #1992) and Add Text Up (Tip #1993).
Add Text Up is a pair of utilities that adds the numeric values of text and then places the resulting sum in another text or attribute location. The AddEmUp function is available once the LSP file loads. Type Addemup at the command line and select text objects that contain numeric values. Once you've selected the last one, press . The current sum is displayed, and you have the option to select a text or attribute object for the text value to replace. This utility is handy for complex bills of materials. A companion utility in the LSP file adds text elements found inside a window selection. See the source code for more information. |