Auto-track / auto-assign wire numbers based upon wire type
Let’s say that your company standards for wire number assignment includes the following wire numbering requirements:
- 24volt DC wiring to use blue wire and tagged with a “DC-” prefix and sequential starting in the “5000” range.
- Ground wires to use green wire and have a “GND-” prefix plus a three digit sequential starting at “001”
- White neutral wires to have a “N-” prefix and start at sequential “1”
- Black power wiring to have a “-PWR” suffix.
- All other wiring to default to sequential starting at number “1”
At first blush you might think that your wire number assignments are going to be all manual and tedious. But that’s not the case. AutoCAD Electrical can be quickly set up to automatically conform to the above standard!
This mode is set up for the active project, project-wide, under AutoCAD Electrical’s “Project Properties”. This means that you can have one or more projects that behave this way (i.e. wire numbering based upon wire type) and other projects that behave in a more traditional manner. The wire numbering behavior is carried in the project itself.
Here is what the project properties dialog and wire number formats by wire layer sub-dialog look like in order to accommodate the above special conditions. The wire number format override is set up on a per wire layer basis (i.e. per “wire type” basis). Wild cards can be used.
For example, look at the “BLU*” entry. This line instructs AutoCAD Electrical to process all wiring found on layers (i.e. wire types) that begins with layer name “BLU” will be tagged with a wire number format “DC-%N”. This means that wires on layers BLU-16AWG, BLU-18AWG, BLU_1.0mm, and so on… in any drawing in the active project… will be tagged with unique wire numbers starting at “5000” and having a “DC-” prefix.
Yellow, green, and white wiring has its own format override defined above, one gauge of black wiring has a special format. All other wire color (i.e. wire types) will default to the drawing’s default wire tag format.
Here’s a simple example of a nonsense circuit with blue, green, white, red, black, and yellow wiring.
To get the full effect, we need to make sure that the above drawing’s “Drawing Properties” is set up to default to “Sequential” wire numbering as shown here:
Now we run the normal AutoCAD Electrical “Wire Numbers” command (from ribbon or type AEWIRENO at command prompt), and… here is the result:
It works great. Note how the blue DC wiring, the green “ground” wiring, white, yellow, and black wiring all follow the project-wide wire number format overrides. The red wiring, not overridden, follows the normal drawing’s wire number format.