protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddLineParameter("LoadLines", "LoadLines", "LoadLines", GH_ParamAccess.list);
     pManager.AddCurveParameter("TributaryAreaCrvs", "TributaryAreaCrvs", "TributaryAreaCrvs", GH_ParamAccess.tree);
     pManager.AddNumberParameter("TributaryArea", "TributaryArea", "TributaryArea", GH_ParamAccess.tree);
     pManager.AddIntervalParameter("TributaryParam", "TributaryParam", "TributaryParam", GH_ParamAccess.tree);
     pManager.AddVectorParameter("LoadDirection", "LoadDirection", "LoadDirection", GH_ParamAccess.item);
 }
Example #2
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddPointParameter("Point", "P", "Closest point in cloud", GH_ParamAccess.tree);
     pManager.AddVectorParameter("Normal", "N", "Normal at point", GH_ParamAccess.tree);
     pManager.AddColourParameter("Color", "C", "Color at point", GH_ParamAccess.tree);
     pManager.AddNumberParameter("Distance", "D", "Distance to closest point", GH_ParamAccess.tree);
     pManager.AddIntegerParameter("Index", "I", "Closest point index", GH_ParamAccess.tree);
 }
Example #3
0
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddPointParameter("Points", "pts", "Points in grid", GH_ParamAccess.list);
     pManager.AddNumberParameter("Values", "val", "Values for the points in the grid", GH_ParamAccess.list);
     pManager.AddIntegerParameter("X Dimension", "nx", "Size of grid in global x direction", GH_ParamAccess.item);
     pManager.AddIntegerParameter("Y Dimension", "ny", "Size of grid in global y direction", GH_ParamAccess.item);
     pManager.AddIntegerParameter("Z Dimension", "nz", "Size of grid in global z direction", GH_ParamAccess.item);
 }
Example #4
0
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddPointParameter("Closest Point", "P", "The closest point on the Brep", GH_ParamAccess.item);
     pManager.AddNumberParameter("Distance", "D", "The distance to the closest point", GH_ParamAccess.item);
     pManager.AddVectorParameter("Normal", "N", "The normal of the Brep at this point.", GH_ParamAccess.item);
     pManager.AddIntegerParameter("Component Index", "CI", "The index of the Brep Component that's closest", GH_ParamAccess.item);
     pManager.AddTextParameter("Component Type", "CT", "The type of Brep Component that is closest to the sample pt", GH_ParamAccess.item);
 }
Example #5
0
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddMeshParameter("Mesh", "M", "Output mesh.", GH_ParamAccess.list);
     pManager.AddIntegerParameter("Indices", "I", "Output indices. If F == 2, then this will be a tree with tetrahedra indices as sub-lists (4 per list)." +
                                  " If F == 3, then this will be a tree with edge indices as sub-lists (2 per list).", GH_ParamAccess.tree);
     pManager.AddPointParameter("Points", "P", "Output points. If F is 2 or 3, then the indices from I will correspond to this point list.", GH_ParamAccess.list);
     pManager.AddNumberParameter("Length", "L", "elements list length. The length of indices", GH_ParamAccess.list); //AJOUT BH
 }
Example #6
0
        /// <summary>
        /// Registers all the output parameters for this component.
        /// </summary>
        protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
        {
            // Use the pManager object to register your output parameters.
            // Output parameters do not have default values, but they too must have the correct access type.

            pManager.AddTextParameter("Info", "IN", "Provides Component Output Information", GH_ParamAccess.item);
            pManager.AddPointParameter("Grid Points", "GP", "Grid Points", GH_ParamAccess.tree);
            pManager.AddPointParameter("Int Grid Points", "GP1", "Intermediate Grid Points", GH_ParamAccess.tree);
            pManager.AddVectorParameter("Primary Vectors", "PV", "Unitized Vector of Primary Curves", GH_ParamAccess.list);
            pManager.AddVectorParameter("Secondary Vectors", "SV", "Unitized Vector of Secondary Curves", GH_ParamAccess.list);
            pManager.AddNumberParameter("Primary Grid Distances", "DP", "Distance between Primary Grid Points", GH_ParamAccess.tree);
            pManager.AddNumberParameter("Secondary Grid Distances", "DS", "Distance between Secondary Grid Points", GH_ParamAccess.tree);

            // Sometimes you want to hide a specific parameter from the Rhino preview.
            // You can use the HideParameter() method as a quick way:
            //pManager.HideParameter(0);
        }
Example #7
0
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddTextParameter("Gcode", "NC", "Output NC code for CMS machine.", GH_ParamAccess.list);
     pManager.AddGenericParameter("Axes", "A", "Axis values for each waypoint.", GH_ParamAccess.list);
     pManager.AddNumberParameter("Speeds", "S", "Speeds for each waypoint.", GH_ParamAccess.list);
     pManager.AddGenericParameter("Path", "P", "Output toolpath.", GH_ParamAccess.item);
     pManager.AddTextParameter("debug", "d", "debug info", GH_ParamAccess.item);
 }
Example #8
0
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddTextParameter("Prescribed displacement", "PreDisp", "Disp in point, (x,y,z);(Tx,Ty,Tz)", GH_ParamAccess.list);
     pManager.AddTextParameter("Text", "Text", "Text", GH_ParamAccess.item);
     pManager.AddNumberParameter("Size", "Size", "Size", GH_ParamAccess.item);
     pManager.AddPlaneParameter("Plane", "Plane", "Placement for text", GH_ParamAccess.list);
     pManager.AddColourParameter("Colors", "Color", "Colors for text", GH_ParamAccess.item);
 }
Example #9
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddPointParameter("room1", "room1", "description", GH_ParamAccess.list);
     pManager.AddPointParameter("room2", "room2", "description", GH_ParamAccess.list);
     pManager.AddPointParameter("room3", "room3", "description", GH_ParamAccess.list);
     pManager.AddNumberParameter("stepCount", "stepCount", "adf", GH_ParamAccess.item);
     pManager.AddCurveParameter("room objects", "RO", "objects from the room, watch them go!", GH_ParamAccess.list);
 }
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     //pManager.AddTextParameter("Reverse", "R", "Reversed string", GH_ParamAccess.item);
     pManager.AddPointParameter("Points", "P", "Point", GH_ParamAccess.list);
     pManager.AddIntegerParameter("iteration", "I", "迭代次数", GH_ParamAccess.item);
     pManager.AddNumberParameter("bubbleRadius", "BR", "各气泡半径", GH_ParamAccess.list);
     pManager.AddPointParameter("bubbleCenters", "BC", "各气泡中心", GH_ParamAccess.list);
 }
Example #11
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     // Use the pManager object to register your output parameters.
     pManager.AddTextParameter("sMath XML", ".sm XML", "Output of .sm XML file contents after calculation", GH_ParamAccess.item);
     pManager.AddTextParameter("sMath output Names", "Out Names", "Names of output variables", GH_ParamAccess.list);
     pManager.AddNumberParameter("sMath output values", "Out Values", "Values of output variables for sMath spreadsheet", GH_ParamAccess.list);
     pManager.AddTextParameter("sMath output units", "Out Units", "Units of variables for sMath spreadsheet", GH_ParamAccess.list);
 }
Example #12
0
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddPointParameter("Vertices", "Vertices", "Deconstructed vertices", GH_ParamAccess.list);
     pManager.AddCurveParameter("Edge", "Edge", "Deconstructed edge", GH_ParamAccess.item);
     pManager.AddBooleanParameter("IsDirected", "IsDirected", "Check if the graph part is directed",
                                  GH_ParamAccess.item);
     pManager.AddNumberParameter("Weight", "Weight", "Weight of the edge", GH_ParamAccess.item);
 }
Example #13
0
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddGenericParameter("Custom Fibers", "Custom Fibers", "Custom Fibers", GH_ParamAccess.list);
     pManager.AddCurveParameter("Fiber Curves", "Fiber Curves", "Fiber Curves", GH_ParamAccess.list);
     pManager.AddCurveParameter("Skipped Fiber Curves", "Skipped Fiber Curves", "Skipped Fiber Curves to achieve continuity", GH_ParamAccess.list);
     pManager.AddTextParameter("Syntax Note", "Syntax Note", "Syntax Note", GH_ParamAccess.list);
     pManager.AddNumberParameter("Fiber Sorting Indexes", "Fiber Sorting Indexes", "Fiber Sorting Indexes", GH_ParamAccess.list);
 }
Example #14
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddBooleanParameter("A", "A", "A", GH_ParamAccess.item);                                                                        //0
     pManager.AddBooleanParameter("B", "B", "B", GH_ParamAccess.item);                                                                        //1
     pManager.AddBooleanParameter("X", "X", "X", GH_ParamAccess.item);                                                                        //2
     pManager.AddBooleanParameter("Y", "Y", "Y", GH_ParamAccess.item);                                                                        //3
     pManager.AddBooleanParameter("ButtonShoulderLeft", "ButtonShoulderLeft", "ButtonShoulderLeft", GH_ParamAccess.item);                     //4
     pManager.AddBooleanParameter("ButtonShoulderRight", "ButtonShoulderRight", "ButtonShoulderRight", GH_ParamAccess.item);                  //5
     pManager.AddBooleanParameter("Up", "Up", "Up", GH_ParamAccess.item);                                                                     //6
     pManager.AddBooleanParameter("Down", "Down", "Down", GH_ParamAccess.item);                                                               //7
     pManager.AddBooleanParameter("Left", "Left", "Left", GH_ParamAccess.item);                                                               //8
     pManager.AddBooleanParameter("Right", "Right", "Right", GH_ParamAccess.item);                                                            //9
     pManager.AddBooleanParameter("Start", "Start", "Start", GH_ParamAccess.item);                                                            //10
     pManager.AddBooleanParameter("Back", "Back", "Back", GH_ParamAccess.item);                                                               //11
     pManager.AddBooleanParameter("TriggerLeft", "TriggerLeft", "TriggerLeft", GH_ParamAccess.item);                                          //12
     pManager.AddBooleanParameter("TriggerRight", "TriggerRight", "TriggerRight", GH_ParamAccess.item);                                       //13
     pManager.AddBooleanParameter("ThumbpadLeft", "ThumbpadLeft", "ThumbpadLeft", GH_ParamAccess.item);                                       //14
     pManager.AddBooleanParameter("ThumbpadRight", "ThumbpadRight", "ThumbpadRight", GH_ParamAccess.item);                                    //15
     pManager.AddNumberParameter("LeftThumbstickX", "LeftThumbstickX", "LeftThumbstickX", GH_ParamAccess.item);                               //16
     pManager.AddNumberParameter("LeftThumbstickY", "LeftThumbstickY", "LeftThumbstickY", GH_ParamAccess.item);                               //17
     pManager.AddNumberParameter("RightThumbstickX", "RightThumbstickX", "RightThumbstickX", GH_ParamAccess.item);                            //18
     pManager.AddNumberParameter("RightThumbstickY", "RightThumbstickY", "RightThumbstickY", GH_ParamAccess.item);                            //19
     pManager.AddNumberParameter("TiggerLeftPosition", "TiggerLeftPosition", "TiggerLeftPosition", GH_ParamAccess.item);                      //20
     pManager.AddNumberParameter("TiggerRightPosition", "TiggerRightPosition", "TiggerRightPosition", GH_ParamAccess.item);                   //21
     pManager.AddBooleanParameter("AllButtons", "AllButtons", "AllButton", GH_ParamAccess.list);                                              //22
     pManager.AddNumberParameter("AllThumbsticksAndTriggers", "AllThumbsticksAndTriggers", "AllThumbsticksAndTriggers", GH_ParamAccess.list); //23
     pManager.AddVectorParameter("LeftThumbstickVector", "LeftThumbstickVector", "LeftThumbstickVector", GH_ParamAccess.item);                //24
     pManager.AddVectorParameter("RightThumbstickVector", "RightThumbstickVector", "RightThumbstickVector", GH_ParamAccess.item);             //25
     pManager.AddIntegerParameter("PlayerIndex", "PlayerIndex", "PlayerIndex", GH_ParamAccess.item);                                          //26
 }
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddIntegerParameter("Volume percentage", "V", "Volume (0%-30%)", GH_ParamAccess.item);
     pManager.AddTextParameter("Text", "Text", "Volume text", GH_ParamAccess.list);
     pManager.AddNumberParameter("Size", "Size", "Size for text", GH_ParamAccess.list);
     pManager.AddPlaneParameter("Plane", "Plane", "Placement for text", GH_ParamAccess.list);
     pManager.AddColourParameter("Color", "Color", "Color for text and geometry", GH_ParamAccess.item);
     pManager.AddGeometryParameter("Geometry", "Geometry", "Sphere for place to drag line", GH_ParamAccess.item);
 }
