Dear Dave,
> I am using V3.4 of X-Circuit. I am having a problem
> creating a virtual symbol (in my library) that has
> different PCB netlist pin numbers. I create a symbol
> and assign the netlist pin numbers (using the 'T'
> command). I then use the 'V' command to create a
> virtual symbol. When I edit the virtual symbol (using
> the '>' command, changing the pin numbers and exiting
> with the '<' command), the pin numbers on both the
> virtual symbol and the original symbol change.
> On the virtual symbol I need to change pins 7,5,6 to
> 1,3,2 respectively and remove pins 4 and 8 from the
> virtual symbol.
The "virtual symbol" can display specific parameters of an object
instead of the defaults (which is the usual case for a symbol in a
library). However, to do this, the element that you want to take
on different values must be parameterized. Otherwise, it's just a
line, or a piece of text, etc., that is common to all instances of
the object.
So edit the "library virtual instance" object (">" command, from the
library page), then select a pin name, e.g., "7"; select the menu
option Text->Parameterize, and choose a parameter name (like "pin7").
Now, if you edit that text, the edit line will say:
Font=Helvetica Parameter(pin7)<7>
edit the parameter part of this string to read:
Font=Helvetica Parameter(pin7)<1>
If you pop back up to the library ("<" command), you will see that the
main library object has pin "7" and the virtual instance has pin "1".
Do the same thing for the remaining pins. Because you will want both
the pin name and the displayed text to read the same number, when you
edit the pin itself, instead of creating a new parameter like you did
before, instead delete the text (e.g., in the example above, "7"). Then
use Control-P to bring up the parameter window (except in 3.4 it's
Alt-P, I think; really, you should be using version 3.6) and select
the parameter to insert. That way, the same parameter ("pin7") tracks
for both the pin name and the displayed text.
With xcircuit version 3.6, there are even more complicated ways to
let all of the pin numbers track the device sub-number (258-1, -2, ...)
automatically, but that's a much more involved topic.
I hope that helps!
Regards,
Tim
+--------------------------------+-------------------------------------+
| Dr. R. Timothy Edwards (Tim) | email: [email protected] |
| Open Circuit Design, Inc. | web: http://opencircuitdesign.com |
| 22815 Timber Creek Lane | phone: (301) 528-5030 |
| Clarksburg, MD 20871-4001 | cell: (240) 401-0616 |
+--------------------------------+-------------------------------------+
_______________________________________________
Xcircuit-dev mailing list
[email protected]
http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev