Author Topic: Strange PCBLIB/SCHLIB issue  (Read 1903 times)

0 Members and 1 Guest are viewing this topic.

Offline zphazeTopic starter

  • Contributor
  • Posts: 34
  • Country: ca
Strange PCBLIB/SCHLIB issue
« on: March 16, 2020, 05:45:22 am »
Hi,

I have this strange thing happening with Altium. It is extremely frustrating, I spent hours on this (hours!).
I have a .schlib and a .pcblib in my project.
Now say I have a footprint "FP_Z", and a schematic defining a component "COMP_X".

FP_Z being used by many other components (such as a 0603 generic capacitor footprint).

- Now let's say I open my project, launch Altium, and decide to go inside my pcblib and change (modify)
the existing FP_Z footprint (for example add overlay lines).
- After modifying it, I save the .pcblib
- I go inside the schlib, go in the component COMP_X click "Refresh Preview" to show the new footprint is being added correctly.
- Refresh preview doesn't work, so I delete the FP_Z footprint from COMP_X and re-add it manually. My changes still don't appear.
- I go back inside the .pcblib and duplicate FP_Z to FP_Z_Duplicate and also add a new footprint XXX just to see if I will see it.
- I save the pcblib, go back inside the schlib, and when trying to import a new footprint, neither FP_Z_Duplicate nor the XXX footprint are showing.

So basically it's as if I cannot update my schlib and add newly added or updated footprints.
The only way I see to make it work is to copy all footprints, add a new .pcblib, paste all the footprints, save, and re-add manually one by one all the components.

This package costs around 7000$... and we're wasting precious hours on this. Is there any suggestion?

TL;DR it's as if the .pcblib, when adding a footprint from a .schlib, doesn't match what the .pcblib really contains when opening it with the PCB editor.

Thanks (p.s. tried with AD19 and AD20)
« Last Edit: March 16, 2020, 05:47:47 am by zphaze »
 

Online T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22386
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Strange PCBLIB/SCHLIB issue
« Reply #1 on: March 16, 2020, 07:41:52 am »
What gets placed on the board in an actual design?

Libraries are cached, they can get out of sync in some cases.  Try Programs and Settings, Altium, Change Settings/Uninstall, reset / clean installation (I forget the exact option).

If you have customized user settings I suggest going to Tools/Preferences and saving them beforehand. ;)

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline Pseudobyte

  • Frequent Contributor
  • **
  • Posts: 293
  • Country: us
  • Embedded Systems Engineer / PCB Designer
Re: Strange PCBLIB/SCHLIB issue
« Reply #2 on: March 16, 2020, 12:25:47 pm »
I posted a batch script a while back for easily clearing your cache.

https://www.eevblog.com/forum/altium/svndblib-cache-seems-not-working/msg2534745/#msg2534745
“They Don’t Think It Be Like It Is, But It Do”
 

Offline zphazeTopic starter

  • Contributor
  • Posts: 34
  • Country: ca
Re: Strange PCBLIB/SCHLIB issue
« Reply #3 on: March 17, 2020, 01:44:31 am »
I did something similar as well.
Basically delete the C:\Users\Username\AppData\Local\Temp -> *.pcbcf  *schcf
Perhaps deleting the __Previews folder in the project folder also work.

I had a terrible night where I was dreaming Altium ate my lunch and I woke up in fear.
 

Offline Gribo

  • Frequent Contributor
  • **
  • Posts: 640
  • Country: ca
Re: Strange PCBLIB/SCHLIB issue
« Reply #4 on: March 24, 2020, 06:20:02 pm »
Altium ate your lunch, now it is going after your dog.
I am available for freelance work.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf