GH_PointReferenceParam Method (Int32, Double) |
Sets the index of the point reference data.
Namespace:
Grasshopper.Kernel.Types
Assembly:
Grasshopper (in Grasshopper.dll)
Syntaxpublic void ReferenceParam(
int index,
double new_param
)
Public Sub ReferenceParam (
index As Integer,
new_param As Double
)
Parameters
- index
- Type: SystemInt32
The index of the parameter. Only 0 and 1 are valid values. - new_param
- Type: SystemDouble
The new value of the parameter
RemarksIf there is no reference data, this function will create a new instance.
See Also