What I am specificly after, John, is an entry in the string like "Part
Field 1=Metal Film"

I have searched everywhere, and tried many ideas, but can't find the
correct way to do it.

Mike.



|---------+---------------------------->
|         |           "John A. Ross    |
|         |           [Design]"        |
|         |           <[EMAIL PROTECTED]>  |
|         |                            |
|         |           07-Oct-2003 12:14|
|         |           PM               |
|         |           Please respond to|
|         |           "Protel EDA      |
|         |           Forum"           |
|         |                            |
|---------+---------------------------->
  
>--------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                          |
  |       To:       "Protel EDA Forum" <[EMAIL PROTECTED]>                             
             |
  |       cc:                                                                          
                          |
  |       Subject:  Re: [PEDA] Part Field entries                                      
                          |
  
>--------------------------------------------------------------------------------------------------------------|




> -----Original Message-----
> From: Michael Binning [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 07, 2003 11:53 AM
> To: Protel EDA Forum
> Subject: [PEDA] Part Field entries
>
> Hello all,
>
> I hope somebody can help me out with this one.
>
> I have created a button in one of my toolbars for placing
> resistors, based on the ones in the Digital toolbar.
>
> As standard is sets the Designator to "R?", and the Part Type
> to "value".
>
> What I also want it to do is set several of the Part Fields,
> but cannot work out how to do it.
>
> Does anybody know the keywords I need?

Mike

Here is an extract from an old .rcs file of mine with a basic toolbar.
Is this the stuff you want?

You wont find reference to some buttons in the /system/buttons folder as
I drew them myself so they make sense.

I am redrawing a new set of bmp toolbar buttons for DXP just now.

(under ToolBar 'SchematicTools')

Parts

Button 'C:\P99SE\SYSTEM\BUTTONS\CAP001.BMP' 'Sch:PlacePart(PartType=10N
| LibReference=chip capacitor | Orientation=0 |
Designator=C?|FOOTPRINT=0805|$Description=10N)'
     Button 'C:\P99SE\SYSTEM\BUTTONS\CAP01.BMP'
'Sch:PlacePart(PartType=100N | LibReference=chip capacitor |
Orientation=0 | Designator=C?|FOOTPRINT=0805|$Description=100N)'
     Button 'C:\P99SE\SYSTEM\BUTTONS\CAP10.BMP'
'Sch:PlacePart(PartType=10U/25 | LibReference=elect cap | Orientation=0
| Designator=C?|FOOTPRINT=radial capacitor 5 x 6
mm|$Description=10U/25)'
     Button 'C:\P99SE\SYSTEM\BUTTONS\CAP22.BMP'
'Sch:PlacePart(PartType=22U/25 | LibReference=elect cap | Orientation=0
| Designator=C?|FOOTPRINT=radial capacitor 5 x 6
mm|$Description=22U/25)'
     Button 'C:\P99SE\SYSTEM\BUTTONS\CAP47.BMP'
'Sch:PlacePart(PartType=47U/25 | LibReference=elect cap | Orientation=0
| Designator=C?|FOOTPRINT=radial capacitor 5 x 7
mm|$Description=47U/25)'
     Button 'C:\P99SE\SYSTEM\BUTTONS\CAP100.BMP'
'Sch:PlacePart(PartType=100U/10 | LibReference=elect cap | Orientation=0
| Designator=C?|FOOTPRINT=radial capacitor 5 x 7
mm|$Description=100U/10)'
     Separator
     Button 'C:\P99SE\SYSTEM\BUTTONS\RES1K.BMP'
'Sch:PlacePart(PartType=1K | LibReference=0805 RESISTOR |
FOOTPRINT=0805|Orientation=0 | Designator=R? |$Description=1K)'
     Button 'C:\P99SE\SYSTEM\BUTTONS\RES4K7.BMP'
'Sch:PlacePart(PartType=4K7 | LibReference=0805 RESISTOR |
FOOTPRINT=0805|Orientation=0 | Designator=R? |$Description=4K7)'
     Button 'C:\P99SE\SYSTEM\BUTTONS\RES10K.BMP'
'Sch:PlacePart(PartType=10K | LibReference=0805 RESISTOR |
FOOTPRINT=0805|Orientation=0 | Designator=R? |$Description=10K)'
     Button 'C:\P99SE\SYSTEM\BUTTONS\RES47K.BMP'
'Sch:PlacePart(PartType=47K | LibReference=0805 RESISTOR |
FOOTPRINT=0805|Orientation=0 | Designator=R? |$Description=47K)'
     Button 'C:\P99SE\SYSTEM\BUTTONS\RES100K.BMP'
'Sch:PlacePart(PartType=100K | LibReference=0805 RESISTOR |
FOOTPRINT=0805|Orientation=0 | Designator=R? |$Description=100K)'
     Separator

Power ports

Separator
     Button 'C:\P99SE\SYSTEM\BUTTONS\POARWHGND.BMP'
'Sch:PlacePowerPort(Color=111|Orientation=3|S=HGND|Style =
3|$Description=GND power port)'
     Button 'C:\P99SE\SYSTEM\BUTTONS\POARWAGND.BMP'
'Sch:PlacePowerPort(Color=111|Orientation=3|S=AGND|Style =
1|$Description=aGND power port)'
     Button 'C:\P99SE\SYSTEM\BUTTONS\POARWGND.BMP'
'Sch:PlacePowerPort(Color=111|Orientation=3|S=GND|Style =
1|$Description=GND power port)'
     Separator
     Button 'C:\P99SE\SYSTEM\BUTTONS\POW3V3.BMP'
'Sch:PlacePowerPort(Color=111|Orientation=1|S=3V3A|Style =
0|$Description=3V3 power port)'
     Button 'C:\P99SE\SYSTEM\BUTTONS\POW5D.BMP'
'Sch:PlacePowerPort(Color=111|Orientation=1|S=5D|Style =
0|$Description=5D power port)'
     Button 'C:\P99SE\SYSTEM\BUTTONS\POW12V.BMP'
'Sch:PlacePowerPort(Sch:PlacePowerPort(Color=111|Orientation=1|S=12V|Sty
le = 0|$Description=+12 power port)'
     Separator

Best Regards

John A. Ross

RSD Communications Ltd
8 BorrowMeadow Road
Springkerse Industrial Estate
Stirling, Scotland FK7 7UW

Tel          +44 [0]1786 450572 Ext 225 (Office)
Tel          +44 [0]1786 450572 Ext 248 (Lab)
Fax          +44 [0]1786 474653
GSM          +44 [0]7831 373727

Email        [EMAIL PROTECTED]
WWW          http://www.rsd.tv
==========================================









* * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* To post a message: mailto:[EMAIL PROTECTED]
*
* To leave this list visit:
* http://www.techservinc.com/protelusers/leave.html
*
* Contact the list manager:
* mailto:[EMAIL PROTECTED]
*
* Forum Guidelines Rules:
* http://www.techservinc.com/protelusers/forumrules.html
*
* Browse or Search previous postings:
* http://www.mail-archive.com/[EMAIL PROTECTED]
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Reply via email to