コード例 #1
0
 //register all output parameters
 protected override void RegisterOutputParams(GH_OutputParamManager pManager)
 {
     pManager.AddCurveParameter("Curve", "C", "Curves with new domain", GH_ParamAccess.list);
     pManager.AddPointParameter("Points", "P", "division Parameters", GH_ParamAccess.list);
     pManager.AddNumberParameter("Parameters", "t", "division Parameters", GH_ParamAccess.list);
     pManager.HideParameter(0);
 }
コード例 #2
0
 //register all output parameters
 protected override void RegisterOutputParams(GH_OutputParamManager pManager)
 {
     pManager.AddCurveParameter("Curve", "C", "Curves with updated domains", GH_ParamAccess.list);
     pManager.AddPointParameter("Points", "P", "Division Points", GH_ParamAccess.list);
     pManager.AddVectorParameter("Tangents", "T", "Tangents at divisions", GH_ParamAccess.list);
     pManager.AddNumberParameter("Parameters", "t", "Division Parameters", GH_ParamAccess.list);
     pManager.HideParameter(0);
 }
コード例 #3
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_OutputParamManager output)
 {
     output.AddCurveParameter("Dashes", "D", "Dash segments", GH_ParamAccess.list);
     output.AddCurveParameter("Gaps", "G", "Gap segments", GH_ParamAccess.list);
     output.HideParameter(1);
 }