Click or drag to resize

GH_ParamTReplaceSource 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
public virtual void ReplaceSource(
	IGH_Param old_source,
	IGH_Param new_source
)

Parameters

old_source
Type: Grasshopper.KernelIGH_Param
Source to replace.
new_source
Type: Grasshopper.KernelIGH_Param
Source to replace with.

Implements

IGH_ParamReplaceSource(IGH_Param, IGH_Param)
See Also