Functions.SetVarExpr

Updated: 14 May 2020

Functions.SetVarExpr 

Calls the Tekla Tedds SetVar function with an expression value. Refer to ‘Tedds Functions’ for more documentation on this function.


Syntax 

SetVarExpr( name, expression, attributes ) 


Parameters 

name   Name of variable   
expression   Expression to assign
attributes Optional attributes of the variable, default is “e” (store value as expression) 


Return Value 

A CalcValue object that contains the value of the variable that was assigned.