/// <summary> /// Registers all the output parameters for this component. /// </summary> protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager) { int cm = pManager.AddMeshParameter("coloredMesh", "coloredMesh", "mesh", GH_ParamAccess.list); pManager.HideParameter(cm); pManager.AddMeshParameter("layeredMesh", "layeredMesh", "mesh", GH_ParamAccess.tree); int c = pManager.AddCurveParameter("curves", "curves", "planes", GH_ParamAccess.tree); pManager.HideParameter(c); int p = pManager.AddPlaneParameter("Planes", "P", "planes", GH_ParamAccess.list); pManager.HideParameter(p); int m = pManager.AddMeshParameter("TempMeshes", "TM", "planes", GH_ParamAccess.list); pManager.HideParameter(m); int co = pManager.AddColourParameter("Colors", "Colors", "Colors", GH_ParamAccess.tree); pManager[co].DataMapping = GH_DataMapping.Flatten; int va = pManager.AddTextParameter("Values", "Values", "Values", GH_ParamAccess.tree); pManager[va].DataMapping = GH_DataMapping.Flatten; }
protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager) { pManager.AddGenericParameter("2D Member", "M2D", "Modified GSA 2D Member", GH_ParamAccess.item); pManager.AddIntegerParameter("Member Number", "ID", "Get Member Number", GH_ParamAccess.item); pManager.AddBrepParameter("Brep", "B", "Member Brep", GH_ParamAccess.item); pManager.HideParameter(2); pManager.AddPointParameter("Incl. Points", "(P)", "Get Inclusion points", GH_ParamAccess.list); pManager.HideParameter(3); pManager.AddCurveParameter("Incl. Curves", "(C)", "Get Inclusion curves", GH_ParamAccess.list); pManager.HideParameter(4); pManager.AddGenericParameter("2D Property", "PA", "Get 2D Section Property", GH_ParamAccess.item); pManager.AddIntegerParameter("Member Group", "Gr", "Get Member Group", GH_ParamAccess.item); pManager.AddIntegerParameter("Member Type", "mT", "Get 2D Member Type", GH_ParamAccess.item); pManager.AddIntegerParameter("2D Element Type", "eT", "Get Member 2D Analysis Element Type" + System.Environment.NewLine + "0: Linear (Tri3/Quad4), 1: Quadratic (Tri6/Quad8), 2: Rigid Diaphragm", GH_ParamAccess.item); pManager.AddGenericParameter("Offset", "Of", "Get Member Offset", GH_ParamAccess.item); pManager.AddNumberParameter("Mesh Size", "Ms", "Get Targe mesh size", GH_ParamAccess.item); pManager.AddBooleanParameter("Mesh With Others", "M/o", "Get if to mesh with others", GH_ParamAccess.item); pManager.AddTextParameter("Member Name", "Na", "Get Name of Member", GH_ParamAccess.item); pManager.AddColourParameter("Member Colour", "Co", "Get Member Colour", GH_ParamAccess.item); pManager.AddBooleanParameter("Dummy Member", "Dm", "Get if Member is Dummy", GH_ParamAccess.item); }
/// <summary> /// Registers all the output parameters for this component. /// </summary> protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager) { pManager.AddGenericParameter("result", "result", "Grasshopper mesh.", GH_ParamAccess.item); pManager.AddGenericParameter("filePath", "filePath", "Path where the file obj is.", GH_ParamAccess.item); pManager.HideParameter(0); pManager.HideParameter(1); }
/// <summary> /// Registers all the output parameters for this component. /// </summary> protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager) { pManager.AddSurfaceParameter("Surface", "S", "Resulting surface", GH_ParamAccess.list); pManager.AddPointParameter("Vertices", "V", "Surface vertices", GH_ParamAccess.list); pManager.AddCurveParameter("Edges", "E", "Surface edges", GH_ParamAccess.list); pManager.HideParameter(1); pManager.HideParameter(2); }
protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager) { pManager.AddGenericParameter("Nodes", "No", "Nodes from GSA Model", GH_ParamAccess.list); pManager.HideParameter(0); pManager.AddGenericParameter("1D Elements", "E1D", "1D Elements (Analysis Layer) from GSA Model", GH_ParamAccess.list); pManager.AddGenericParameter("2D Elements", "E2D", "2D Elements (Analysis Layer) from GSA Model", GH_ParamAccess.list); pManager.AddGenericParameter("3D Elements", "E3D", "3D Elements (Analysis Layer) from GSA Model", GH_ParamAccess.list); pManager.HideParameter(2); pManager.HideParameter(3); pManager.AddGenericParameter("1D Members", "M1D", "1D Members (Design Layer) from GSA Model", GH_ParamAccess.list); pManager.AddGenericParameter("2D Members", "M2D", "2D Members (Design Layer) from GSA Model", GH_ParamAccess.list); pManager.AddGenericParameter("3D Members", "M3D", "3D Members (Design Layer) from GSA Model", GH_ParamAccess.list); }
protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager) { pManager.AddGenericParameter("Node", "No", "Modified GSA Node", GH_ParamAccess.item); pManager.AddIntegerParameter("Node number", "ID", "Original Node number (ID) if Node ever belonged to a GSA Model", GH_ParamAccess.item); pManager.AddPointParameter("Node Position", "Pt", "Position (x, y, z) of Node", GH_ParamAccess.item); pManager.HideParameter(2); pManager.AddPlaneParameter("Node local axis", "Pl", "Local axis (Plane) of Node", GH_ParamAccess.item); pManager.HideParameter(3); pManager.AddGenericParameter("Node Restraints", "B6", "Restraints (Bool6) of Node", GH_ParamAccess.item); pManager.AddGenericParameter("Node Spring", "PS", "Spring attached to Node", GH_ParamAccess.item); pManager.AddTextParameter("Node Name", "Na", "Name of Node", GH_ParamAccess.item); pManager.AddColourParameter("Node Colour", "Co", "Get colour of node", GH_ParamAccess.item); pManager.AddIntegerParameter("Connected Elements", "El", "Connected Element IDs in Model that Node once belonged to", GH_ParamAccess.list); pManager.AddIntegerParameter("Connected Members", "Me", "Connected Member IDs in Model that Node once belonged to", GH_ParamAccess.list); }
/// <summary> /// Registers all the output parameters for this component. /// </summary> protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager) { pManager.AddCurveParameter("划分后的曲线", "C", "根据列表数据划分后的曲线", GH_ParamAccess.list); pManager.AddCurveParameter("剩余部分", "R", "划分后的曲线如果有剩余,则返回该部分曲线", GH_ParamAccess.item); pManager.AddPointParameter("划分点", "P", "点在曲线的对应位置", GH_ParamAccess.list); pManager.HideParameter(1); }
/// <summary> /// Registers all the output parameters for this component. /// </summary> protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager) { pManager.AddPointParameter("Vertices", "V", "Mesh vertices", GH_ParamAccess.list); pManager.AddColourParameter("Colours", "C", "Mesh vertex colours", GH_ParamAccess.list); pManager.AddVectorParameter("Normals", "N", "Mesh vertex normals", GH_ParamAccess.list); pManager.HideParameter(1); }
protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager) { pManager.AddCurveParameter("Text Curves", "C", "The exploded text outlines", GH_ParamAccess.list); pManager.AddBoxParameter("Text Bounding Box", "B", "The bounding box surrounding the text", GH_ParamAccess.item); pManager.HideParameter(1); }
protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager) { for (int i = 0; i < pManager.ParamCount; i++) { pManager.HideParameter(i); } }
/// <summary> /// Registers all the output parameters for this component. /// </summary> protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager) { pManager.AddLineParameter("不共线的线段", "C1", "找出的与指定向量不共线的线段", GH_ParamAccess.list); pManager.AddLineParameter("共线的线段", "C2", "找出的与指定向量共线的线段", GH_ParamAccess.list); pManager.AddIntegerParameter("索引1", "I1", "不共线线段的索引位置", GH_ParamAccess.list); pManager.AddIntegerParameter("索引2", "I2", "共线线段的索引位置", GH_ParamAccess.list); pManager.HideParameter(1); }
/// <summary> /// Registers all the output parameters for this component. /// </summary> protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager) { pManager.AddLineParameter("分组线段", "G", "根据条件共线线段分组", GH_ParamAccess.tree); pManager.AddLineParameter("剩余线段", "R", "不满足条件的独立线段", GH_ParamAccess.list); pManager.AddIntegerParameter("索引", "I1", "共线线段的索引位置", GH_ParamAccess.tree); pManager.AddIntegerParameter("索引", "I2", "独立线段的索引位置", GH_ParamAccess.list); pManager.HideParameter(1); }
protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager) { pManager.AddCurveParameter("This Edge", "T", "This Edge Position", GH_ParamAccess.tree); pManager.AddPointParameter("Edge Vertices", "V", "edge end points as list", GH_ParamAccess.tree); pManager.AddCurveParameter("Edge Faces", "F", "two faces as curves list", GH_ParamAccess.tree); pManager.AddPointParameter("Edge Faces Center", "C", "two faces center points as list", GH_ParamAccess.tree); pManager.HideParameter(3); }
/// <summary> /// Registers all the output parameters for this component. /// </summary> protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager) { pManager.AddPointParameter("选出点", "P1", "满足要求的点", GH_ParamAccess.tree); pManager.AddPointParameter("剩余点", "P2", "不满足要求的点", GH_ParamAccess.list); pManager.AddIntegerParameter("序号", "I1", "满足要求的点所在序号", GH_ParamAccess.tree); pManager.AddIntegerParameter("序号", "I2", "不满足要求的点所在序号", GH_ParamAccess.list); pManager.HideParameter(1); }
/// <summary> /// Registers all the output parameters for this component. /// </summary> protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager) { pManager.AddPointParameter("Boid Positions", "P", "Positions of each Boid", GH_ParamAccess.list); pManager.AddVectorParameter("Boid Orientation", "O", "Velocity Vectors of each Boid", GH_ParamAccess.list); pManager.AddVectorParameter("Boid Acceleration", "A", "Acceleration Vectors of each Boid", GH_ParamAccess.list); pManager.AddCurveParameter("Boid Representations", "B", "Polyline Representations of the Boids", GH_ParamAccess.list); pManager.HideParameter(0); }
protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager) { pManager.AddPointParameter("This Vertex", "T", "This Vertices", GH_ParamAccess.tree); pManager.AddPointParameter("Vertex NV Points", "V", "all vertices neighbours", GH_ParamAccess.tree); pManager.AddLineParameter("Vertex NE Lines", "E", "all edges neighbours", GH_ParamAccess.tree); pManager.AddCurveParameter("Vertex NF PolyLines", "F", "all face neighbours", GH_ParamAccess.tree); pManager.AddPointParameter("Vertex NFC Points", "C", "all face neighbour centers", GH_ParamAccess.tree); pManager.HideParameter(4); }
/// <summary> /// Registers all the output parameters for this component. /// </summary> protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager) { pManager.AddArcParameter("互补圆弧", "C", "与已知圆弧能形成整圆的圆弧", GH_ParamAccess.item); pManager.AddCircleParameter("复原圆", "C", "已知圆弧对应的圆", GH_ParamAccess.item); pManager.AddPlaneParameter("平面", "P", "已知圆弧所在的平面", GH_ParamAccess.item); pManager.AddNumberParameter("半径", "R", "已知圆弧的半径", GH_ParamAccess.item); pManager.AddNumberParameter("弧度数", "R", "已知圆弧的弧度数", GH_ParamAccess.item); pManager.HideParameter(1); }
/// <summary> /// Registers all the output parameters for this component. /// </summary> protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager) { pManager.AddPointParameter("Point", "P", "Point at UV coordinates", GH_ParamAccess.item); pManager.AddPointParameter("Point", "P", "UV point position (to the origin)", GH_ParamAccess.item); pManager.AddNumberParameter("Gaussian Curvature", "G", "Gaussian curvature at point locus", GH_ParamAccess.item); pManager.AddNumberParameter("Average Curvature", "A", "Average curvature at point locus", GH_ParamAccess.item); pManager.AddVectorParameter("Normal", "N", "Normal at point locus", GH_ParamAccess.item); pManager.HideParameter(1); }
protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager) { pManager.AddGenericParameter("Nodes", "No", "GSA Nodes", GH_ParamAccess.list); pManager.HideParameter(0); pManager.AddGenericParameter("1D Elements", "E1D", "GSA 1D Elements", GH_ParamAccess.list); pManager.AddGenericParameter("2D Elements", "E2D", "GSA 2D Elements", GH_ParamAccess.list); pManager.AddGenericParameter("3D Elements", "E3D", "GSA 3D Elements", GH_ParamAccess.item); pManager.AddGenericParameter("GSA Model", "GSA", "GSA Model with Elements and Members", GH_ParamAccess.item); }
/// <summary> /// Registers all the output parameters for this component. /// </summary> protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager) { pManager.AddPointParameter("外部点", "P1", "位于曲线外部的点", GH_ParamAccess.list); pManager.AddPointParameter("曲线上的点", "P2", "位于曲线上的点", GH_ParamAccess.list); pManager.AddPointParameter("内部点", "P3", "位于曲线内部的点", GH_ParamAccess.list); pManager.AddIntegerParameter("外部点序号", "I1", "外部点在原点中的序号", GH_ParamAccess.list); pManager.AddIntegerParameter("曲线上的点序号", "I2", "位于曲线上的点在原点中的序号", GH_ParamAccess.list); pManager.AddIntegerParameter("内部点序号", "I3", "内部点在原点中的序号", GH_ParamAccess.list); pManager.HideParameter(0); }
/// <summary> /// Registers all the output parameters for this component. /// </summary> protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager) { pManager.AddMeshParameter("coloredMesh", "coloredMesh", "mesh", GH_ParamAccess.list); pManager.AddMeshParameter("layeredMesh", "layeredMesh", "mesh", GH_ParamAccess.tree); int c = pManager.AddCurveParameter("curves", "curves", "planes", GH_ParamAccess.tree); pManager.HideParameter(c); int p = pManager.AddPlaneParameter("Planes", "P", "planes", GH_ParamAccess.list); pManager.HideParameter(p); int m = pManager.AddMeshParameter("TempMeshes", "TM", "planes", GH_ParamAccess.list); pManager.HideParameter(m); }
protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager) { pManager.AddGenericParameter("Gravity Loads", "Gr", "Gravity Loads from GSA Model", GH_ParamAccess.list); pManager.AddGenericParameter("Node Loads", "No", "Node Loads from GSA Model", GH_ParamAccess.list); pManager.AddGenericParameter("Beam Loads", "Be", "Beam Loads from GSA Model", GH_ParamAccess.list); pManager.AddGenericParameter("Face Loads", "Fa", "Face Loads from GSA Model", GH_ParamAccess.list); pManager.AddGenericParameter("Grid Point Loads", "Pt", "Grid Point Loads from GSA Model", GH_ParamAccess.list); pManager.AddGenericParameter("Grid Line Loads", "Ln", "Grid Line Loads from GSA Model", GH_ParamAccess.list); pManager.AddGenericParameter("Grid Area Loads", "Ar", "Grid Area Loads from GSA Model", GH_ParamAccess.list); pManager.AddGenericParameter("Grid Plane Surfaces", "GPS", "Grid Plane Surfaces from GSA Model", GH_ParamAccess.list); pManager.HideParameter(7); }
protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager) { pManager.AddGenericParameter("3D Member", "M3D", "Modified GSA 3D Member", GH_ParamAccess.item); pManager.AddIntegerParameter("Member Number", "ID", "Get Member Number", GH_ParamAccess.item); pManager.AddMeshParameter("Solid Mesh", "M", "Member Solid Mesh", GH_ParamAccess.item); pManager.HideParameter(2); pManager.AddGenericParameter("3D Property", "P3", "Get 3D Property", GH_ParamAccess.item); pManager.AddNumberParameter("Mesh Size", "Ms", "Get Targe mesh size", GH_ParamAccess.item); pManager.AddBooleanParameter("Mesh With Others", "M/o", "Get if to mesh with others", GH_ParamAccess.item); pManager.AddTextParameter("Member Name", "Na", "Get Name of Member", GH_ParamAccess.item); pManager.AddIntegerParameter("Member Group", "Gr", "Get Member Group", GH_ParamAccess.item); pManager.AddColourParameter("Member Colour", "Co", "Get Member Colour", GH_ParamAccess.item); pManager.AddBooleanParameter("Dummy Member", "Dm", "Get if Member is Dummy", GH_ParamAccess.item); }
protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager) { pManager.AddGenericParameter("2D Element", "E2D", "Modified GSA 2d Element", GH_ParamAccess.item); pManager.AddIntegerParameter("Number", "ID", "Get Element Number", GH_ParamAccess.list); pManager.AddMeshParameter("Analysis Mesh", "M", "Get Analysis Mesh", GH_ParamAccess.item); pManager.HideParameter(2); pManager.AddGenericParameter("2D Property", "PA", "Get 2D Property. Input either a GSA 2D Property or an Integer to use a Property already defined in model", GH_ParamAccess.list); pManager.AddIntegerParameter("Group", "Gr", "Get Element Group", GH_ParamAccess.list); pManager.AddTextParameter("Element Type", "eT", "Get Element 2D Type." + System.Environment.NewLine + "Type can not be set; it is either Tri3 or Quad4" + System.Environment.NewLine + "depending on Rhino/Grasshopper mesh face type", GH_ParamAccess.list); pManager.AddGenericParameter("Offset", "Of", "Get Element Offset", GH_ParamAccess.list); pManager.AddTextParameter("Name", "Na", "Set Element Name", GH_ParamAccess.list); pManager.AddColourParameter("Colour", "Co", "Get Element Colour", GH_ParamAccess.list); pManager.AddBooleanParameter("Dummy Element", "Dm", "Get if Element is Dummy", GH_ParamAccess.list); pManager.AddIntegerParameter("Parent Members", "pM", "Get Parent Member IDs in Model that Element was created from", GH_ParamAccess.list); }
protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager) { pManager.AddGenericParameter("3D Element", "E3D", "Modified GSA 3d Element", GH_ParamAccess.item); pManager.AddIntegerParameter("Number", "ID", "Get Element Number", GH_ParamAccess.list); pManager.AddMeshParameter("Analysis Mesh", "M", "Get Analysis Mesh. " + System.Environment.NewLine + "This will export a list of solid meshes representing each 3d element." + System.Environment.NewLine + "To get a combined mesh connect a GSA Element 3D to normal Mesh Parameter component to convert on the fly", GH_ParamAccess.item); pManager.HideParameter(2); pManager.AddGenericParameter("3D Property", "PA", "Get 3D Property. Input either a GSA 3D Property or an Integer to use a Property already defined in model", GH_ParamAccess.list); pManager.AddIntegerParameter("Group", "Gr", "Get Element Group", GH_ParamAccess.list); pManager.AddTextParameter("Element Type", "eT", "Get Element 3D Type." + System.Environment.NewLine + "Type can not be set; it is either Tetra4, Pyramid5, Wedge6 or Brick8", GH_ParamAccess.list); pManager.AddTextParameter("Name", "Na", "Set Element Name", GH_ParamAccess.list); pManager.AddColourParameter("Colour", "Co", "Get Element Colour", GH_ParamAccess.list); pManager.AddBooleanParameter("Dummy Element", "Dm", "Get if Element is Dummy", GH_ParamAccess.list); pManager.AddIntegerParameter("Parent Members", "pM", "Get Parent Member IDs in Model that Element was created from", GH_ParamAccess.list); }
protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager) { pManager.AddGenericParameter("1D Member", "M1D", "Modified GSA 1D Member", GH_ParamAccess.item); pManager.AddIntegerParameter("Member1d Number", "ID", "Get Member Number", GH_ParamAccess.item); pManager.AddCurveParameter("Curve", "C", "Member Curve", GH_ParamAccess.item); pManager.HideParameter(2); pManager.AddGenericParameter("Section", "PB", "Change Section Property. Input either a GSA Section or an Integer to use a Section already defined in model", GH_ParamAccess.item); pManager.AddIntegerParameter("Member Group", "Gr", "Get Member Group", GH_ParamAccess.item); pManager.AddIntegerParameter("Member Type", "mT", "Get 1D Member Type", GH_ParamAccess.item); pManager.AddIntegerParameter("1D Element Type", "eT", "Get Element 1D Type", GH_ParamAccess.item); pManager.AddGenericParameter("Offset", "Of", "Get Member Offset", GH_ParamAccess.item); pManager.AddGenericParameter("Start release", "⭰", "Get Release (Bool6) at Start of Member", GH_ParamAccess.item); pManager.AddGenericParameter("End release", "⭲", "Get Release (Bool6) at End of Member", GH_ParamAccess.item); pManager.AddNumberParameter("Orientation Angle", "⭮A", "Get Member Orientation Angle in degrees", GH_ParamAccess.item); pManager.AddIntegerParameter("Orientation Node", "⭮N", "Get Member Orientation Node (ID referring to node number in model)", GH_ParamAccess.item); pManager.AddNumberParameter("Mesh Size", "Ms", "Get Member Mesh Size", GH_ParamAccess.item); pManager.AddBooleanParameter("Mesh With Others", "M/o", "Get if to mesh with others", GH_ParamAccess.item); pManager.AddTextParameter("Member Name", "Na", "Get Name of Member1d", GH_ParamAccess.item); pManager.AddColourParameter("Member Colour", "Co", "Get Member Colour", GH_ParamAccess.item); pManager.AddBooleanParameter("Dummy Member", "Dm", "Get it Member is Dummy", GH_ParamAccess.item); }
protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager) { pManager.AddGenericParameter("1D Element", "E1D", "Modified GSA 1D Element", GH_ParamAccess.item); pManager.AddIntegerParameter("Number", "ID", "Get Element Number. If ID is set it will replace any existing 1D Element in the model", GH_ParamAccess.item); pManager.AddLineParameter("Line", "L", "Element Line", GH_ParamAccess.item); pManager.HideParameter(2); pManager.AddGenericParameter("Section", "PB", "Get Section Property. Input either a GSA Section or an Integer to use a Section already defined in model", GH_ParamAccess.item); pManager.AddIntegerParameter("Group", "Gr", "Get Element Group", GH_ParamAccess.item); pManager.AddIntegerParameter("Type", "eT", "Get Element Type", GH_ParamAccess.item); pManager.AddGenericParameter("Offset", "Of", "Get Element Offset", GH_ParamAccess.item); pManager.AddGenericParameter("Start release", "⭰", "Get Release (Bool6) at Start of Element", GH_ParamAccess.item); pManager.AddGenericParameter("End release", "⭲", "Get Release (Bool6) at End of Element", GH_ParamAccess.item); pManager.AddNumberParameter("Orientation Angle", "⭮A", "Get Element Orientation Angle in degrees", GH_ParamAccess.item); pManager.AddIntegerParameter("Orientation Node", "⭮N", "Get Element Orientation Node (ID referring to node number in model)", GH_ParamAccess.item); pManager.AddTextParameter("Name", "Na", "Get Element Name", GH_ParamAccess.item); pManager.AddColourParameter("Colour", "Co", "Get Element Colour", GH_ParamAccess.item); pManager.AddBooleanParameter("Dummy Element", "Dm", "Get if Element is Dummy", GH_ParamAccess.item); pManager.AddIntegerParameter("Parent Members", "pM", "Get Parent Member IDs in Model that Element was created from", GH_ParamAccess.list); }
protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager) { pManager.AddGenericParameter("树形数据1", "T1", "源树形数据中满足筛选条件的数据分支", GH_ParamAccess.tree); pManager.AddGenericParameter("树形数据2", "T2", "源树形数据中不满足筛选条件的数据分支", GH_ParamAccess.tree); pManager.HideParameter(1); }
/// <summary> /// Registers all the output parameters for this component. /// </summary> protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager) { pManager.AddCurveParameter("Rectangles", "R", "Edge lines", GH_ParamAccess.tree); pManager.AddPointParameter("Points", "P", "Panel vertices", GH_ParamAccess.tree); pManager.HideParameter(1); }
/// <summary> /// Registers all the output parameters for this component. /// </summary> protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager) { pManager.AddPointParameter("网格点", "P", "根据列表生成的网格点", GH_ParamAccess.tree); pManager.AddRectangleParameter("矩形", "C", "与网格点对应的矩形阵列", GH_ParamAccess.tree); pManager.HideParameter(0); }