PCB Libraries Forum Homepage
Forum Home Forum Home > PCB Footprint Expert > Questions & Answers
  New Posts New Posts RSS Feed - CSV Export of Library Data?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CSV Export of Library Data?

 Post Reply Post Reply
Author
Message
Evenkeel View Drop Down
Advanced User
Advanced User
Avatar

Joined: 13 Dec 2012
Location: USA
Status: Offline
Points: 145
Post Options Post Options   Thanks (0) Thanks(0)   Quote Evenkeel Quote  Post ReplyReply Direct Link To This Post Topic: CSV Export of Library Data?
    Posted: 17 Dec 2012 at 2:40pm
Is it possible to get a CSV export of the column data contained within the FPE.fpx library file?

A CSV (or any delimited text file) makes it easy to use grep to find a specific part using any of the data available.  I know that there is a search within FPX, but I do find grep to be faster.

Thanks,
Billy
Back to Top
Back to Top
Tom H View Drop Down
Admin Group
Admin Group
Avatar

Joined: 05 Jan 2012
Location: San Diego, CA
Status: Offline
Points: 5718
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tom H Quote  Post ReplyReply Direct Link To This Post Posted: 17 Dec 2012 at 2:45pm
You can open any FPX file in Microsoft Excel and edit the file.
 
Then select "ALL" and Copy / Paste into Notepad.exe and File > Save As .fpx and open the file in the PCB Footprint Expert.
 
As long as the "Header" and "Column Attribute" names are in the proper place.
 
I create a lot of my FPX file data in Excel because I like the editing features.
 
Back to Top
Tom H View Drop Down
Admin Group
Admin Group
Avatar

Joined: 05 Jan 2012
Location: San Diego, CA
Status: Offline
Points: 5718
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tom H Quote  Post ReplyReply Direct Link To This Post Posted: 18 Dec 2012 at 9:01am
Can you send us CSV samples so we can see the different formats? Maybe we can add a new "Export to CSV File" feature.
 
Thanks!
 
Back to Top
Evenkeel View Drop Down
Advanced User
Advanced User
Avatar

Joined: 13 Dec 2012
Location: USA
Status: Offline
Points: 145
Post Options Post Options   Thanks (0) Thanks(0)   Quote Evenkeel Quote  Post ReplyReply Direct Link To This Post Posted: 18 Dec 2012 at 10:05am
Thanks for the reply. 

I should have opened the FPX file with notepad just to explore.  Since it is already in a text format, then grep will work very well without exporting from Excel to CSV (comma separated values). 

It is interesting to note that you use Excel as an editor.  I will have to keep that in mind.


Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.297 seconds.