How to import Allegro files to Altium

Created: March 25, 2021 | Updated: August 12, 2021

This document describes different approaches for getting Allegro files into Altium Designer.

Starting in Version: 18.0
Up to Version: Current

Solution Details

OrCAD is a proprietary software tool suite used primarily for Electronic Design Automation (EDA) developed by Cadence Design Systems, Inc. The name OrCAD is a portmanteau, reflection of the software's origin and the company's focus: Oregon (Oregon, United States) + CAD (Computer-Aided Design).  OrCAD is part of the Allegro platform.

In addition to this knowledge article, please review this documentation:
https://www.altium.com/documentation/altium-designer/allegro-import-ad

 
Altium Designer supports the import of binary (*.brd) and ASCII (*.alg) files from Allegro (up to version 17.2). To import the files, Altium Designer ultimately needs the ASCII versions. Binary versions need to go through a conversion process that  requires a local installation of extracta.exe that is installed as part of Allegro to convert the *.brd file to the Allegro ASCII *.alg file that Altium can import.  As this utility is part of the Allegro tools, Altium is unable to redistribute this file, or the DLLs required to run it.  Therefore, the conversion requires a machine with Allegro installed. 

If both programs are installed and licensed on the same machine, then Altium Designer can automatically use Allegro's utilities to convert the *.brd file into *.alg and then into an Altium Designer file.  You can skip ahead to the import instructions below (look for the dark screen shots from the import Wizard.)


If an ASCII version is not available, you can download a free demo version of OrCAD which has extracta.exe, as part of the Cadence Allegro distribution. https://www.orcad.com/free-trial
 
Note that extracta.exe is tied to a valid Allegro license so when the trial expires you will no longer be able to import the *.brd file. Altium can import the Allegro ASCII *.alg file without having an installation of Allegro on your machine.

Installing the OrCAD Trial version will install Allegro along with other included programs.

Installation takes around 30 minutes and it’s installed in the C drive as shown in below:

InstallDirectory.png

 

In order to import Allegro17 files you need to install the latest version of OrCAD and adjust your environment 'System Variables' as shown:

After Installation configure the Path System Environment Variable by following steps below:

 

In a Windows File Explorer right-click on This PC and select Properties

ENV_Variables_1.png

 

 

In the Control Panel ► System and Security ► System dialog, select ‘Advanced system settings’

ENV_Variables_2.png


 

In the System Properties dialog select ‘Environment Variables…’ in the lower right corner

ENV_Variables_3.png

 

 

Select the ‘Path’ variable in the System Variables section and then select ‘Edit’

ENV_Variables_4.png

 

 

Select ‘New’ in the Edit environment variable dialog and add the paths indicated in this image:

 

Add  'CDSROOTSystem Variable with a Value of C:\Cadence\SPB_17.2 (or whatever version you have)
Click the New button, then fill in the dialog like this:




Select OK on each dialog to close and then Restart your PC


If Allegro is installed on a different computer, or you get a message that:
"Cadence Allegro extracta.exe has timed out, unable to continue translation"

You may be able to convert a *.brd file (native Allegro binary) into a *.alg file (ASCII file used by AD Allegro importer) to avoid the timeout converting from *.brd to *.alg. You can also run extracta.exe from the command prompt and examine the log file that is created using the following steps.  This method of manually converting to the ASCII file first has been successful even when the wizard has failed on a machine with Allegro installed.  It can be performed a single machine if Allegro is installed and the system variables have been set.
 
1. Copy the Allegro binary PCB design file (PCBName.brd) and these two Altium Designer utility files from the computer that has Altium installed, into a working folder of a computer that has Extracta.exe installed as described above.
<Altium_Designer_Installation_Folder>\System\Allegro2Altium.bat
<Altium_Designer_Installation_Folder>\System\AllegroExportViews.txt
 

Note:  There was an issue with the version of Allegro2Altium.bat that came with AD20 that was fixed with the release of AD20.1.7 and newer.


2. Open a command prompt (start button ► cmd) and use the change directory command to get into your working folder. Example: cd C:\Documents\Files\Test
 
3. Once in the right directory, type in the command: Allegro2Altium PCBName.brd
 
4. The batch file invokes the Cadence-installed Allegro extracta.exe utility, using the AllegroExportViews.txt to direct the ASCII data extraction.
This produces an ASCII "PCBName.brd.alg" file. Now in Altium Designer, you should be able to import the "PCBName.brd.alg" file with no problem.

Note: At the time, an extract.log file will also appear in the directory. This may be useful if any errors occur when using the Cadence Allegro/OrCAD utilities.

 
5. Copy the new *.alg file(s) to the computer running Altium Designer.
 
6. Follow the steps below to use the import wizard.  If it still times out, the file might be too large for the conversion to ASCII.
 

Import Allegro file using the Altium Import Wizard

 

  • Launch Altium and select File ► Import Wizard
  • Select Next in the Import Wizard dialog
ImportWizard_1.png
 

 

 

  • Select Allegro Design Files in the Select Type of Files to Import dialog and then select Next

ImportWizard_2.png

 

 

  • Select the Add button in the lower right corner of the Importing Allegro Designs dialog and browse to the location of the Allegro .brd (or .alg file if you have already converted it) you desire to import, select the file and then select Open

ImportWizard_3.png

 

 

  • Verify the added file in following dialog and select Next

ImportWizard_4.png

 

 

  • Altium’s Allegro Import Wizard has the ability to import Allegro .DCFX Constraint Files that are exported from the Allegro Constraint Manager. If you have access to these files use the Add button to browse to the location of the .DCFX Allegro Constraint File for selection to add them to the import process and then select Next

ImportWizard_5.png

 

 

  • The Analyzing Files page will appear and display Blue Bars to show the progress of the analysis. The next page of the Wizard will appear once the analysis is complete.
  • Enable what Log files you wish to generate and select Next in the Reporting Options dialog

ImportWizard_6.png

 

 

  • In the Default PCB Specific Options dialog, select desired options regarding Polygon Connections, Plane Connections. Auto-Generated Objects and then select Next

ImportWizard_7.png

 

 

  • In the Current PCB Layer Mappings dialog box verify the layer mapping and make any changes you feel are necessary by selecting the cell enabling a drop down menu of layers to select. Select Next after verifying the layer mapping.

ImportWizard_8.png

 

 

  • In the Current PCB Options dialog review the output project structure and specify the output directory in which to import the files. Use the Browse Folder icon to search for and choose the Project Output Directory.
  • Click Menu to access options to edit the project structure:
  • Click Next to continue

ImportWizard_9.png

 

 

  • Next you will see Blue Bars indicating the progress of the output of the Allegro Import.
  • The Allegro Import Wizard has completed. Click Finish to close the Wizard.

ImportWizard_10.png

 

 

  • Completing the above steps you will get your Allegro .brd file translated to an Altium .PcbDoc as shown below. (Custom View Configuration)

ImportWizard_11b.png

 

 

 

Reference of this project:

https://www.intel.com/content/www/us/en/support/articles/000006443/boards-and-kits/intel-galileo-boards.html

 

See Also:

Allegro Design Files -

https://www.altium.com/documentation/altium-designer/edaimporter-dlg-importermanagerformimport-wizard-ad#

 

Was this article helpful?
0
0
Found an issue with this document? Highlight the area, then use Ctrl+Enter to report it.

Contact Us

Contact our corporate or local offices directly.

We're sorry to hear the article wasn't helpful to you.
Could you take a moment to tell us why?
200 characters remaining
You are reporting an issue with the following selected text
and/or image within the active document: