IGH_ParamReplaceSource Method (IGH_Param, IGH_Param) |
Replace an existing source with a new one. If the old_source
does not exist in this parameter, nothing happens.
Namespace:
Grasshopper.Kernel
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax void ReplaceSource(
IGH_Param old_source,
IGH_Param new_source
)
Sub ReplaceSource (
old_source As IGH_Param,
new_source As IGH_Param
)
Parameters
- old_source
- Type: Grasshopper.KernelIGH_Param
Source to replace. - new_source
- Type: Grasshopper.KernelIGH_Param
Source to replace with.
See Also