Re: create a form with Skill that create a file from library manager



Hi,

The Cadence Documentation is your best companion.
You have to learn how to create guis/forms/buttons and write the
callbacks which are the skill functions to be executed underneath ...
Give a look to the folowing documents :

1. The Skill User Guide: $CDSHOME/doc/sklangref/sklangref.pdf
2. The Skill reference Manual: $CDSHOME/doc/sklanguser/sklanguser.pdf
3. The User interface Manual: $CDSHOME/doc/skuiref/skuiref.pdf

The later is a good one to know about the forms/buttons and other GUI
stuffs. It comes with loads of examples as well.
This is a good one that can help for your browser task.
Do note that many posts related to guis/forms have been answered in
this forum, just google it !

Give it try yourself and feel free to back if you need a more specific
thing.

Riad.

-------- Snippet from The User interface Manual
Adding an Entry to a Menu
The following code adds a new entry, Library Browser, to the CIW. It
looks for the Library
Manager entry in all the menus of the CIW, and adds an entry for the
Library Browser
immediately after it.
let( ((ciwBannerMenus hiGetBannerMenus(window(1))) toolMenu
pdItem menuList found libBrowser)
while(ciwBannerMenus
pdItem = eval(car(ciwBannerMenus))
ciwBannerMenus = cdr(ciwBannerMenus)
menuList = pdItem ->_menuItemList
while(menuList
menuItem = car(menuList)
menuList = cdr(menuList)
when(menuItem == ’LibMan
found = t
menuList = nil
ciwBannerMenus = nil
)
)
)
when( found
libBrowser = hiCreateMenuItem(
?name ’LibBrowser
?itemText "Library Browser..."
?callback "dmbOpenLibDAGBrowser()"
)
hiInsertMenuItem(pdItem libBrowser ’LibMan)
)
)
.