There are two forms of the command used to start operations:
start_operation operationName [arg1 [arg2 [arg3 [...]]]] start_waitable_operation operationName [arg1 [arg2 [arg3 [...]]]]
Both of these commands start the operation, but the start_waitable_operation
will
return a operation handle. This handle should be stored in a TCL variable and can be used later to obtain
the results of the operation as discussed in Obtaining operation results.
The number of needed arguments depends upon the operation that is being called.
Examples:
start_operation collectRuns 4
This starts an operation collectRuns
with a single argument of 4. There is no way to for the caller to obtain
results from the operation after initiating the operation in this way.
set opHandle [start_waitable_operation optimize table_vert i2 20 0.05 0.1]
This starts an operation called optimize
with several arguments. The TCL variable opHandle
will
contain a unique value which can be used later to obtain the results of the operation.