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