Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

leHiAddWireVia

leHiAddWireVia( 
[ w_windowId ] 
[ t_defaultTarget ] 
[ g_rotate ] 
) 
=> t / nil

Description

When the Create – Wire command is active, this function allows you to place a via on a path or pathSeg or opens the Select Via form and select a via. If w_windowId is not specified, the current window is used.

Arguments

w_windowId

The current window ID.

t_defaultTarget

Valid Values: unique, select, up, down, cancel, layerName, viaName, t, nil.

  • unique or t: Selects the only available via otherwise opens the Select Via form.
  • select or nil: Opens the Select Via form.
  • up or Up: Selects the default via for the layer above current layer
  • down or Down: Selects the default via for the layer below current layer or opens the Select Via form if the layers below current layer are implant layers.
  • cancel: Cancels any pending vias.
  • layerName: Closes the form and selects a via to connect to the specified layer.
  • viaName: Closes the form and selects the specified via.

g_rotate

Boolean which specifies whether to rotate the via or not. Default is nil.

Value Returned

t

A via is placed or the form is opened for via selection depending on the arguments.

nil

The window ID is invalid or specified via or layer can not be found.

Examples

leHiAddWireVia(hiGetCurrentWindow() "up")

Related Topics

Interactive and Assisted Routing Functions

Working With Vias

leSpaceBarFunc


Return to top
 ⠀
X