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
|
If a default via can be determined, it will be selected. |
|
|
Space bar can be used in conjunction with the shift key. |
Value Returned
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