Click or drag to resize

IGH_ParamReplaceSource Method (Guid, 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(
	Guid old_source_id,
	IGH_Param new_source
)

Parameters

old_source_id
Type: SystemGuid
Source to replace.
new_source
Type: Grasshopper.KernelIGH_Param
Source to replace with.
See Also