Example #16
0
        /// <summary>
        /// Registers all the output parameters for this component.
        /// </summary>
        protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
        {
            //0
            pManager.AddNumberParameter("All Directions", "All Dirs", "x", GH_ParamAccess.list);

            //1
            pManager.AddNumberParameter("All Speed per Direction", "All SPD", "x", GH_ParamAccess.tree);


            //2
            pManager.AddNumberParameter("Selected Directions", "SelDirs", "x", GH_ParamAccess.list);

            //3
            pManager.AddNumberParameter("Selected Speed per Direction", "Sel SPD", "x", GH_ParamAccess.tree);

            //4
            pManager.AddNumberParameter("rounded directions", "rounded directions", "x", GH_ParamAccess.list);
        }
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddCurveParameter("Units", "Units", "Units", GH_ParamAccess.list);
     pManager.AddLineParameter("CorridorLines", "CorridorLines", "CorridorLines", GH_ParamAccess.list);
     pManager.AddTextParameter("UnitNames", "UnitNames", "UnitNames", GH_ParamAccess.list);
     pManager.AddLineParameter("ShearWallLines", "ShearWallLines", "ShearWallLines", GH_ParamAccess.list);
     pManager.AddCurveParameter("Outline", "Outline", "Outline", GH_ParamAccess.item);
     pManager.AddNumberParameter("PercentMix", "PercentMix", "PercentMix", GH_ParamAccess.list);
 }
Example #18
0
 /// <summary>
 /// Registers all the output parameters for this component
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddMeshParameter("Mesh of exposed windows surface", "ExposedMesh", "Tree of exposed window surface mesh on the window panel", GH_ParamAccess.list);
     pManager.AddNumberParameter("Area of exposed", "ExposedArea", "Area of the exposed part of the window panel", GH_ParamAccess.tree);
     pManager.AddTextParameter("Comment on operation type", "outCom",
                               "", GH_ParamAccess.tree);
     pManager.AddMeshParameter("debug meshcutter", "meshcutter", "", GH_ParamAccess.tree);
     pManager.AddCurveParameter("debug hull", "hullCrv", "", GH_ParamAccess.tree);
 }
Example #19
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddGenericParameter("Terrain", "T", "Model of the terrain, closed in Geo_Terrain class", GH_ParamAccess.item);
     pManager.AddTextParameter("Infos", "I", "Information about terrain creation", GH_ParamAccess.list);
     pManager.AddPointParameter("Points", "P", "Points on the terrain", GH_ParamAccess.list);
     pManager.AddSurfaceParameter("Surface", "S", "Surface of the terrain", GH_ParamAccess.list);
     pManager.AddCurveParameter("Hull", "H", "Curve of the terrain", GH_ParamAccess.list);
     pManager.AddNumberParameter("Angle", "ang", "The string  list with coordinates information", GH_ParamAccess.item);
 }
Example #20
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddGenericParameter("VoxelPoint", "VoxelPoint", "VoxelPoint with metadata of the Voxel field.", GH_ParamAccess.item);
     pManager.AddPointParameter("Position", "Position", "Position of the point.", GH_ParamAccess.item);
     pManager.AddNumberParameter("FieldValue", "FieldValue", "Value of the field at this point.", GH_ParamAccess.item);
     pManager.AddVectorParameter("ContourVector", "ContourVector", "Vector along iso-curves (projected to the z coordinate of the point).", GH_ParamAccess.item);
     pManager.AddVectorParameter("GradientVector", "GradientVector", "Vector along gradient curves (projected to the z coordinate of the point)s.", GH_ParamAccess.item);
     pManager.AddVectorParameter("ContourVector3d", "ContourVector3", "Vector3d along the gradient of the field.", GH_ParamAccess.item);
 }
