IFunctionsSetVarExpr Method

Assigns an expression value to the named variable using the Tedds 'SetVar' function. For information on Tedds calculation functions, use Tedds for Word and refer to the Tedds engineering library index at "Writing your own custom calculations\Calculation writing documentation\Tedds functions"

Namespace:  Tekla.Structural.InteropAssemblies.TeddsCalc
Assembly:  Tedds.TeddsCalcIA (in Tedds.TeddsCalcIA.dll) Version:
ICalcValue SetVarExpr(
	string name,
	string value,
	string attributes = "e"


Type: SystemString
Name of the variable
Type: SystemString
Expression to assign
attributes (Optional)
Type: SystemString
attributes Variable attribute flags (h = hidden, t = temporary, e = expression, r = readonly)

Return Value

Type: ICalcValue
numerical error code
See Also