[PCB_FORUM] Re: multiple part error (ptf)

  • From: "William Billereau" <William.Billereau@xxxxxxx>
  • To: <icu-pcb-forum@xxxxxxxxxxxxx>
  • Date: Tue, 22 Apr 2008 11:57:31 +0200

OK. It is called "An unsupported feature"

 

According to this:

http://sourcelink.cadence.com/docs/db/kdb/2004/June/11143922.html

it seems that the merge does not work in this case....

 

If you put it in 2 separated files, it fails.

If you put it in the same file but separated by 2 times PART= 'PART', it
fails.

 

If you put all lines in the same PART section (a merge by hand) it
works..... 

 

 

 

And if it works for capacitors, I guess that it is because there is no
PACK_TYPE.

 

            William.

 

 

 

________________________________

From: icu-pcb-forum-bounce@xxxxxxxxxxxxx
[mailto:icu-pcb-forum-bounce@xxxxxxxxxxxxx] On Behalf Of William
Billereau
Sent: 22 April, 2008 10:31 AM
To: icu-pcb-forum@xxxxxxxxxxxxx
Subject: [PCB_FORUM] multiple part error (ptf)

 

Hello All.

I have 2 capacitors to add in part_table.

Both have same values but the size:

'CPPR'  |  '100nF'  |  '5%'  |  '630VDC/250VAC'  =
'CAPR1500-700X1800X1250' |  'CPPR_100NF_630V_5%_1500-700X1800X1250'  |
'GENERIC'  |  'Metallized Polypropylene Film Capacitor (MKP)'  |
'Preferred'  |  ''  |  '100nF'  |  '5%'  |  '630VDC/250VAC'  

'CPPR'  |  '100nF'  |  '5%'  |  '630VDC/250VAC'  =
'CAPR2250-600X2650X1500'  |  'CPPR_100NF_630V_5%_2250-600X2650X1500'  |
'GENERIC'  |  'Metallized Polypropylene Film Capacitor (MKP)'  |
'Preferred'  |  ''  |  '100nF'  |  '5%'  |  '630VDC/250VAC'  

This causes conflicts:

PPT part name 'CTHD-CPPR,100NF,5%,630VDC/250VAC,' for PPT 'CTHD' is not
unique in the part_table view.

To avoid to add a size attribute in the schematic (even not displayed) I
do this

'CPPR'  |  '100nF'  |  '5%'  |  '630VDC/250VAC'  |  ''
(~CPPR_100NF_630V_5%_1500-700X1800X1250)  =  'CAPR1500-700X1800X1250'  |
'CPPR_100NF_630V_5%_1500-700X1800X1250'  |  'GENERIC'  |  'Metallized
Polypropylene Film Capacitor (MKP)'  |  'Preferred'  |  ''  |  '100nF'
|  '5%'  |  '630VDC/250VAC'  

'CPPR'  |  '100nF'  |  '5%'  |  '630VDC/250VAC'  |  ''
(~CPPR_100NF_630V_5%_2250-600X2650X1500)  =  'CAPR2250-600X2650X1500'  |
'CPPR_100NF_630V_5%_2250-600X2650X1500'  |  'GENERIC'  |  'Metallized
Polypropylene Film Capacitor (MKP)'  |  'Preferred'  |  ''  |  '100nF'
|  '5%'  |  '630VDC/250VAC'  

Then, by adding the PART_NUMBER in (~), both are different and it works.

Both part are in the same file.

Then I see both of them in Concept

I have to add a resistor with special PART_NUMBER but the same values as
another already present, in another ptf file.

I use the same tip:

New ptf:

{===============================================================}

:VALUE | TOL | PACK_TYPE   = VALUE    | JEDEC_TYPE   | PART_NUMBER    ;

{===============================================================}

 '3.3'     | '1%'     | '250MW' (~ERJ8RQF3R3V)   = '3.3'    | 'C1206'
| 'ERJ8RQF3R3V' : MANUFACTURER='PANASONIC', DESCRIPTION='SMD Resistor'

Old ptf:

{===============================================================}

:VALUE | TOL | PACK_TYPE   = VALUE    | JEDEC_TYPE   | PART_NUMBER    ;

{===============================================================}

'3.3'    | '1%'     | '250MW'(!)   = '3.3'    | 'S32X16'       |
'11.24.05.3R3'

But I still have the error:

Errors while reading PTF file(s):

Multiple PPT part 'RSMD1206_250MW-3.3,1%' found when merging PPT
'RSMD1206'.  If multiple rows exist by the same name, multiple values of
a key property must match and multiple values of an injected property
must match.

Check injected property values for 'JEDEC_TYPE'.

Check injected property values for 'PART_NUMBER'.

Could not merge PPT parts for PPT 'RSMD1206'.

PPT 'RSMD1206' was loaded from the following files:

        ptf/BTD_ptf.ptf

        ptf/rsmd1206.ptf

'RSMD1206_250MW-3.3,1% comes from rsmd1206.ptf (the old one)

But in the other ptf, the part should be ERJ8RQF3R3V

Why does it work in a case and not in the other?

Thanks.

JPEG image

Other related posts: