Blog
hero-flat.jpg

Mentor Expedition Library Tutorial: Make Schematic Symbols from CSV Files

tutorial_libraries.png

General Process Overview

                Select a symbol

                Export pins to ms excel spreadsheet

                Make pin changes in the spreadsheet

                Import pins and generate symbol automatically

  1. To begin, open your library in Library Manager. 
  2. Select a symbol which will be used as a template. In this instance the part is a 34 pin connector which exists in the Optimum Library. library_post_csv_1
  3. Right click the symbol and click Edit. library_post_csv_2
  4. The symbol editor will open with the selected symbol displayed. We will export the pins of this symbol to a .csv file, and open it in Microsoft Excel to make changes.
  5. From the Symbol Editor, click File > Export Pins 

New Call-to-action

library_post_csv_3

  1. Name the file something relevant, and save it in .csv format.
    library_post_csv_4
  2. Navigate to the .csv on your hard drive, and open it with Excel.
  3. Take note of how the pins are organized in the spreadsheet, and the order in which they are displayed.
  4. For this demo we will delete pins 30-34 from the symbol. All desired changes can be made to the symbol in this spreadsheet; including changing numbering, inverting pins, adding new pins, etc. This simply requires deleting the relevant rows from the .csv file. 
  5. We will also remove the mounting holes from the symbol, again, by simply deleting the rows from the .csv file. library_post_csv_5
  6. Save all changes made to the pinout, and exit Excel.
  7. From the Symbol Editor, click File > Generate symbol from pins… library_post_csv_6
  8. Navigate to the edited .csv, and Open.
  9. The symbol is automatically generated with the updated input and output pin configuration. Pins 30-34, and the mounting holes, have been removed as desired. library_post_csv_8
  10. Apply any necessary changes to spacing and labeling size, and clean up the symbol as necessary per your company or customer's specifications. Click File > Save As to save the new, edited symbol.