Example #21
0
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddGenericParameter("Full stiffness matrix", "K_full", "Full global stiffness matrix", GH_ParamAccess.item);
     pManager.AddGenericParameter("Full force vector", "P_full", "Full global force vector", GH_ParamAccess.item);
     pManager.AddGenericParameter("Stiffness matrix", "K", "Global stiffness matrix", GH_ParamAccess.item);
     pManager.AddGenericParameter("Force vector", "P", "Global force vector", GH_ParamAccess.item);
     pManager.AddNumberParameter("Displacement list", "d_list", "Displacement list", GH_ParamAccess.list);
     pManager.AddPointParameter("New control points", "newB", "New control points as a list", GH_ParamAccess.list);
 }
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddSurfaceParameter("Surface", "Surface", "Surface", GH_ParamAccess.item);
     pManager.AddTextParameter("Text", "Text", "Text", GH_ParamAccess.list);
     pManager.AddNumberParameter("Size", "Size", "Text size", GH_ParamAccess.list);
     pManager.AddPlaneParameter("Plane", "Plane", "Text placement", GH_ParamAccess.list);
     pManager.AddColourParameter("Colors", "Color", "Color for text", GH_ParamAccess.item);
     pManager.AddGeometryParameter("Geometry", "Geometry", "Sphere on point to drag", GH_ParamAccess.item);
 }
Example #23
0
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddVectorParameter("Load", "Load", "Load vector and value", GH_ParamAccess.item);
     pManager.AddTextParameter("Text", "Text", "Slider text", GH_ParamAccess.list);
     pManager.AddNumberParameter("Size", "Size", "Text size", GH_ParamAccess.item);
     pManager.AddPlaneParameter("Plane", "Plane", "Placement for text", GH_ParamAccess.list);
     pManager.AddColourParameter("Colors", "Color", "Color for text and geometry", GH_ParamAccess.item);
     pManager.AddGeometryParameter("Geometry", "Geometry", "Sphere for place to drag line", GH_ParamAccess.item);
 }
Example #24
0
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddPointParameter("Point", "P", "Closest point to sphere", GH_ParamAccess.list);
     pManager.AddColourParameter("Color", "Color", "Colors for points", GH_ParamAccess.item);
     pManager.AddTextParameter("Text", "Text", "Text", GH_ParamAccess.list);
     pManager.AddNumberParameter("Size", "Size", "Size for text", GH_ParamAccess.list);
     pManager.AddPlaneParameter("Plane", "Plane", "Placement for text", GH_ParamAccess.list);
     pManager.AddColourParameter("Color", "Color", "Colors for text", GH_ParamAccess.item);
 }
Example #25
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddPointParameter("Location", "C", "Camera location", GH_ParamAccess.item);
     pManager.AddPointParameter("Target", "T", "Target location", GH_ParamAccess.item);
     pManager.AddNumberParameter("Lens", "L", "Lens", GH_ParamAccess.item);
     pManager.AddVectorParameter("Up Vector", "u", "Up Vector", GH_ParamAccess.item);
     pManager.AddPlaneParameter("Near Clipping Plane", "nCP", "Camera Frustum near clipping plane", GH_ParamAccess.item);
     pManager.AddPlaneParameter("Far Clipping Plane", "fCP", "Camera Frustum far clipping plane", GH_ParamAccess.item);
 }
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddBooleanParameter("Toggles", "T", "Boolean values coming from UI.", GH_ParamAccess.list);
     pManager.AddIntegerParameter("Counters", "C", "Integer values coming from UI.", GH_ParamAccess.list);
     pManager.AddNumberParameter("Sliders", "S", "Float values coming from UI.", GH_ParamAccess.list);
                 #if DEBUG
     pManager.AddTextParameter("Debug", "D", "Debug console.", GH_ParamAccess.item);
                 #endif
 }
Example #27
0
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddIntegerParameter("Stress direction", "S", "Direction of stress (0-5)", GH_ParamAccess.item);
     pManager.AddTextParameter("Text", "Text", "Direction text", GH_ParamAccess.list);
     pManager.AddNumberParameter("Size", "Size", "Size for text", GH_ParamAccess.list);
     pManager.AddPlaneParameter("Plane", "Plane", "Placement for text", GH_ParamAccess.list);
     pManager.AddColourParameter("Color", "Color", "Color for text and geometry", GH_ParamAccess.item);
     pManager.AddGeometryParameter("Geometry", "Geometry", "Sphere for place to drag line", GH_ParamAccess.item);
 }
