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

schHiOpenSymbolOrSchematicView

schHiOpenSymbolOrSchematicView(
d_cellViewID 
[ w_windowID ]
)
=> nil / windowID

Description

Takes the current viewtype, schematic or symbol, then calls schHiOpenOtherView to then switch between the views.

The UI menu equivalent is File – Open Schematic/Symbol.

Arguments

d_cellViewID

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

w_windowID

Specifiies the window to be used to display the newly opened view. If no window is specified, the current window will be used.

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

Switches to the schematic view, opening it in the current window, if the symbol view is currently open, and vice versa. This will perform the same action as File – Open Schematic/Symbol or using the bindkey “Ctrl =”.

schHiOpenSymbolOrSchematicView(geGetEditCellView() hiGetCurrentWindow())

As above, but will open the view in a new window.

schHiOpenSymbolOrSchematicView(geGetEditCellView())

Related Topics

schHiOpenOtherView


Return to top
 ⠀
X