rdeSource
rdeSource(
t_fileName
[ g_openCurrentDesign ]
[ s_doCheckPoint ]
) ;
=> t / nil
Description
This function sources the Tcl expression that is supplied. There are arguments to open the current design and also perform a checkpoint once the Tcl file has been sourced.
Arguments
|
t_fileName
|
The name of the file to be executed.
|
|
g_openCurrentDesign
|
Allows you to load the current geWindow design in Virtuoso Routing IDE environment. This argument can be set to t or nil. By default, the option is set to t. If this option is set to nil, then the current geWindow design will not be loaded.
|
|
s_doCheckPoint
|
Performs an automatic checkpoint of the design data unless this argument is supplied and set to ‘nil’. This argument can be set to t or nil. By default, it is set to t.
|
Value Returned
|
t
|
Returns t if the Virtuoso Routing IDE environment is initiated.
|
|
nil
|
Returns nil if the supplied Tcl script file is not found.
|
Examples
The following example opens the current design, sources the Tcl file test.tcl and does an automatic check.
rdeSource("test.tcl" t t)
Related Topics
Space-based Router Functions
Return to top