API Guide > PTC Mathcad Prime Objects > Object: SetValueResults
Object: SetValueResults
This object represents the PTC Mathcad Prime SetValueResults COM interface Ptc.MathcadPrime.Automation.IMathcadPrimeSetValueResults.
This PTC Mathcad Prime COM object gets the results of multiple values of double or matrix scaled values set operation.
Methods
GetResultByAlias(aliasArg)—Returns result of set operation by alias.
aliasArg (string) is the alias of set operation.
Returns:
–1
An unknown error occurred when performing this function. It can also occur if the worksheet is not open.
0
No error. The function was successful.
1
An alias of input/output item was not found.
2
Input/Output has been disabled.
3
Units incompatible.
4
Input is invalid.
5
Calculation error.
6
Result type incompatible.
7
Matrix result is invalid.
8
Calculation time out.
9
Calculation disabled.
GetResultByIndex(indexArg)—Returns result of set operation by index.
indexArg (integer) is the index of set operation.
Returns:
–1
An unknown error occurred when performing this function. It can also occur if the worksheet is not open.
0
No error. The function was successful.
1
An alias of input/output item was not found.
2
Input/Output has been disabled.
3
Units incompatible.
4
Input is invalid.
5
Calculation error.
6
Result type incompatible.
7
Matrix result is invalid.
8
Calculation time out.
9
Calculation disabled.
Properties
Count—Gets the error code.
Returns:
Zero in case of error.
Was this helpful?