Interface ICalculator
Interface for the main Tedds Calculator
Namespace: Tekla.Structural.InteropAssemblies.TeddsCalc
Assembly: Tedds.TeddsCalcIA.dll
Syntax
[Guid("A43BFA70-9E47-464F-91D0-38BE504BB3B7")]
public interface ICalculator
Properties
| Name | Description |
|---|---|
| CalculatingErrorEvents | Determines whether error events are fired to the event listeners |
| CalculatingProgressEvents | Determines whether progress events are fired to the event listeners |
| Functions | Returns an object supporting the IFunctions interface which is used to access the internal Tedds calculator functions |
| Status | Returns the status of the Tedds calculator when the last evaluation finished. |
| UndefinedVariableEvents | Determines whether undefined variable events are fired to the event listeners |
| VersionLibraryMajor | Returns the major version number of the Tedds Engineering Library |
| VersionLibraryMinor | Returns the minor version number of the Tedds Engineering Library |
| VersionMajor | Returns the major version number of the Tedds software |
| VersionMinor | Returns the minor version number of the Tedds software |
| WindowHandle | Returns the Tedds calculator's main window handle |
Methods
| Name | Description |
|---|---|
| CopyOutputToClipboard(OutputFormat) | Copies the output item to the Windows clipboard in the specified format |
| GetOutput(OutputFormat) | Returns the documented output from the calculator in the specified format. |
| GetVariables(VariableFormat) | Returns all the variables defined in the calculator excluding temporary variables |
| GetVariables2(VariableFormat, bool) | Returns the current Document and Calc Section variables in the specified data format |
| GetVariables3(VariableFormat, bool, bool) | Returns the current Document and Calc Section variables in the specified data format |
| Initialize(string, string, string, int, int, int) | Initializes the calculator to start calculating |
| InitializeCalc(string, string, string, string, int, int, int) | Initializes the calculator and starts calculating using the specified Calc Library Item |
| SetForegroundWindow(int) | Executes the Windows API function SetForegroundWindow from the Tedds calculator process. |
| SetOwnerWindow(int) | Sets which window owns the Tedds calculator's main window |
| SetVariables(string, VariableFormat) | Assign the specified variables to the calculator instance |