Method GetValue
GetValue(ParameterId)
Gets the value of the given parameter. The kind of SmartObject is fixed by the ParameterType: SmartInteger for integer parameter, SmartReal for real parameter, et caetera... If the parameter is a composite, like bound or feedrate, the returned object is a SmartInteger with the type. Use GetValueBoundValue(ParameterId) and GetValueBoundElement(ParameterId) to get other items of the bound parameter.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 8, 0, 0)]
SmartObject GetValue(ParameterId inParameterId)
Parameters
| Type | Name | Description |
|---|---|---|
| ParameterId | inParameterId | Parameter to get. |
Returns
| Type | Description |
|---|---|
| SmartObject | A new SmartObject with the current value of the parameter. A SmartInteger with the type for a bound parameter. |