Grasshopper API
GH_UpgradeUtilMigrateInputParameters Method (IGH_Component, IGH_Component, Int32, Int32) |
Migrate a bunch of input parameters.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)
public static bool MigrateInputParameters( IGH_Component source, IGH_Component target, int[] index0, int[] index1 )
Public Shared Function MigrateInputParameters ( source As IGH_Component, target As IGH_Component, index0 As Integer(), index1 As Integer() ) As Boolean
Parameters
- source
- Type: Grasshopper.KernelIGH_Component
Source component. - target
- Type: Grasshopper.KernelIGH_Component
Target component. - index0
- Type: SystemInt32
List of input indices to migrate. - index1
- Type: SystemInt32
Matching list of target indices.
Return Value
Type: BooleanTrue on success, false on failure.