PCB Libraries Forum Homepage
Forum Home Forum Home > PCB Footprint Expert > Questions & Answers
  New Posts New Posts RSS Feed - Editing FPX Files in M/S Excel Spreadsheets
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Editing FPX Files in M/S Excel Spreadsheets

 Post Reply Post Reply
Author
Message
jameshead View Drop Down
Expert User
Expert User
Avatar

Joined: 20 Mar 2012
Location: Oxfordshire, UK
Status: Offline
Points: 576
Post Options Post Options   Thanks (0) Thanks(0)   Quote jameshead Quote  Post ReplyReply Direct Link To This Post Topic: Editing FPX Files in M/S Excel Spreadsheets
    Posted: 21 Oct 2013 at 7:37am
Not sure if this is a bug or I am doing something wrong but I copied an existing fpx file in windows explorer, opened the copy in Excel, selecting TAB as the deliminater.  Everything appeared to come in okay so I then edited the part names for a number of parts under the "Part Number" column then saved the copy as tab delimited.

When I open the copy in FPX and try to view a footprint though I get an error:

"Error retreiving basic data".

I've attached both FPX files here.

Harwin.fpx is the original.  Harwin2.fpx is the edited copy.

uploads/53/Harwin2.fpx

uploads/53/Harwin.fpx
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: 5716
Post Options Post Options   Thanks (1) Thanks(1)   Quote Tom H Quote  Post ReplyReply Direct Link To This Post Posted: 21 Oct 2013 at 7:56am
You can import FPX ASCII into Excel, but you cannot go from M/S Excel to FPX ASCII. FPX ASCII is a basic code and must be translated from Microsoft format to basic ASCII format.
 
In Excel you should select cell A1 and then CTRL + A to "Select All" and then CTRL + C to "Copy Selected Cells".
 
Open Notepad ASCII text editor and CTRL + V Paste into Notepad.
 
In Notepad select "File > Save As > FileName.FPX" and save to your Library Expert default FPX folder.
 
It should work every time.
 
Personally, I edit FPX files in Excel every day to take advantage of Microsoft features and convert back to FPX for Searching, Viewing, Datasheet Linking and Batch Creating PCB library parts using my personal User Preferences.
 
Stay connected - follow us! X - LinkedIn
Back to Top
jameshead View Drop Down
Expert User
Expert User
Avatar

Joined: 20 Mar 2012
Location: Oxfordshire, UK
Status: Offline
Points: 576
Post Options Post Options   Thanks (0) Thanks(0)   Quote jameshead Quote  Post ReplyReply Direct Link To This Post Posted: 21 Oct 2013 at 8:00am
Thanks, I remember you saying once that you edited in Excel but couldn't remember the details.  Thanks for clarifying.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.187 seconds.