- [Instructor] Wire numbering is a critical aspect
of any electrical design project.
So to change our wire numbering, again this will be held
within our wire styles.
If I want I can just jump back into Project
configurations dropdown and I'll jump into Wire styles.
And let's continue on with my Justin's
three-phase wire style just as an example.
And I'll take a closer look at my properties
this time around.
Each of these wires again will have their own properties.
I'll jump into phase one maybe here
and I'll go into properties.
And along with all the other properties,
maybe most important is my equipotential formula
and my wire formula.
So these are the two formulas that will be used
for my wire numbering systems.
Right now I have two formulas put in order already
so it looks like my equipotential formula is just
L one dash so that will always be printed out for this line.
And then the equipotential order number
so that will be the unique numbering system
that SolidWorks electrical will define.
If I wanted to customize this, and in a lot of cases
for example many companies will include run number
or the location of the wire as well as maybe
the components of the wires connecting to and so forth,
I can just click this function button here
and that will jump me into my formula manager.
Formula manager we'll use more and more frequently,
but this is to generate any formulas we may need.
For example, in this case, of course wire numbering,
but same for generating component tags
or really any other information we might need
within our project.
So here we have a whole bunch of predefined
or precreated formulas that we can use of course.
Or we can customize and create our own.
So now by default, it's just going to be L one dash
and equipotential order number.
If I want to see what that's actually going to look
like in a project, I actually have this
handy calculator button here.
That will test out the formula.
So you can just click on that.
And we'll depending on what my order number is,
for example if it's one, my wire number will be
L one dash one.
If it's five, my wire number will be L one dash five.
So that's the current formula I have in place.
If I want to say add to this or change to this,
I can just type in whatever variables
or values I may need.
Now this is all based on SQL.
So if you're familiar with SQL, it will be very
familiar with you in creating these formulas.
But if you're not, we also have a whole bunch of tools
to help us.
So we have for example a list of variables
and simple formulas if I click on this tab here.
So this is essentially all of the existing variables
that I have, all the information within my project
that I can pull from in these formulas.
So let's say for example, a lot of times
people would add the position or the location
of the wire into the wire number.
So let's say I wanted to add in the row number for example.
This is the variable for that row number
so I can type that out or I can actually
just double click it, and I can see
that's automatically been added to my formula here.
Same with the functions tab, if I wanted to get
even more complex formulas.
It has a whole bunch of pre-built commands
for functions that I can throw into there as well.
I can also just add by typing out whatever I may need.
If it's ever just a simple text, I just want to put
it in quotations like this L one dash.
So maybe I want before my row location,
again I want just a dash, my wire number.
So I can just type this in.
I'll do a quotation mark dash quotation mark,
and again I want a plus sign to throw in there.
You'll notice if you ever make mistakes in the formulas,
it will give you a note saying there's a mistake
in the formula and won't allow you to finish off.
But not if there's no note or error down here,
it looks okay.
And again maybe I want to test it out
before I push it out to my project.
Now I have two variables being used in formula.
The equipotential order number and the row order number.
So maybe if it's going to be two and two,
my final wire number should be L one dash two dash two.
So let's just test this out.
So I'm just going to close out and say okay.
So now you can see that this specific phase one wire,
I've changed the equipotential formula
to now be L one dash plus the order number
plus the row order number.
And you can create these functions and formulas to be
as simple or as complex as needed.
And I'll just say okay.
Finish this off.
So I only changed that one, the phase one.
So we'll see the difference between my phase one
and my other phases.
If I jump to phase two for example,
you can see the equipotential formula number would be
just L two dash and the equipotential row number.
I also have a couple of other options
just on how the numbering is going to come in
so I have numbering style by wire or by equipotential.
So a slight difference here at the wire,
each individual wire will have its own wire number
where at that potential every wire
on the same equipotential will have
that new unique wire number.
Of course, just display as well as where
the numbers are coming in and so forth.
So let's close out of this.
I've now setup my wire numbering for these different wires.
Now I want to of course number these wires.
So to do the actual numbering, it's just a simple click
of the button once all the formulas are set up.
So I would jump into the Process tab
and just hit Number of new wires
if they haven't been numbered before
or Renumber wires if I'm renumbering,
whatever it may be.
So in this case, no numbering has been done
so I'm going to say number new wires.
And I see my wire numbers coming in automatically.
So here we can see the slight difference
for my phase one.
That was the one I customized.
I'm seeing L one dash two which is the order number.
And then dash two which is the row number
or kind of the location of where this wire is placed.
Here for the other numbers, looks like I didn't
customize those so they're just coming in
by the default which is L two dash two
and L three dash two.
So you can customize your wire numbers
to suit your exact needs.
Generally I would do this process
and maybe save it out in a project template
so you only need to do it once for your company
or specific project or whatever it may be,
and then it's going to be unified or standardized
across all of your projects.