[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.



Other related posts: