Print Page | Close Window

Cadence OrCAD PCB 17.2 CAD Output Issue

Printed From: PCB Libraries Forum
Category: PCB Footprint Expert
Forum Name: Questions & Answers
Forum Description: issues and technical support
URL: https://www.PCBLibraries.com/forum/forum_posts.asp?TID=2214
Printed Date: 19 Nov 2024 at 2:41am


Topic: Cadence OrCAD PCB 17.2 CAD Output Issue
Posted By: JamesHeadOI
Subject: Cadence OrCAD PCB 17.2 CAD Output Issue
Date Posted: 05 Sep 2017 at 5:29am
I am having issues trying to get the Cadence Orcad PCB 17.2 output to work.

I have checked the setup for Cadence including the Setup > User Preferences and Paths, Library, psmpath and padpath and these point to the current working directory, to the folders which are used as a library for footprints and padstacks, and to the output folder for PCB Libraries.

Running the batch file doesn't work, the padstack_editor and allegro commands are flagged as an unrecognised command.

'padstack_editor'
'allegro'

is not recognised as an internal or external command, operable program or batch file.

I've copied padstack_editor.jrl into the PCB Libraries folder but without succecess.

Please advise.





Replies:
Posted By: JamesHeadOI
Date Posted: 05 Sep 2017 at 5:40am
I've already noted the "known cadence issue" subject under "bugs" on this forum.
My environment variables appear to be set up okay:
CDSROOT is C:\Cadence\SPB_16.6
PATH is
%CDSROOT%\tools\libutil\bin;%CDSROOT%\tools\pcb\bin;%CDSROOT%\tools\bin;%CDSROOT%\openaccess\bin\win32\opt;%CDSROOT%\tools\fet\bin;%CDSROOT%\tools\specctra\bin;%CDSROOT%\tools\pspice;%CDSROOT%\tools\pspice\library;%CDSROOT%\tools\capture;


Posted By: Tom H
Date Posted: 05 Sep 2017 at 7:24am
Did you read this?
https://www.pcblibraries.com/forum/known-cadence-17-2-issue-read-here_topic2081.html" rel="nofollow - https://www.pcblibraries.com/forum/known-cadence-17-2-issue-read-here_topic2081.html

And this?
http://www.pcblibraries.com/products/fpx/userguide/default.asp?ch=205" rel="nofollow - http://www.pcblibraries.com/products/fpx/userguide/default.asp?ch=205

If you have any CAD tool interface issues, please contact Chris Arnold.



-------------
Stay connected - follow us! https://twitter.com/PCBLibraries" rel="nofollow - X - http://www.linkedin.com/company/pcb-libraries-inc-/" rel="nofollow - LinkedIn


Posted By: JamesHeadOI
Date Posted: 05 Sep 2017 at 7:27am
Yes, I had read both the user guide and the known issue post prior to posting.
I had already gone through and checked the environment variables were all set up correctly.
I'll dig out Chris's e-mail.


Posted By: chrisa_pcb
Date Posted: 05 Sep 2017 at 11:03am
Originally posted by JamesHeadOI JamesHeadOI wrote:

I've already noted the "known cadence issue" subject under "bugs" on this forum.
My environment variables appear to be set up okay:
CDSROOT is C:\Cadence\SPB_16.6
PATH is
%CDSROOT%\tools\libutil\bin;%CDSROOT%\tools\pcb\bin;%CDSROOT%\tools\bin;%CDSROOT%\openaccess\bin\win32\opt;%CDSROOT%\tools\fet\bin;%CDSROOT%\tools\specctra\bin;%CDSROOT%\tools\pspice;%CDSROOT%\tools\pspice\library;%CDSROOT%\tools\capture;


If using 17.2, the CDSROOT must be set to the 17.2 root directory in order for the paths to resolve to the 17.2 binaries. The CDSROOT variable is a mechanic used by Cadence Switch Release to easily swap to a different version of OrCAD. It does this by changing the base directory for the product, which always has to match whichever version of allegro you're trying to access.


Posted By: JamesHeadOI
Date Posted: 05 Sep 2017 at 11:18pm
There's both 16.6 and 17.2 on the system. I understand 16.6 has been left on because it's the only method to import old Orcad Layout designs and libraries.

I've checked that both CDSROOT and PATH both now point to the 17.2 installation, and only that installation. The exe files required are in the tools/bin folder but still the error message appears.


Posted By: JamesHeadOI
Date Posted: 05 Sep 2017 at 11:43pm
I've managed to get the batch file running now. It seemed to be the case on this Windows 10 system that the PATH environment variable was entered for the local admin account and not the user account.

I still don't get a .dra file created though. The padstack is created but no .dra file but no error messages are shown.


Posted By: JamesHeadOI
Date Posted: 06 Sep 2017 at 3:52am
Parrallel Systems, the reseller, advised removing the top of the script for the footprint, i.e. this section:

# Allegro Script
# File: C:\_JH\PCBLibraries\Orcad\HARTING_09185507324\harting_09185507324.scr
version 17.2

setwindow pcb
new
newdrawfillin "harting_09185507324.dra" "Package Symbol"

So the first line is "color". This seems to work.


Posted By: JamesHeadOI
Date Posted: 06 Sep 2017 at 5:00am
It also involves running the script from inside the PCB Editor tool.


Posted By: Tom H
Date Posted: 06 Sep 2017 at 6:53am
Are you good to go now?



-------------
Stay connected - follow us! https://twitter.com/PCBLibraries" rel="nofollow - X - http://www.linkedin.com/company/pcb-libraries-inc-/" rel="nofollow - LinkedIn


Posted By: jameshead
Date Posted: 10 Oct 2017 at 4:22pm
Sorry for the delay in replying to this issue. 

There's something screwy with the Cadence OrCAD installation on the computer that I inherited here, probably as a result of the last user keeping both the current version 17 and the previous version 16 of OrCAD on the computer because of the need to convert legacy designs, and version 16 allows output of a certain format of PCB file apparently.

We may have a work around but to be honest the issue isn't relevent now because the company has decided to move from OrCAD to Pulsonix now.




Print Page | Close Window