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.

Declaration Syntax

public static void InvokeAndWait(InvokeConfiguration invokeConfiguration)

Parameters

invokeConfiguration(InvokeConfiguration)

Object containing configuration information to specify how the invoke should occur.