Quantcast
Channel: Cadence Custom IC Skill Forum
Viewing all articles
Browse latest Browse all 5066

Using SKILL functions from within the Library Manager

$
0
0

Hello,

I found a useful post from a few years ago regarding adding a menu to the Library manager.

https://community.cadence.com/cadence_technology_forums/f/custom-ic-skill/37705/callback-function-for-library-manager-menu-item

From this I'm trying to create a routine which will change a parameter (viewSubType) on a layout view and I am hoping to do that by selecting the view and then envoking my routine from the Library Manager menu.

I specified my procedure in the .cdsinit file and the menu is defined in the cdsLibMgr.il.

procedure(myLmgrMenuItemCallback(str1 str2 str3 str4 str5 str6)
printf("%s %s %s %s %s %s\n" str1 str2 str3 str4 str5 str6)

cv=ddGetObj(str1 str2 str3 nil nil "a")
cv~>viewSubType="maskLayoutL"

The first part of the routine works fine and I see the name of the layout in question displayed in the Virtuoso window (CIW). However the ddGetObj operation does not seem to work. I receive an error that cv is nil.

Are all SKILL functions available within the Library Manager as I think it's a little different than the standard windows under Virtuoso? I'm not sure that I'm correctly defining my procedure so that it is accessible from the Library Manager.

Any advice or pointers for documents that I should look at would be gratefully received.

Many thanks,

Matthew Cordrey-Gale


Viewing all articles
Browse latest Browse all 5066

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>