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.
Users of the Sawing Table plugin told me that it is not usually necessary to name each part. It is enough to have a number instead of a name. This number will look good in the assembly drawing on the Smart Liader as a position number. If only the same parts had the same name number. 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, Marking, Smart Leader.
The command asks the user to select any objects in the drawing, measures them, sorts them in the order you specify by size, and gives each a name as a number.
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.
You can customize the command to find and number objects within assembly blocks.
You can group objects and make a separate numbering for each group or sequential numbering of all groups.
You can write the number not only in the Name of the object, but in the properties Kind and Description (Info). If you order the revision of additional properties, then it will also be possible to write numbers in them.
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, or add any text.
You can number not only with numbers, but also with Latin and Russian 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 works with all drawing objects, except blocks. But it can ignore unnecessary layers, annotations.
You can add any text (prefix) before the numbers every time the numbering is called without changing the template.
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.
Read about downloading and installing the program here.
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.
To run the command, you will have to register account and top up your account balance by making a donation 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.
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.
Filtering - 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.
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
Template - you can set the text and any properties of the object, which will be recorded in the Name (or in the Kind, or in the Info). 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 English or Russian alphabet. For details, see the article on substitutions.
Write into - you can choose which property of the object to write the number to. This is usually the Name of the object. But you can select Kind and Info (Description). If you order plugins revision, you will be able to write numbers in your other properties too.
Numbers - for the convenience of formatting numbers, you can choose from the list numbering with ordinary numbers, Roman numbers, the English alphabet or Russian. 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.