maeSetStartingPointForOptimization
maeSetStartingPointForOptimization(
[ ?session t_sessionName ]
[ ?run t_runName ]
[ ?setupState t_setupState ]
[ ?runMode t_runMode ]
)
=> t / nil
Description
Sets the given setup state as the starting point for the Local Optimization or Global Optimization run mode in the specified run.
Arguments
|
?session t_sessionName
|
|
|
Name of the session.
If not specified, the current session is used.
|
|
?run t_runName
|
Name of run on which starting point is to be set from the given setup state. If you do not specify this argument, the starting point is set in the run options for the active setup.
The default value is "".
|
|
?setupState t_setupState
|
|
|
Name of setup state that is set as the starting point in the settings of the optimization run. If you do not specify this argument, ADE Assembler sets the starting point as Automatic.
The default value is "".
|
|
?runMode t_runMode
|
Specifies an optimization run mode to be used in the given run or the active setup when ?run is not specified.
-
Local Optimization: Sets the given setup state as the starting point for the Local Optimization run mode. -
Global Optimization: Sets the given setup state as the starting point for the Global Optimization run mode.
The default value is "".
|
Value Returned
|
t
|
The given setup state is set as the starting point for given run or the active setup.
|
|
nil
|
The given setup state is not set as the starting point.
|
Examples
Sets newState as the starting point in the options of the Local Optimization run mode for the Run_opt2 run in the run plan:
maeSetStartingPointForOptimization(?session maeGetDefaultSession() ?run "Run_opt2" ?setupState "newState" ?runMode "Local Optimization")
Return to top