[PCB_FORUM] Re: ?????: Re: customized menu

  • From: "Michael Catrambone" <Michael.Catrambone@xxxxxxxxxx>
  • To: <icu-pcb-forum@xxxxxxxxxxxxx>
  • Date: Fri, 11 May 2007 00:02:05 +0800

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 <http://www.cdnlive.com> 
Cadence User Community Web Site: http://www.cdnusers.org 
<http://www.cdnusers.org/> 

________________________________

From: icu-pcb-forum-bounce@xxxxxxxxxxxxx 
[mailto:icu-pcb-forum-bounce@xxxxxxxxxxxxx] On Behalf Of Tmi Systems PCB Design 
- Amin Aslan
Sent: Wednesday, May 09, 2007 11:02 PM
To: icu-pcb-forum@xxxxxxxxxxxxx
Subject: [PCB_FORUM] ?????: Re: customized menu

 

maybe someone has an idea to solve this problem; we are a pcb design company 
with more than 30 customers. each one having his own library.

the problem is we would like to load this customer env file everytime we load a 
board, without going to preferences everytime.the way we do it now,

is that we change psmpath and padpath........ evrytime we load a different 
customer..... please help

 

________________________________

מאת: icu-pcb-forum-bounce@xxxxxxxxxxxxx 
[mailto:icu-pcb-forum-bounce@xxxxxxxxxxxxx] בשם Dave Schaefer
נשלח: Thursday, May 10, 2007 5:40 AM
אל: icu-pcb-forum@xxxxxxxxxxxxx
נושא: [PCB_FORUM] Re: customized menu

Shiva,

 

You can include skill routines in your custom menus.

 

Log in to your Sourcelink account and query Menu Customization – you’ll find 
loads of information and examples.

 

Hth,

Dave Schaefer

dave.schaefer@xxxxxxx

 

-----Original Message-----
From: icu-pcb-forum-bounce@xxxxxxxxxxxxx 
[mailto:icu-pcb-forum-bounce@xxxxxxxxxxxxx] On Behalf Of shiva shiva
Sent: Wednesday, May 09, 2007 9:09 PM
To: icu-pcb-forum@xxxxxxxxxxxxx
Subject: [PCB_FORUM] customized menu

 

HI all,

How to create an customized allegro menu bar in editor. any skill available for 
this???

Thanks & Regards
shiva.

  

________________________________

Office firewalls, cyber cafes, college labs, don't allow you to download CHAT? 
Here's a solution! 
<http://us.rd.yahoo.com/mail/in/ymessenger/*http:/in.messenger.yahoo.com/webmessengerpromo.php>
  

Other related posts: