Resistor
A resistor is an electric component that resists an electric current, which reduces the voltage. Unlike components such as a diode, a resistor has no direction. Connect either way and it will have the same behavior. Resistors come in values, tolerances and dimensions. Calculate your resistor value.
Getting Started
Reminder: to get out of any selected tool, just press escape.
First open up both the Component Editor and the Pattern Editor and then open the two files you created in the introduction.
Step One
In the component editor make sure you have a new component, otherwise just create a new one by going to Component > Add New to "MyComp" Library. In the component properties box in the upper left corner input the following values: Name = RES, RefDes = R. (This will make it easier to designate various resistors of different values later on).
In some cases, such as this one, the component is already done for you. So lets just add it in.
Warning: Make sure you don't have any finished component selected, as this step will replace it.
Go to Component > Insert From Another Library (This allows you to grab components from other libraries that have already been drawn out)
Select Components > Discrete from the Libraries drop-down menu, and select RES from the Components list on the right. ("Discrete" is a library that contains a bunch of generic individual components. Other libraries contain various electronic components, like batteries, antennas, ICs, etc.)
Click Insert.
Now, right-click on each of the sides, and go to Pin Properties. Change the name A to 1 and the name B to 2. This allows Components and Patterns to be associated using a global numbering scheme, which will become apparent later.
Save your work now.
Shortcut:
If you have already created the diode in the pattern editor, just select the entire diode, copy it, create a new pattern, name it "resistor," set RefDes to R, and paste it into the resistor. Remove the bar in the middle and change the square pad back to an ellipse. Skip step 2 and go to step 3.
Step Two
Now we have to create the physical representation of the resistor. Go to the Pattern Editor. Make a new pattern if there isn't one already by going to Pattern > Add New to "MyLib" Library. Fill in the same Name and RefDes information as you did with the Component Editor in the pattern properties box. Now in Pattern Properties box set type as Lines with the following values: Number of Lines = 2, Number of Pads = 2, Pad Spacing = 0mm, Line Spacing = 12.5mm.
Select the Rectangle tool and draw a rectangle. Objects > Place Shape > Rectangle (or click on the icon in the tool bar) Press escape and right click on the rectangle and click on properties. Just as the image shows, the values are (in mm) X1 = -1, X2 = 1, Y1 = 4 and Y2 = -4.
Save your work.
Step Three
We are now on the last and easiest step. In the component editor go to Component> attach pattern. In the library section, click on add and add your pattern file. Select resistor, which we just created. If everything was done correctly, pin one should match up with pad one and so on.
Save your work.