Grasshopper API
GH_RhinoScriptInterfaceSetSliderRangeAndValue Method |
Find a slider and assign a new value.
Namespace: Grasshopper.Plugin
Assembly: Grasshopper (in Grasshopper.dll)
public bool SetSliderRangeAndValue( string sliderID, double value, double minimum, double maximum )
Public Function SetSliderRangeAndValue ( sliderID As String, value As Double, minimum As Double, maximum As Double ) As Boolean
Parameters
- sliderID
- Type: SystemString
Slider ID. - value
- Type: SystemDouble
New value. If the value exceeds the limits, it will be clipped. - minimum
- Type: SystemDouble
New slider minimum. - maximum
- Type: SystemDouble
New slider maximum.
Return Value
Type: BooleanTrue on success, false on failure.