InsertC + BlockC by ARKANCE
-----------------------------------------------------------

Automatic numbering of blocks - on insertion or existing.

InsertC is a "counting" version of the INSERT command -
automatically numbers (sequentially) the first* attribute of
the inserted blocks.

BlockC renumbers existing set of blocks (first* attribute)
or multileaders with attributed blocks.
You can select the occurrences individually or sort them by
X or Y coordinate or by Fence (crossing polyline).

InsCopt command sets the increment, precision and att.number
options.

OdataC renumbers selected Object Data (OD) in Map/Civil3D
objects.

* you can use the insertc:AttNo Lisp variable to assign a 
different attribute number (in order), e.g. the 3rd

LISP variables:
insertc:Inc - increment (default: 1) - e.g.:
(setq insertc:Inc 0.5)
insertc:Prec - precision of decimal numbering (default: 2)
(setq insertc:Prec 1)
insertc:AttNo - attribute number (default: 1 - first) - e.g.:
(setq insertc:AttNo 3)
insertc:UseDC - use decimal comma, not point - e.g.:
(setq insertc:UseDC T)
insertc:RegEx - use pattern to replace an attribute - e.g.:
(setq insertc:RegEx "Terminal $ (from $- to $+)")
insertc:ODtab - name of the ObjectData table - e.g.:
(setq insertc:ODtab "Nodes")
insertc:ODfld - name of the ObjectData field - e.g.:
(setq insertc:ODfld "CounterID")

NB: since version 1.7 you can use prefix to add leading
zeroes to the counter - enter e.g. "0000" for fixed 4 digits

NB: since version 1.12 you can use the replacement pattern
to display prev/next, e.g. "TRM $ to $+" displays "TRM 74 to 75"

NB: since version 1.13 you can use the command ODataC to
renumber selected object data (similar to BlockC)

NB: the selection order defaults to "natural" selection for
window-selected objects; if you pick the objects individually,
use the Reverse option

-----------------------------------------
ARKANCE CZ (CAD Studio)
www.arkance.world         www.cadforum.cz
