Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Computer Aided Design - CAD > Cadence > Re: skill scrip...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 3929 of 4375
Post > Topic >>

Re: skill script about disable the exist menu

by Riad KACED <riad.kaced@[EMAIL PROTECTED] > Mar 20, 2008 at 04:13 AM

Hi Roye,

You can disable the menus from the LibManager using function :
lmgrManageMenuItems()
As far as I know, the libManager contains 4 pull down menus (by
default) : File, Edit, View and Design Manager.
The corresponding skill names for each of these menus are
respectively : fileCascade, editCascade, viewCascade and
designCascade.

So if you type in the following into your CIW :
lmgrManageMenuItems(list("fileCascade") nil)

This will remove the menu "file" from your currently opened libManager
and return "t" in the CIW.
Note that this command will only act on your active libManager. If you
close it down to restart a new one, this later will come with the
default menus again :-(

If you want to make this customization into you whole cadence session,
you just need to create a file called cdsLibMgr.il in your working/
home directory and add the above skill command.
To read more about the cdsLibMgr.il file : What does it contain, how
it is loaded and stuff ... please read the Cadence Library Manager
User Guide (Chapter 11).

FYI : If you want to get the list of the LibManager's menu items, type
in the following into your CIW (The libManager must be opened if you
want to see any result) :
lmgrQueryNamedObjects(). If you try
lmgrQueryNamedObjects("fileCascade"), this will give you the "File"
menu items list.

Good luck ;-)

Riad.
 




 2 Posts in Topic:
skill script about disable the exist menu
roye <47029237@[EMAIL   2008-03-17 20:21:09 
Re: skill script about disable the exist menu
Riad KACED <riad.kaced  2008-03-20 04:13:41 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 21:28:13 CST 2008.