TeddsCalcCommand.exe
The Tekla Tedds CalcCommand.exe is a utility application which allows the Tedds Calculator to be used in automation scenarios without having to use the Tekla Tedds API. Command line parameters can be used to configure the utility so that calculations can be executed using pre-defined input files with the calculated results being written to output files.
The CalcCommand.exe application can be found in the 32-bit or 64-bit Tedds program files directories which are typically located at “C:\Program Files\Tekla\Structural\Tedds” and “C:\Program Files(x86)\Tekla\Structural\Tedds” respectively.
Syntax
TeddsCalcCommand.exe -lib <calculation_library_filename> -item <calculation_library_itemname> -varin <input_variables_filename> [-varout <output_variables_filename>] [-ui (enabled/disabled/hidden)]
Parameters
Name | Value | Required | Description |
---|---|---|---|
-lib | calculation_library_filename | Yes | Full path (in quotes) of the Calc Library file where the calculation to execute is stored. |
-item | calculation_library_itemname | Yes | Short name of the Calc Item to execute which is located in the <calculation_library_filename> Calc Library |
-varin | input_variables_filename | Yes | Full path (in quotes) of the Tedds variables xml file which defines the input variables to use for the calculation. |
-varout | output_variables_filename | No | Full path (in quotes) of the Tedds variables xml file which will be saved when execution of the calculation has finished. |
-ui | enabled/disabled/hidden | No |
Determines whether the user interface of the calculation is displayed. If omitted the user interface will be enabled. enabled - The calculations user interface will be shown and the user must interact with the user interface to satisfy all the input validation checks to complete the design and produce the required output. hidden - The calculations user interface will be hidden and progression through the user interface will be simulated automatically, if the input validation checks fail then the user interface will be shown and the user must interact with the user interface to satisfy all the input validation checks in order to complete the design and produce the required output. disabled - The calculations user interface will be completely disabled, it will not be visible and no input validation will occur. Warning! - The design will be completed automatically according to the specified input, regardless of whether that input or the calculated results are valid. |
Parameters enclosed in [] are optional, all other parameters are required.
Creating a Tedds Variables XML file
A Tedds variables XML file can be created using the Tekla Tedds API or using Tedds for Word.
-
Open Tedds for Word
-
Create a new Tedds document
-
Insert the calculation you want to use in the document.
-
Calculate the document
-
Enter the values you want to use for the design and finish the calculation
-
Select the Tedds tab on the ribbon and in the Tools group open the Variables menu and select Export Variables
-
Enter the file name and location where you want to save the file
Example
Run the RC beam design (EN1992) calculation without the user interface disabled using a variable input file located at “c:\temp\input_variables.xml” and output the calculated results to “c:\temp\output_variables.xml”
TeddsCalcCommand.exe -lib "$(SysLbrDir)RC member design-EN1992-si-engb.lbr" -item "RC beam
design" -varin "c:\temp\input_variables.xml" -varout "c:\temp\output_variables.xml" -ui
disabled