GH_UpgradeUtil.ReplaceInputParameters Method

GH_UpgradeUtilReplaceInputParameters Method

Move all input parameters from one component to another. Only use this function if the target component can handle the input layout of the source component.

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public static void ReplaceInputParameters(
	IGH_Component source,
	IGH_Component target
)
Public Shared Sub ReplaceInputParameters ( 
	source As IGH_Component,
	target As IGH_Component
)

Parameters

source
Type: Grasshopper.KernelIGH_Component
Component to move parameters from.
target
Type: Grasshopper.KernelIGH_Component
Component to move parameters to.
See Also