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
)
Sub ReplaceSource (
old_source_id As Guid,
new_source As IGH_Param
)
Parameters
- old_source_id
- Type: SystemGuid
Source to replace. - new_source
- Type: Grasshopper.KernelIGH_Param
Source to replace with.
See Also