"Additional Fields" can duplicate Standard Field, thus foot holes!

Making your own components and patterns, organizing and using libraries.
Post Reply
Message
Author
User avatar
ReverseEMF
Posts: 54
Joined: 02 Jun 2012, 12:51
Location: Utah
Contact:

"Additional Fields" can duplicate Standard Field, thus foot holes!

#1 Post by ReverseEMF » 12 Dec 2018, 19:13

I discovered the "Export to Eagle" feature -- WhooHoo! Nice!! Thank you!

One little problem, though. On my first test of this feature, Eagle balked on the following error:
Loading D:/Docs/ElectronicProjects/BatteryManager/BatteryManager_L200C/CAD/Schematic/DipTraceToEagle/BatteryManagerL200C_11_assemblyReady.sch ...

Error:

line 2323, column 96: redefinition of name 'DATASHEET' in tag <attribute>
Upon inspection of the Eagle conversion target file, I saw the following two lines [lines 2322 & 2323] which told the whole story:

Code: Select all

<attribute name="DATASHEET" value="http://www.mouser.com/ds/2/268/41288F-80444.pdf"/>
<attribute name="DATASHEET" value="http://ww1.microchip.com/downloads/en/DeviceDoc/41413A.pdf"/>
I do a lot of my own patterns and components [mostly to make SMD parts easier to hand solder -- ala, SchmartBoard]. As such, I'm possibly more inclined than most, to utilize the "Additional Fields" feature. Which I do, but never to add Datasheet URLs -- I use the Standard "Datasheet" Field for that. So, TWO mysteries:
  1. How the heck did a second Datasheet field wind up in the Additional Fields section!?!
  2. Why the heck can this happen? The fact that this is possible leads to the kind of foot damage [i.e. "shoot one self in the foot"] that I incurred during my little test. It should not be possible to duplicate field names, if this will lead to an Eagle CAD interpretation error.
BTW: By editing out the duplicate Attribute from my Component, using the Component Editor, and doing a new Export, I was able to load the converted schematic, successfully, into Eagle CAD! So, again--WhooHoo!!
If left to evolution, would this PCB ever design itself, and what would the lead time be on that?

Alex
Technical Support
Posts: 3117
Joined: 14 Jun 2010, 06:43

Re: "Additional Fields" can duplicate Standard Field, thus foot holes!

#2 Post by Alex » 14 Dec 2018, 04:25

Thank you for the report. Could you send DipTrace schematic file for verification and we will export and investigate Eagle file.

Post Reply