View Full Version : allegro menu
shiva
05-09-2007, 07:09 AM
Hi all,
could anyone clear me how to create an customized new allegro menu in pcb editor. any skills available for this??????????
Thanks & Regards
shiva.
cadpro2k
05-11-2007, 09:52 AM
From: "Michael Catrambone" <Michael.Catrambone@utstar.com>
Date: Thu, May 10, 2007 9:02 am
To: icu-pcb-forum@freelists.org
--------------------------------------------------------------------------
I setup something a while back that does exactly what you are looking for.
It was done using aliases and setting inside of the env file.
Add the following to your local pcbenv/env file:
# Read Library Environment file
source C:\Allegro_Libs\lib_env.txt
The contents of the library environment file (C:\Allegro_Libs\lib_env.txt) would be as follows:
#
# ALLEGRO Library environment file
# # - this indicates a comment#
#--------------------------------------------------------------------
# Library Variables (This paths may need to be updated to match you library structure)
set STD_LIBPATH = C:\Allegro_Libs\Std_Libs
set CUST_1_LIBPATH = C:\Allegro_Libs\Customer_Libs\Customer_1
set CUST_2_LIBPATH = C:\Allegro_Libs\Customer_Libs\Customer_2
#--------------------------------------------------------------------
# Default Library Search Path Variables
set PSMPATH = . $STD_LIBPATH\symbols
set PADPATH = . $STD_LIBPATH\padlib
#--------------------------------------------------------------------
# Default Library Search Path Variables - Alias
alias std_psmpath 'set PSMPATH . $CUST_1_LIBPATH\symbols'
alias std_padpath 'set PADPATH . $CUST_1_LIBPATH\padlib'
alias std_lib_echo 'skill axlUIConfirm("You are now setup to point to
the Default Allegro Library")'
#--------------------------------------------------------------------
# Customer 1 Library Search Path Variables - Alias
alias cust1_psmpath 'set PSMPATH . $CUST_1_LIBPATH\symbols'
alias cust1_padpath 'set PADPATH . $CUST_1_LIBPATH\padlib'
alias cust1_lib_echo 'skill axlUIConfirm("You are now setup to point to
the Customer 1 Allegro Library")'
#--------------------------------------------------------------------
# Customer 2 Library Search Path Variables - Alias
alias cust2_psmpath 'set PSMPATH . $CUST_2_LIBPATH\symbols'
alias cust2_padpath 'set PADPATH . $CUST_2_LIBPATH\padlib'
alias cust2_lib_echo 'skill axlUIConfirm("You are now setup to point to
the Customer 2 Allegro Library")'
#--------------------------------------------------------------------
# Set Library Search Path Variables to the Customer Libraries using an alias
alias std_lib 'std_psmpath ; std_padpath ; std_lib_echo'
alias cust1_lib 'cust1_psmpath ; cust1_padpath ; cust1_lib_echo'
alias cust2_lib 'cust2_psmpath ; cust2_padpath ; cust2_lib_echo'
#--------------------------------------------------------------------
After you make this changes that all you will have to do is type on the Allegro command line “cust1_lib” to access the Customer 1 libraries, ““cust2_lib” to access the Customer 2 libraries and “std_lib” to access your default libraries.
Hope this helps,
Michael Catrambone
UTStarcom, Inc.
Chairman
Cadence Designer Network
CDNLive! Worldwide Web Site: http://www.cdnlive.com
vBulletin® v3.6.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.