Use this command to run a script in context of a given application API. The property ContextName determines the application the script is executed in. See Ansys.ACT.WorkBench.QCServices.ExecuteJournalCommand for example usage.
Declaration Syntax
public class ExecuteWorkbenchScriptCommand : ICommand, ICommandBase
Table 1995: Members
| 
                 Method  | InvokeAndWait() | 
                 Use this command to run a script in context of a given application API. The property ContextName determines the application the script is executed in. See Ansys.ACT.WorkBench.QCServices.ExecuteJournalCommand for example usage. The caller is blocked until execution finishes.  | 
| 
                 Method  | InvokeAndWait(InvokeConfiguration) | 
                 Use this command to run a script in context of a given application API. The property ContextName determines the application the script is executed in. See Ansys.ACT.WorkBench.QCServices.ExecuteJournalCommand for example usage. The caller is blocked until execution finishes. Use this form for more control over the way the command/query is invoked.  | 
| 
                 Method  | InvokeAndWait(IProtectedContext) | 
                 Use this command to run a script in context of a given application API. The property ContextName determines the application the script is executed in. See Ansys.ACT.WorkBench.QCServices.ExecuteJournalCommand for example usage. The caller is blocked until execution finishes. Use this form to pass a command or query context.  | 
| 
                 Method  | InvokeAndWait(IProtectedContext, InvokeConfiguration) | 
                 Use this command to run a script in context of a given application API. The property ContextName determines the application the script is executed in. See Ansys.ACT.WorkBench.QCServices.ExecuteJournalCommand for example usage. The caller is blocked until execution finishes. Use this form for more control over the way the command/query is invoked. Use this form to pass a command or query context.  | 
| 
                 Method  | InvokeAndWait(IProtectedContext, IProgressMonitor) | 
                 Use this command to run a script in context of a given application API. The property ContextName determines the application the script is executed in. See Ansys.ACT.WorkBench.QCServices.ExecuteJournalCommand for example usage. The caller is blocked until execution finishes. Use this form when progress tracking is needed. Use this form to pass a command or query context.  | 
| 
                 Method  | InvokeAsync() | 
                 Use this command to run a script in context of a given application API. The property ContextName determines the application the script is executed in. See Ansys.ACT.WorkBench.QCServices.ExecuteJournalCommand for example usage. Control returns immediately to the caller.  | 
| 
                 Method  | InvokeAsync(InvokeConfiguration) | 
                 Use this command to run a script in context of a given application API. The property ContextName determines the application the script is executed in. See Ansys.ACT.WorkBench.QCServices.ExecuteJournalCommand for example usage. Control returns immediately to the caller. Use this form for more control over the way the command/query is invoked.  | 
| 
                 Method  | InvokeAsync(IProtectedContext) | 
                 Use this command to run a script in context of a given application API. The property ContextName determines the application the script is executed in. See Ansys.ACT.WorkBench.QCServices.ExecuteJournalCommand for example usage. Control returns immediately to the caller. Use this form to pass a command or query context.  | 
| 
                 Method  | InvokeAsync(IProtectedContext, InvokeConfiguration) | 
                 Use this command to run a script in context of a given application API. The property ContextName determines the application the script is executed in. See Ansys.ACT.WorkBench.QCServices.ExecuteJournalCommand for example usage. Control returns immediately to the caller. Use this form for more control over the way the command/query is invoked. Use this form to pass a command or query context.  | 
| 
                 Method  | InvokeAsync(IProtectedContext, IProgressMonitor) | 
                 Use this command to run a script in context of a given application API. The property ContextName determines the application the script is executed in. See Ansys.ACT.WorkBench.QCServices.ExecuteJournalCommand for example usage. Control returns immediately to the caller. Use this form when progress tracking is needed. Use this form to pass a command or query context.  |