capacitor value gets reset when library gets updated

capacitor value gets reset when library gets updated

Anonymous
Not applicable
891 Views
4 Replies
Message 1 of 5

capacitor value gets reset when library gets updated

Anonymous
Not applicable

I created my own library for capacitors. I added a "VALUE "attribute to the devices and set the default value to "F".

Everything worked fine and I was able to enter a Value when I added a capacitor to my schematic.

Now I changed something on the packages and wanted to update the library.

However when I update it the Value of every capacitor gets reset to F.

I was able to undo the updating and get all my Values back, but still want to update the library.

What do I have to do different or change in my library?

Thanks

Reply
Reply
0 Likes
Accepted solutions (1)
892 Views
4 Replies
Replies (4)
Message 2 of 5

rachaelATWH4
Mentor
Mentor
Accepted solution

@ccbahr wrote:

I created my own library for capacitors. I added a "VALUE "attribute to the devices and set the default value to "F".

Everything worked fine and I was able to enter a Value when I added a capacitor to my schematic.

Now I changed something on the packages and wanted to update the library.

However when I update it the Value of every capacitor gets reset to F.

I was able to undo the updating and get all my Values back, but still want to update the library.

What do I have to do different or change in my library?

Thanks


You have added an attribute for VALUE in your library. Unfortunately this means that every instance of you part will be refreshed with that library value when you do an update. You will need to remove that attribute from the library to stop this happening.

 

Best Regards,


Rachael

Reply
Reply
0 Likes
Message 3 of 5

C.Nicks
Advisor
Advisor

Hi ccbar,

As you've noticed, any attribute set in a library will get updated. There is a way to use the value attribute for specified part technologies, while keeping a general part version that will not overwrite the value.

 

If you look in my RCL library, the Value attribute is specified, but only setup for the technologies with specific part numbers.

The default technology part does not set the value attribute and is used as a placeholder until I add in the new technology. Then I use the "change technology" or "Replace" command to swap out the general part with the specific one when it gets defined.

 

That way I can place a default part, modify the value and it won't get over written. Then if I change the technology to a specific part number, the value will get updated accordingly.

 

If you'd like to see how I have it setup, you can download my library from HERE.

 

 

Library Structure.PNG

If this helps you understand more how Eagle handles libraries and solves your question, please accept this solution.

 

Happy Friday & Best Regards,

Cameron

Best Regards,
Cameron

Eagle Library Resources


Kudos are much appreciated if the information I have shared is helpful to you and/or others.
Did this resolve your issue? Please accept it "As a Solution" so others may benefit from it.

Reply
Reply
0 Likes
Message 4 of 5

Anonymous
Not applicable

Hi there. Did you make the library where one capacitor electrode is substantially biger than the other? Please have a look at it before it drives someone insane (I'm not using it, just saying).

Reply
Reply
0 Likes
Message 5 of 5

C.Nicks
Advisor
Advisor
Huh? I'm not understanding what you're talking about.
Are you talking about a component inside my RCL library? If so which one, I'll look it over.

Best Regards,
Cameron

Eagle Library Resources


Kudos are much appreciated if the information I have shared is helpful to you and/or others.
Did this resolve your issue? Please accept it "As a Solution" so others may benefit from it.

Reply
Reply
0 Likes