Cadence SKILL GUI Modification to ADE (Analog Design Environment)

John G

Usenet Archive
Joined
Oct 13, 2004
Messages
6
Reaction score
0
Hi,

I want to add a custom menu pulldown to ADE, loading my Skill code in .cdsinit, and for every ADE instance I call, for the menu to be auto-loaded.

Here's my code so far with assistance from others:

procedure( UserSchMenu

hiCreatePulldownMenu( 'myMenu
"myMenu"
list( myItem )
) ;hiCreatePulldownMenu

hiInsertBannerMenu(hiGetCurrentWindow 'myMenu 99)
) ;proc

Then, put a trigger for the procedure to load,
e.g.:

deRegUserTriggers("analogArtist-schematic" nil nil 'UserSchMenu)

My problem is that with the previous statement, it causes this error:

*Error* User post install trigger is not a symbol.

Can someone please give me some pointers?

Thanks!!!!!!
 
Hi,

I want to add a custom menu pulldown to ADE, loading my Skill code in .cdsinit, and for every ADE instance I call, for the menu to be auto-loaded.

Here's my code so far with assistance from others:

procedure( UserSchMenu

hiCreatePulldownMenu(         'myMenu
          "myMenu"
          list( myItem )
      ) ;hiCreatePulldownMenu

      hiInsertBannerMenu(hiGetCurrentWindow 'myMenu 99)
) ;proc

Then, put a trigger for the procedure to load,
e.g.:

deRegUserTriggers("analogArtist-schematic" nil nil 'UserSchMenu)

My problem is that with the previous statement, it causes this error:

*Error* User post install trigger is not a symbol.

Can someone please give me some pointers?

Thanks!!!!!!

Oops I found my error -- just a stupid typo.

However, does someone know how to obtain the viewtype name of any arbitrary ICFB window? Ie how to find out that ADE viewtype is ""analogArtist-schematic" ??? (someone told me this but in the future I will be modding other windows as well)

Or -- is there a list of viewtypes somewhere in some PDF or webpage file or help file in ICFB ?

Thanks!
 
Ok, another question: How to handle passing parameters to callbacks?

ie :

hiCreateAppForm( blah blah ?callback 'myCallBackFunc )

procedure (myCallBackFunc( a b c) ) ; proc

How to pass params to callback from "hiCreateAppForm" thing?

Thanks!
 
Ok, another question: How to handle passing parameters to callbacks?

ie :

hiCreateAppForm( blah blah  ?callback 'myCallBackFunc )

procedure (myCallBackFunc( a b c)  ) ; proc

How to pass params to callback from "hiCreateAppForm" thing?

Thanks!

It's easier to use:

hiCreateAppForm( blah blah ?callback "myCallBackFunc( param1 param2)")

Save the commands in a file & use load("......") in .cdsinit to load this menu file.

Best regards.
I-FAB
 
deGetViewType(hiGetCurrentWindow)

or you can use the window(<number>) function to get the windowID of an arbitrary window

deGetAllViewTypes will return a list of all the registered viewtypes.
 

Latest threads

Back
Top