schHiOpenOtherView
schHiOpenOtherView(d_cellViewID[t_viewNames] [w_windowID] [w_sessionWindowID] ) => nil / windowID
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:
-
If both
w_windowIDandw_sessionWindowIDare nil, a new session window will be opened to display the cellview -
If
w_sessionWindowIDis set to an existing session window, andw_windowIDis nil, then a new tab will be opened in the existing session window to display the cellview. -
If
w_sessionWindowIDis nil, andw_windowIDis set to an existing window, then the existing window will be reused to display the cellview. -
If
w_sessionWindowIDis set to an existing session window, andw_windowIDis set to an existing tab, then that tab will be used to display the cellview if it belongs to the specified session window. If however the tab corresponding to thew_windowIDbelongs to a different session window than the window specified inw_sessionWindowID, then an error will be displayed.
Arguments
Value Returned
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