Example #28
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddNumberParameter("E", "E", "[young's modulus1, young's modulus2,...](Datalist)", GH_ParamAccess.list);
     pManager.AddNumberParameter("poi", "poi", "[poison's ratio1, poison's ratio2,...](Datalist)", GH_ParamAccess.list);
     pManager.AddNumberParameter("rho", "rho", "[unit weight1, unit weight2,...](Datalist)", GH_ParamAccess.list);
     pManager.AddNumberParameter("Fc", "Fc", "for RC or Timber [Fc1,Fc2,...](Datalist)", GH_ParamAccess.list);
     pManager.AddNumberParameter("Ft", "Ft", "for Timber [Ft1,Ft2,...](Datalist)", GH_ParamAccess.list);
     pManager.AddNumberParameter("Fb", "Fb", "for Timber [Fb1,Fb2,...](Datalist)", GH_ParamAccess.list);
     pManager.AddNumberParameter("Fs", "Fs", "for Timber [Fs1,Fs2,...](Datalist)", GH_ParamAccess.list);
     pManager.AddNumberParameter("F", "F", "for Steel[N/mm2] [Yield stress1,Yield stress2,...](Datalist)", GH_ParamAccess.list);
 }
Example #29
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddNumberParameter("nodal_displacements", "D", "[[dxi,dyi,dzi,theta_xi,theta_yi,theta_zi,dxj,dyj,dzj,theta_xj,theta_yj,theta_zj],...](DataTree)", GH_ParamAccess.tree);                      ///0
     pManager.AddNumberParameter("reaction_force", "reac_f", "[[Node No.,Px,Py,Pz,Mx,My,Mz],...](DataTree)", GH_ParamAccess.tree);                                                                         ///1
     pManager.AddNumberParameter("section_force", "sec_f", "[[Ni,Qyi,Qzi,Mxi,Myi,Mzi,Ni,Qyi,Qzi,Mxj,Myj,Mzj,Nj,Qyc,Qzc,Mxc,Myc,Mzc],...](DataTree)", GH_ParamAccess.tree);                                 ///2
     pManager.AddNumberParameter("nodal_displacements(shell)", "D(shell)", "[[u_1,v_1,w_1,theta_x1,theta_y1,theta_z1],...](DataTree)", GH_ParamAccess.tree);                                               ///3
     pManager.AddNumberParameter("section_force(shell)", "shell_f", "[[Ni,Qyi,Qzi,Mxi,Myi,Mzi,Ni,Qyi,Qzi,Mxj,Myj,Mzj,Nk,Qyk,Qzk,Mxk,Myk,Mzk,Nl,Qyl,Qzl,Mxl,Myl,Mzl],...](DataTree)", GH_ParamAccess.tree); ///4
     pManager.AddNumberParameter("KABE_W", "KABE_W", "[[No.i,No.j,No.k,No.l,kabebairitsu],...](DataTree)", GH_ParamAccess.tree);                                                                           ///5
     pManager.AddNumberParameter("shear_w", "shear_w", "[Q1,Q2,...](DataList)", GH_ParamAccess.list);                                                                                                      ///6
     pManager.AddNumberParameter("spring_force", "spring_f", "[[elementNo.,Pxi,Pyi,Pzi,Mxi,Myi,Mzi,Pxj,Pyj,Pzj,Mxj,Myj,Mzj,Pxc,Pyc,Pzc,Mxc,Myc,Mzc],...](DataTree)", GH_ParamAccess.tree);                 ///7
 }
        /// <summary>
        /// Registers all the output parameters for this component.
        /// </summary>
        protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
        {
            pManager.AddNumberParameter("Shear Capacity (kN)", "Vn", "Shear Capacity (kN)", GH_ParamAccess.list);
            //pManager.AddNumberParameter("Shear Capacity Overdesign (%)", "%error", "Percent error of moment capacity, negative if capacity has not met demand", GH_ParamAccess.list);
            pManager.AddCurveParameter("bwCrv", "bwCrv", "bwCrv", GH_ParamAccess.list);

            ((IGH_PreviewObject)pManager[1]).Hidden = true;

            //pManager.AddCurveParameter("bw", "bw", "bw", GH_ParamAccess.list);
        }