API Guide > PTC Mathcad Prime Objects > Object: ValuesSetter
Object: ValuesSetter
Represents an API for setting multiple values of double, or matrix scaled values by alias.
Ptc.MathcadPrime.Automation.IMathcadPrimeValuesSetter
Methods
AddMatrixValue(aliasArg, valueArg, unitsArg)—Creates and adds setter for matrix scaled value.
aliasArg (string) is the alias of the input item.
valueArg (variant) is the matrix value to set.
unitsArg (string) is the units to set.
AddScalarValue(aliasArg, valueArg, unitsArg)—Creates and adds setter for double scaled value.
aliasArg (string) is the alias of the input item.
value (double) is the double value to set.
unitsArg (string) is the units to set.
AddSExprValue(aliasArg, SExpression)—Creates and adds setter for SExpression scaled value.
aliasArg (string) is the alias of the input item.
SExpression (string) is the value to set.
AddStringValue(aliasArg, valueArg)—Creates and adds setter for string scaled value.
aliasArg (string) is the alias of the input item.
valueArg (string) is the value to set.
SetValues(secondsArg)—Sets values from collection to appropriate items.
secondsArg (integer) is the number of seconds to wait for results, or –1 to wait indefinitely.
Was this helpful?