AUTONUM
Set the automatic numbering increment.
Parameters
| Parameter number | Description | Values | Optional |
|---|---|---|---|
| 1 | Automatic numbering increment | Integer, or ? to display the current value in a balloon | Yes |
If you run the command without parameters, it displays a dialog box for entering the value.
Notes
AUTONUM is 0 when Digi3D.AI starts, and 0 disables automatic numbering. Its value is not saved between sessions. A negative value makes the numbering decrease.
If AUTONUM is not 0 and you run TEXT without parameters, the command proposes the last inserted number plus AUTONUM as the text to insert, using the format specified by AUTONUM_FORMAT. When you digitize the text, the application extracts its number and records it as the last inserted number. The value of this variable does not change. If AUTONUM_FORMAT is not a valid integer format, %d is used.
The ADD command also uses this variable to propose a point name. In ADD, the last number is extracted from the accepted point name.
Examples
Run the following commands to digitize the texts 1, 2, 3, 4, 5,...:
AUTONUM=1
TEXT
Type 1 when TEXT prompts you for a number to restart numbering from 1. The counter resets to 1.
Video
Command characteristics
| Variable type | Numeric |
|---|---|
| Repeats automatically | No |
| Menu option | This command has no associated menu option |
| Toolbar | This command has no associated toolbar button |
| Extension | DigiNG.OrdenesStandard.dll |
| Implementation | Native |
| Related variables | AUTONUM_FORMAT |
| Internal name | {3C350BC2-A34D-4dea-ADB7-4DDBFA9E1475} |