AVCNum and SNN commands for AutoCAD and BricsCAD. 
Give the names to solids as ordered digits. 
Timesaver for plug-ins Lay, Data Table, Sawing Table, Smart Leader and Mark

Users of Sawing Table plug-in told me they not usually required to give sensible names for each part. It is enough to get the digit instead of the name. This digit will look good in the assembly drawing on Smart Leader as the part number. But need to have the same parts have the same digit name. In order to save time on the assignment of numbers to parts and I was written this plug-in. New AutoCAD command AVCNum will help speed up the work to those who already use plugins Lay, Data TableSawing Table, Smart Leader and Mark.
  • The command prompts the user to select solids (parts designed product) measurements them, sorts them by size and gives each name in the form of numbers. 
  • Solid having the same size is given the same name. But you can turn off the merging of identical parts.
  • The object filters and sort order will be exactly the same as you configured in the Lay command.
  • You can customize the command to search for parts within assembly-blocks.
  • The program allows you to specify the name format: you can add leading zeros to all numbers, add any text to name. For example "Detail #013" instead just "13".  
  • You can number them not only in numbers, but also in Latin letters alphabetically from A to Z, then AA - ZZ and so on.
  • The starting number can be set arbitrarily through the command options or the settings window.
  • The final number is stored in the Number_of_details property of current drawing and on the next call the numbering can be continued automatically.
  • The program can skip the details, which you have assigned non-numeric name using the plug-in "A>V>C> Properties Palette".
  • The program works only with 3D-solids, ignores randomly caught garbage, annotations, 2D drawings.
  • The Data Table command can number not only solids, but also any drawing objects, for example, polylines.
  • Also, the “Select NoName” (SNN) command may be useful for you to search for objects that you forgot to give a name by mistake. Read about it below.

Using this program you can guarantee that the parts will be the same names on the plugin Lay, Sawing Table and Smart Leader. 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.

The AVCNum command was previously supplied as a separate plugin, but now it can only be found as part of plugins AVC_Lay, A>V>C> Kit and A>V>C> ProSome commands (DataTableSawing TableLayMarkDXF 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

Recensione video in italiano registrata da Paolo Coter.


AVCNum – Give the names to solids as ordered numbers
SNN – Select object without name


Call AVCNum command and follow the instructions in the console. You can choose the items to number in advance, before the command call. But in this case you will not be able to set up the command options. Pay attention to the command line before selecting the details - the current numbering settings will be listed there, including the starting number.
The objects you select can be discarded by the filters configured by the LAY command. Grouping, combining the same and sorting are also insisted for the current LAY style.

The command has options:
  • StartFrom - number of the first part. After it, the numbering follows the order by step 1. Default 1. 
  • UPdateAll - if you set the option NO the program check that solid have not the name or the name is a number. Non-numeric names are not overwritten, because you gave name to solid manually. But the number would still be missed.
  • ALPhabetical - Alphabetical numbering. Letters from A to Z and further from AA to ZZ... are used. Complicated format strings are not supported. To update these names, you must install the "UPdateAll" checkbox.
  • NumFormat - you can write a few characters “0” and the program will write zeros before small numbers. Use if you want names length had the same number of characters. Default one #. You can add to name any text. Use any characters exclude 0,#,%,e,E,+,- and ; Any other characters are copied to the result string unchanged. If you need use zero or # or E – use escape character “\” before. Or close text in quotes. Details here
  • Through - Continuous numbering of parts in assemblies. If you disable this setting, then in each Data Table group, the numbering will begin with 1. 
In addition, the program checks the solids for mirrored and records the property "Mirror = Yes". But the "No" is never recorded. This is done just in case you manually marked solids like mirrored. If in doubt, set the "Mirror = No" property before calling the numbering.
You can also customize the numbering not only in the command line, but also in the settings dialog of the LAY command. Turn on the Numbering option and you will see a group of numbering settings:
This dialog has the "Continue" checkbox that cannot be configured from the command line. When you enable it, the program will remember the last number and 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.
Follow the messages on the console. There may be program messages. 


Select any objects and call SNN. The command will select only objects without name.


    Disabled numbering of any objects, except for solids.
    Fixed highlighting of unnamed objects.

• Now use the DataTable to compile parts lists.
• New conditions for filtering objects
• New sorting principles
 The command uses the current Lay-style (previously the Saw-style was used)
• The command has been removed from all plugins except Avc_Lay, Avc_Kit and Avc_Pro
    Numbering settings are included in the styles of the Data Table and other plugins. 
    Added option for end-to-end numbering (not for groups) for the Data Table.
    Added: "Continue from" options
    You can number them not only in numbers, but also in Latin letters alphabetically from A to Z, then AA - ZZ and so on.
    The starting number can be set arbitrarily through the settings window.
    The final number is stored in the property Number_of_details of the drawing and on the next call the numbering will automatically continue.
    Updated dialog window localisation
    AutoCAD 2020 compatibility
    New Activation method
    Compatible with AutoCAD 2019
    Default options changed
    Fixed error of counting the number of mirror solids
    Improved compatibility with settings from previous versions
    The same numbering procedure is used as in the Sawing Table and its current sorting settings
    Italian localization of console messages
    The settings dialog stores a list of previously used formats
    Checking the old solid name on the number takes into account that the format can contain text strings
    The "mirrored" property is recorded
    Mirrored solids are now given the same numbers
    Compatible with AutoCAD 2018
    Updated Tecnology property for Solid
    Decreased accuracy of asymmetry of solid
    New version numbering
    Fixed: solids were sometimes mistakenly considered different
    New activation window
    AutoCAD 2017 compatibility
    Demo version
    New command SNN
    Fixed error - saving options in registry.
    First public version