Grasshopper API
GH_ComponentParamServerCreateDuplicate Method |
Attempts to duplicate a parameter. Attributes will be ignored.
Warning! The duplicate will have the same ID as the original!
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

public static IGH_Param CreateDuplicate( IGH_Param original )
Public Shared Function CreateDuplicate ( original As IGH_Param ) As IGH_Param
Parameters
- original
- Type: Grasshopper.KernelIGH_Param
Parameter to duplicate.
Return Value
Type: IGH_ParamA dupicate of the original or null on failure.
