//register all the input parameters
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddCurveParameter("Crve", "C", "Curves to Divide", GH_ParamAccess.item);
     pManager.AddNumberParameter("Distance", "D", "List of Distances", GH_ParamAccess.list);
     pManager.AddIntegerParameter("Repeat Type", "R", "0 = Wrap, 1 = Repeat Last, 2 = No Repeat. Default is 0", GH_ParamAccess.item, 0);
     //pManager.AddIntegerParameter("Pattern", "P", "Pattern index if using optional distances. ", GH_ParamAccess.list);
     pManager.HideParameter(0);
 }
 //register all the input parameters
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddCurveParameter("Curve", "C", "Curves to Divide", GH_ParamAccess.item);
     pManager.AddNumberParameter("Distance", "D", "List of Distances", GH_ParamAccess.list);
     pManager.HideParameter(0);
 }
Ejemplo n.º 3
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddGeometryParameter("Geometry", "G", "The geometry to preview", GH_ParamAccess.list);
     pManager.HideParameter(0);
     pManager.AddIntegerParameter("Seed", "S", "The random seed for color generation", GH_ParamAccess.item, 2);
 }