Click or drag to resize

GH_ParamTReplaceSource 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
public virtual 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.

Implements

IGH_ParamReplaceSource(Guid, IGH_Param)
See Also