Incremental Array
| Function Syntax | IncArray / IncArrayD (dynamic) |
| Current Version | 1.4 |
| Download | IncArrayV1-4.lsp |
| View HTML Version | IncArrayV1-4.html |
Program Description
This program will array a selection of objects, whilst incrementing any numerical content found in objects containing text within the selection.
The program has two modes of operation: standard & dynamic. The standard mode: 'IncArray' will not display the dynamic preview, but in turn will run faster and smoother than the dynamic version - this difference is especially significant when attempting to array a large number of objects.
The dynamic mode: 'IncArrayD' will display a preview of the arrayed objects as the mouse is dragged across the screen. However, due to the method used to generate this preview, this mode is only suitable when using the program to array a small number of objects.
Upon starting the program, the user is prompted to make a selection of objects to array, this selection may include any drawing object excluding viewports. Following selection, the user should specify a base point and array vector relative to the base point. The angle and length of this vector will determine the direction and density of the array respectively; a shorter vector will result in a denser array.
The array may now be generated by dragging the mouse across the screen until the array reaches a desired size. If the object selection includes Text, MText, Attribute Definition, Dimension, or Multileader objects, any numerical data found in the text content of these objects will be incremented as the object is arrayed.
Examples of Usage
Instructions for Running
Please refer to How to Run an AutoLISP Program.
