コード例 #1
0
 /// <summary>
 /// Register component inputs
 /// </summary>
 /// <param name="pm"></param>
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pm)
 {
     myParam = new BiomorpherDataParam();
     pm.AddParameter(myParam, "Solution", "Solution", "Biomorpher Solution Data for use in reader", GH_ParamAccess.item);
     pm.AddIntegerParameter("Branch", "Branch", "Generation branch (usually zero unless you conducted multiple runs)", GH_ParamAccess.item, 0);
     pm.AddIntegerParameter("Generation", "Generation", "Generation (epoch)", GH_ParamAccess.item, 0);
     pm.AddIntegerParameter("Design", "Design", "Design ID from the population", GH_ParamAccess.item, 0);
 }
コード例 #2
0
 /// <summary>
 /// Register component outputs
 /// </summary>
 /// <param name="pm"></param>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pm)
 {
     myParam = new BiomorpherDataParam();
     pm.AddParameter(myParam, "Solution", "Solution", "Biomorpher Solution Data for use in reader", GH_ParamAccess.item);
 }