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

schHiOpenOtherView

schHiOpenOtherView(
d_cellViewID 
[ t_viewNames ] 
[ w_windowID ]
[ w_sessionWindowID ]
)
=> nil / windowID

Description

Allows you to switch between schematic and symbol views.

If t_viewNames only has one entry, then schHiOpenOtherView will open that view. However, if t_viewNames is not specified, or = nil, then the command will determine what views exist (excluding the current cellview). If any views do exist, a dialog box will be displayed prompting you to select a view to open. If no views exist, a warning message will be displayed informing you that there are no views that can be opened.

Consider the following relationships between w_windowID and w_sessionWindowID:

The UI menu equivalents are File – Open Schematic/Symbol.

Arguments

d_cellViewID

Specifies the view type that you want to update the current view to, for example “schematic”.

t_viewNames

Lists the view names(s) that you can choose to open. These must be enclosed in quotation marks.

w_windowID

Specifies the window/tab to be used to display the newly opened view.

w_sessionWindowID

Specifies the session window to display the opened cellview in.

Value Returned

nil

Indicates that the function has failed. For example, the view may not exist, or an attempt has been made to switch to schematic/symbol view from a layout view, or if the operation is canceled when asked to select a view.

windowID

Displays which window was updated, or created, with a new view.

Examples

Raises a dialog box asking you to select an alternative view which, once selected, will be opened in a new window. If there is only one possible view to open, this view will be opened automatically in the new window.

schHiOpenOtherView(geGetEditCellView())

Raises a dialog box asking you to select an alternative view which, once selected, will be opened in the current window. If there is only one possible view to open, this view will be opened automatically in the current window.

schHiOpenOtherView(geGetEditCellView() nil hiGetCurrentWindow())

Offers the choice of three views (schematic, symbol, and layout), and will open the selected view, if it exists, in a new window.

schHiOpenOtherView(geGetEditCellView() list(“schematic” “symbol” “layout”))


Return to top
 ⠀
X