INNB
Select a block with attributes, MLeader, Mtext, or Text as one of the source objects, then copy them to new positions with the text content increases in sequence.
INTRODUCTION
INNB makes automatic numbers. It is very useful to create grid numbers, parts numbers, etc.
You need select a source text object first, then select other objects to copy with the text object.
INNB copies all of them to new positions and increases the text value in a sequence.
It starts from a designated value or letter, with customized prefix and suffix.
Number sequence includes integers with increment of 1, lower case alphabets a-z, and upper case alphabets A-Z. It jumps to "AA", "AB" after letter "Z".
Integer can has some leading zeros, in a format such as "01", "000", etc.
It provides an option to skip letter "I", "O", and "Z" to avoid confusion with figures 1, 0, and 2.
Command: INNB
Pick up a Block/Mleader/Text/Mtext:
Select object:
Select a text object. Valid text object types include:
Block with one or more editable attributes (constant attribute is not editable),
MLeader with Mtext content,
MLeader with block content which has one or more editable attributes,
Mtext, and
Text
If selected object is none of the object types above, it prompts:
Invalid selection.
Please select a valid Block/Mleader/Text/Mtext first.
If the source block or Mleader has more than one attributes, it switches to the text window and shows the detailed attribute information in it, unless you picked up one of the editable attributes in the block in previous text object selection step.
xx attributes in selected block:
No. TAG
1. xxx
2. xxx
......
Which attribute to be used? <1>:
After entering the attribute number, it prompts:
Copy other attribute values to new block? [Yes/No] <Yes>:
Enter Y to copy the value of all other editable attributes to new object,
Enter N to clear the value of all other editable attributes.
When a valid text object is selected, it prompts:
Select objects to copy with the text:
Select objects:
Now you can add other objects into the selection. It will make copies of these objects with the text object.
If you don't need add any object, just press Enter to skip this step.
Next it prompts for the basepoint.
Pick up basepoint / <Use text insertion point>:
You can either pick up a new basepoint for copy, or press Enter to use the insertion point of selected text object.
After that, it prompts:
Please enter the prefix [NOne/<1>]:
You can enter "NO" to omit the prefix, or enter any string as the prefix, eg. "12.", "1-", "Ex", etc.
Please enter initial number <1>:
You can enter any non-negative integers, eg. 0, 4, 23, 203, etc., or
Integer with leading zeros, eg. 02, 000, 015, etc.
Single lower case alphabet a-z, or
Single upper case alphabet A-Z.
If you enter an alphabet letter, it will provide following option:
Skip letter "I", "O", and "Z"? Yes/<No>:
Enter "Y" to skip letter I, O, and Z; Enter "N" to include them in the sequence.
The alphabet can be more than one digit. For instance, you can enter a 2-alphabet number "AA" to represent the 27th number in a sequence, which is after number "Z".
You can also mix capital or non-capital alphabets in your input, but INNB only use the first alphbet to determin if the result is in upper case. For example, if you input "aB" as the initial number, the first result will be "ab".
If invalid characters entered at the promption, it will ask you to try again.
Invalid number, please enter letter A-Z, a-z, or an integer.
Please enter initial number <1>:
After valid initial number entered, it prompts:
Please enter the suffix [NOne/<NONE>]:
You can enter "NO" to omit the suffix, or enter any string as the suffix, eg. "-2", "s", ".00", etc.
After that, you can start select insert points:
Please pick insert point:
...
It repeats until you press "Enter" or "Esc" or right-click the mouse.
TIPS
1. With customized prefix and suffix, you can make almost all types of texts in a certain sequence, such as
20.01, 20.02, ..., 20.09;
eX011, eX012, ..., eX115...;
1A0, 1B0, ... 1Z0;
2. If you re-start INNB, the default sequence number will be the next number of the last input.
3. It keeps the same digits of input number with leading zeros to form a number sequence such as 008, 009, 010, 011 ..., 099, 100, 101, etc.
NOTES
1. INNB copy the source objects thus all their properties are inherited in the new copies.
2. In the step of Please enter initial number <1>: the default initial number is 1 when first time run INNB in current drawing. After that, it will use the next number / letter of the last input as the default initial number.
3. Format overrides in source Mtext or Mtext attribute are ignored.
DISCUSSIONS
TRIAL RESTRICTIONS
Command ends after 5 new copies, you need re-start INNB to continue.
Simply send an email to liugesen@126.com to get a free Registration Code.
Once registered, there is no more restrictions and no register reminder dialogue boxes.
UPDATES
30 Nov 2020, Extend alphabet range beyond letter "Z".
03 Oct 2014, Fixed a bug when in non-WCS sometimes command cannot be terminated by Enter or Esc.
27 Feb 2014, Allow select other objects to copy with the text.
Allow either specify a new basepoint or use the text insertion point for copy.
Allow input leading zeros.
13 Jan 2013, Allow blank (space) used in prefix and suffix.
14 Mar 2012, Valid source objects range is expanded to: Block with Multiple attributes/MLeader/Mtext/Text.
Abandon previous default INNB_NB block insertion function.
18 Mar 2011, Verify uniformly and non-uniformly scaled blocks
23 Dec 2010, Updates.
07 Aug 2010, Uploaded