You are here:
OrCAD and AllegroLast Updated: May 28, 2019
To build a PCB Project using The OrCAD PCB Editor, you will need to export ODB++ files and build a Bill of Materials excel file. These then can be uploaded into your PCB Project in MacroFab.
OrCAD and Cadence Allegro ODB++ File Generation
ODB++ files are exported directly from your PCB and include all of the necessary manufacturing data needed to manufacture your design.
Before exporting the files, the correct layers must be defined in the Artwork Control form. You can access the Artwork Control form using Export > Gerber or if using the Cadence Allegro Editor select Manufacture > Artwork. An application note titled Creating Film Records can be found on the EMA Resource center https://support.ema-eda.com
Exporting ODB++ Files
In the PCB Editor select Export > ODB++ Inside… or if using the Allegro PCB Editor select File > Export > ODB++ Inside…
Select “No” to the confirmer asking if you want to extract the net impedance average.
You are presented with the ODB++ Inside UI.
Select the Create Archive option of “Tar gzip (.tgz)” and select “Next”
Once complete, The file odbjob.tgz, or the prefix provided in the “ODB++ product model name” field, will be created and the ODB++ Viewer will be presented to you which has all of the films in the database created. You can select “Close” to close the application.
Exporting Bill of Materials File
For a Bill of Materials from the PCB Editor you can output the Component report by selecting Export > Reports. Select the Component Report, the option to write the report and provide a file name. Select Generate Reports. In addition to the supplied reports you can create a customer report file using the New/Edit functionality to
The following extract file will extract component information that can be used for a BOM. Copy the lines to a text file and save it to a location pointed to by your textpath variable. We have also provided this as a download here.
# Cut here and include the last END entry in the file # This is an extract command file # generated by the Extract UI. # COMPONENT REFDES_SORT REFDES SYM_CENTER_X SYM_CENTER_Y SYM_ROTATE SYM_MIRROR PLACEMENT_LAYER SYM_NAME COMP_INSERTION_CODE COMP_PART_NUMBER COMP_VALUE COMP_TOL COMP_CLASS END
This will create a comma delimited text file that can be brought into Excel or Google Docs. Then export it as a .xlsx spreadsheet. The Required Design Files article has more information about the Bill of Material format for spreadsheets MacroFab supports. You will now have the ODB++ file package and a Bill of Materials in a spreadsheet in the .xlsx format. These files can then be uploaded to the MacroFab system.