Numbering
AVC_Numbering Plugin for AutoCAD and BricsCAD
Name the drawing objects as sequential numbers. Save time when working with plugins Lay, Sawing Table, Mark, Smart Leader.
In order not to waste time assigning numbers to parts, the AVCNum command was created. It will help speed up the work for those who already use the plugins Lay, Data Table, Sawing Table, Mark, Smart Leader.
The command asks the user to select any objects in the drawing, measures them, finds identical ones, sorts them in the order you specify by size, and gives each a name as a number.
You can simply put numbers in texts, MLeader, block attributes (including virtual), or you can save the number in invisible properties of objects, such as solids or polylines.
You can choose where the number will be written: in the text, in the object name, in additional properties Kind and Info (Description), in any non-constant attributes of blocks. If you order the revision of additional properties for solids or contours, then you can also write numbers in them.
The program works with all the main objects of the drawing, except tables. The command works with Block Reference, but does not work with block definitions (Block Table record), so it cannot change the block name and constant attributes.
The same objects are given the same name. But you can turn off the merging of the same.
You can flexibly customize the numbering order (sorting) using any object properties. For example, from large to small or by position in the model from right to left. And if you need to number objects along a tricky path, use the Numbering On Curve command.
You can customize the command to find and number objects within assembly blocks.
You can number parts in multiple DWG or DXF drawings at once.
You can number all objects visible through the viewport or ModelDoc=ViewBase view (selecting by view).
You can group objects and make a separate numbering for each group or sequential numbering of all groups.
The numbering template allows you to substitute not only the number, but also any properties of the object. For example, you can insert the name of the assembly block, length of part. And you can add any text before or after the number.
You can add any text (prefix) before the numbers every time the numbering is called without changing the template.
You can number not only with numbers, but also with Latin and Cyrillic letters, Roman numerals, hexadecimal numbers.
The start number can be set arbitrarily through the command options or the settings window.
The ending number is stored in the Number_of_details property of the drawing and the numbering can be automatically continued on the next call.
The program can skip parts that you have already assigned a non-numeric name using the A>V>C> Properties Palette.
The program can ignore unnecessary layers, annotations. This is especially important when working inside assembly blocks.
You can configure up to 9 numbering styles and quickly switch them from the command line.
You may also find it useful to use the “Select No Name” (SNN) command to find objects that you forgot to give a name by mistake. Read about her below.
By using this program, you ensure that the parts have the same names in the Lay, Sawing Table and Smart Leader commands. Availability plug-in A>V>C> Properties Palette are not necessarily. If you have a plug-in “A>V>C> Properties Palette” you can edit the name of each part by hand. You can quickly identify the same parts by name, using SSO command.
If you want to manually tell the program in what order to assign numbers to parts or texts, number table cells, rename blocks, then all these options are available in a separate program called Manual Numbering.
Another way to choose the numbering order is Numbering along the Сurve.
Read about downloading and installing the program here.
To run the command, you will have to register account and top up your account balance or receiving bonuses.
Then you can activate one of the licenses:
Annual license - 10 EUR.
Unlimited license - 50 EUR. Free updates for 1 year.
The trial period is 20 days.
Also the AVCNum command can be found as part of plugins A>V>C> Kit and A>V>C> Pro. Some commands (DataTable, Sawing Table, Lay, Mark, DXF Export) can cause numbering on their own - just check the Numbering option in their settings.
Animation for using Numbering for QSelect, Sawing Table and Smart Leader
Commands
AVCNum – Give the names to solids as ordered numbers
SNN – Select object without name
AvcNum command
The numbering command works in the same way as the Data Table command. It extracts data from selected drawing objects, creates a table, groups and sorts this table, and only then writes the row numbers of this table to the Name (or Kind, or Info) of the object. The only difference with the Data Table is that the resulting table is not saved anywhere. But the numbers remain in the specified property of the object and can be used by all A>V>C> commands.
The program can use drawing objects selected before calling the AvcNum command. In this case, you will not see any prompts or options. If nothing is selected, the program will ask you to select objects. You can select one or several viewports on the sheet - the program will process all objects visible in them.
Pay attention to the command line before choosing the details - the current numbering settings will be indicated there, including the start number.
The objects you select can be discarded by filters. Do not worry if annotations and other unnecessary objects fall into the selection frame - the program will work only with suitable objects specified in the filtering conditions.
After running the program, the selection can be saved - use the A>V>C> Common Options.
In the selection prompt, you will see the command options:
SwitchStyle: Quickly switch between presets by number.
TUNE: Opens the program settings dialog
Further, a prefix may be requested. You can add any text before the numbers every time the numbering is called without changing the template.
Then the program starts working:
Compiles a list of objects to be processed. These will be the objects of the drawing you have selected, as well as objects extracted from blocks (if configured to extract from blocks).
Discards inappropriate objects according to the filtering settings. If the program writes to the command line that there is no suitable object, then just change the filtering conditions.
If the command is configured to process solids, then the metric update procedure will be invoked for each solid. In the process of work, the program outputs to the command line the obtained sizes of solids.
Retrieves the object properties for all substitutions for the grouping and for all configured sort columns.
Concatenates identical strings (if required). Moreover, the program can check the geometric differences of objects and not combine them together, even when all the columns are the same.
Groups and sorts objects.
Substitutes object properties and table row number into the numbering template and stores the resulting string in the specified Name (or Kind, or Info) property.
Watch the console - all program messages are displayed there.
Customization
All settings of the numbering command are completely identical to the Data Table settings.
Style Name is any name for this preset. It is not used anywhere, it serves only for the convenience of choosing a style.
Grouping - if you need to reset the number to 1 at the beginning of each group, then set the grouping. In the Group field, enter any set of substitutions. Usually, the %block% substitution is written here to enumerate by assembly-blocks. But you can add layer, material, thickness and any other properties. One numbering group will contain all parts for which all these properties are identical.
Column list - the columns of the table are needed by the numbering program only for the correct sorting of data. That is, they determine in what sequence to number the data. Unlike the Data Table, there is no point in setting the column heading here. Just select one of the object property substitutions and specify the sort order: ascending (A-Z) or descending (Z-A). There is no point in defining the columns for summing and totals. Do not write in the column list the Name or whatever property the numbering program should fill out.
Selected object filter - determines which objects will be numbered and which will be ignored. Filtering is especially important if you are numbering objects within blocks - there is no other way to tell the program which objects within blocks you want.
Data Source - select which objects to number. This determines whether the command will ask you to select objects, or will immediately number the entire model, or will ask you to select drawing files.
Object comparison options - you can configure which objects have the same numbers. In any case, different numbers will be assigned to objects that differ in the properties specified in the grouping or in the sorting columns. But whether to take into account the rest (not sorted) properties depends on these options.
Read more about all the settings on the Data Table program page.
Numbering options
Write into - you can choose which property of the object to write the number to. Select from the list:
Name or Text - Depending on the object type, the program will write the number to the Name of the object or to its text. For texts, callouts, and dimensions, the text is filled in. For blocks, the program will check the list of visible non-constant attributes of the block and if there is one such attribute, the number will be written to it. If there is no such attribute or there are several, the block will be skipped. For all other objects, the Name will be written to its xData.
Kind - An invisible attribute "Kind" will be created for blocks. Texts, callouts, and dimensions will be skipped. For all other objects, the Sort property will be written to xData.
Info - For blocks, the program will try to find a non-constant attribute Information (Info) and write the number to it. Otherwise, the block will be skipped. Texts, callouts, and dimensions will be skipped. For all other objects, the Info property will be written to xData.
Attributes - if block handling is enabled in the filtering conditions, then you will see all non-constant attributes of all blocks of the given drawing in the drop-down list. If some block does not have such an attribute, the block will be skipped. All other objects will be skipped.
Template - you can set the text and any properties of the object, which will be writed. The template must contain the %row% table row number substitution. It is in this place of the template that the number is written. Usually the whole pattern is just a %row% substitution. Substitutions can be formatted. The row number is an integer and all integer formats are applicable to it. The default format is 000. This means that numbers less than 100 will be padded with leading zeros. But you can set any other format you like. Including you can display the number in Roman numerals, letters of the Latin or Cyrillic alphabet. For details, see the article on substitutions.
Numbers - for the convenience of formatting numbers, you can choose from the list numbering with ordinary numbers, Roman numbers, the Latin or Cyrillic alphabet. For more complex number formatting, write in the template using the %row% substitution format.
Through - continuous numbering of all objects in all groups. This option is meaningful only if you have specified some kind of grouping. If you disable this option, then in each group the numbering will start from 1. If you need a separate numbering from 1 inside each assembly block, then write %block% to the Group and uncheck the Through box.
Update All - write down the number in any case. If you disable this option, then the program will fill in only empty and numeric names. In this case, the program will not touch non-numeric names, assuming that you filled in the Name / Kype / Info property manually. But the number will still be skipped. If you have written any other properties or texts in the template, or are numbering alphabetically, then to rewrite the numbers you will certainly need to enable the Update All option. If you used a prefix in the numbering, then you will need to enter the same prefix again or turn on Update All.
Prompt for prefix - You can add any text before the numbers without changing the template. If this option is enabled, the program will ask you to enter a prefix on every call. Please note that if you disable number overwriting (Update All option) and change the prefix, then no old numbers with the old prefix will be updated.
Continue from - Numbering will start from the specified number. The program will remember the last used number, save it in the Number_of_details drawing property. And on subsequent calls, the command will take the start number from the Number_of_details property.
SNN command
Select any objects and call SNN. The command will select only objects without name.