Product Documentation
Virtuoso Schematic Editor SKILL Functions Reference
Product Version IC23.1, November 2023

schUnregisterPopUpMenu

schUnregisterPopUpMenu( 
t_category 
[ t_mode ] 
)
=> t / nil

Description

Unregisters the specific category and access mode for object-sensitive menus (OSMs) and reassigns the system default menus.

Arguments

t_category

Category for which the menu is unregistered.; must be enclosed in quotation marks.
Valid Values: instance, schPin instPin, wire, label, marker, schematic, schDefault, schSelSet, symPin, shapes, symbol, symDefault, symSelSet, schStandard, symStandard

t_mode

Access mode for which the menu handle is unregistered; must be enclosed in quotation marks. If you do not specify the mode, both modes are unregistered.
Valid Values: read, edit

Value Returned

t

Unregisters the specific category and access mode for object-sensitive menus (OSMs) and reassigns the system default menus.

nil

Unregistering was unsuccessful.

Examples

Unregisters the current OSM and reassigns the system default instance OSM. The system default appears when the cursor is over an instance when the current cellview is opened in read mode.

schUnregisterPopUpMenu( "instance" "read" )

Reassigns the system default for the instance category for both edit and read modes.

schUnregisterPopUpMenu( "instance" )

Return to top
 ⠀
X