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

leSpaceBarFunc

leSpaceBarFunc( 
[ w_windowId ] 
[ g_useDefault ] 
[ g_shift ] 
) 
=> return value from the called function

Description

Invokes the function specified by name in the Virtuoso Layout Suite L environment variable spaceFuncName when the g_useDefault argument is set to t. When the g_useDefault argument is set to nil the space bar is not used as a bindkey. If w_windowId is not specified, the current window is used.

Arguments

w_windowId

Window ID of the window specified.

g_useDefault

If a default via can be determined, it will be selected.
Valid Values: t or nil

g_shift

Space bar can be used in conjunction with the shift key.
Valid Values: t or nil

Value Returned

return value from the called function

Return value from the called function.

Example

\a leHiCreateWire() 
\a mouseAddPoint()
\i 10.15:19.34 ;user initiates new path or pathSeg here
\a leSpaceBarFunc(hiGetCurrentWindow() t
)

This command will be generated in the log during execution of commands such as Create – Wire where the space bar can be used as a convenient way to add a via. In this example the user selects a via to add, the default if available. The Add Via form will appear if a default via is not available.


Return to top
 ⠀
X