/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddBooleanParameter("Connect", "C", "Input a boolean toggle - True = Connect the heads (visualizes their search radius, DRAMATICALLY REDUCES PERFORMANCE) | False = Do not draw connectivity", GH_ParamAccess.item, false); pManager.AddNumberParameter("View Angle", "VA", "Input a float value specifying the view angle each agent can see", GH_ParamAccess.item, 180); pManager.AddNumberParameter("Search Radius", "SR", "Input a float value specifying the distance each creeper can see", GH_ParamAccess.item, 70); pManager.AddNumberParameter("Align Value", "AV", "Input a float value specifying alignment (Steer towards the average heading of local flockmates) vector scale value", GH_ParamAccess.item, 0.24); pManager.AddNumberParameter("Separation Value", "SV", "Input a float value specifying separation (Steer to avoid crowding local flockmates) vector scale value", GH_ParamAccess.item, 0.09); pManager.AddNumberParameter("Cohesion Value", "CV", "Input a float value specifying cohesion (Steer to move toward the average position of local flockmates) vector scale value", GH_ParamAccess.item, 0.045); }
protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddBooleanParameter("Show Graph", "Show Graph", "Show graph", GH_ParamAccess.item, false); pManager.AddGenericParameter("Graph Elements", "Graph Elements", "Add graph elements", GH_ParamAccess.item); pManager.AddGenericParameter("Graph Settings", "Graph Settings", "Add graph settings", GH_ParamAccess.item); pManager.AddTextParameter("Path", "Path", "Set path where graph should be saved as .png file" + " if you want to save it, and/or if you want to create Report Part. Remember to end " + "path with .png extension.", GH_ParamAccess.item, ""); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { // Use the pManager object to register your input parameters. pManager.AddBooleanParameter("Run component?", "Run", "If true, the programm is executed.", GH_ParamAccess.item, false); //modelDataCount = pManager.ParamCount; // If you want to change properties of certain parameters, // you can use the pManager instance to access them by index: // pManager[0].Optional = true; }
protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddMeshParameter("Mesh", "M", "Mesh to draw geodesics on", GH_ParamAccess.item); pManager.AddCurveParameter("Perp. Geodesics", "Pg", "Set of reference measurement geodesics on a given mesh.", GH_ParamAccess.list); pManager.AddNumberParameter("Parameter at Pg", "t", "Parameter of point of reference on Pg", GH_ParamAccess.list); pManager.AddIntegerParameter("Maximum Iterations", "Iter", "Integer representing the maximum number of steps for the geodesic curve algorithm", GH_ParamAccess.item, 50); pManager.AddBooleanParameter("Both Directions", "BothDir", "Generate the geodesic on both directions", GH_ParamAccess.item, false); pManager.AddIntegerParameter("Start Point Index", "StIndex", "Index of starting point to use from the t' list", GH_ParamAccess.item); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddBooleanParameter("Parallel computing", "Parallel", "If there are too many points speed can be increased through parallelization", GH_ParamAccess.item); pManager[0].Optional = true; pManager.AddNumberParameter("Latitude", "Lat", "Input here the latitudes", GH_ParamAccess.list); pManager.AddNumberParameter("Longitude", "Lon", "Input here the longitudes", GH_ParamAccess.list); pManager.AddIntegerParameter("Projection", "Proj", "0 for Web Mercator projection, 1 for Tranverse Mercator projection, 2 for Spherical projection, 3 for Cassini projection, defaults to Web Mercator ", GH_ParamAccess.item); pManager[3].Optional = true; }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddBooleanParameter("UseEntrance", "U", "toggle entrance on/off", GH_ParamAccess.item); pManager.AddIntegerParameter("iCount", "iC", "iteration count", GH_ParamAccess.item); pManager.AddBrepParameter("brepVoid", "brepV", "The void", GH_ParamAccess.item); pManager.AddPointParameter("randomPoint", "P", "random point on curves", GH_ParamAccess.item); pManager.AddCurveParameter("cCurves", "cC", "connection curves", GH_ParamAccess.list); pManager.AddBrepParameter("brepEntrance", "BE", "entrance block", GH_ParamAccess.item); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddPointParameter("待排序点", "P", "用户设置的待排序的点", GH_ParamAccess.list); pManager.AddPointParameter("参考点", "P", "", GH_ParamAccess.item, Point3d.Unset); pManager.AddBooleanParameter("反向", "R", "是否反方向排序", GH_ParamAccess.item, false); pManager.HideParameter(0); pManager.HideParameter(1); Message = "围绕中心点排序"; }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddNumberParameter("Maximum Anisotropy", "AnisoMax", "Threshold angle for creating a mesh fan in the boundary layer", GH_ParamAccess.item, AnisoMax); pManager.AddNumberParameter("SizeWall", "SizeWall", "Element size far from the wall", GH_ParamAccess.item, hfar); pManager.AddNumberParameter("SizeNormal", "SizeNormal", "Mesh size normal to the the wall at nodes", GH_ParamAccess.list, hwall_n_nodes); pManager.AddNumberParameter("SizeRatio", "SizeRatio", "Size ratio between two successive layers", GH_ParamAccess.item, ratio); pManager.AddNumberParameter("MaxThickness", "Thickness", "Maximal thickness of the boundary layer", GH_ParamAccess.item, thickness); pManager.AddIntegerParameter("Edges", "Edges", "IDs of curves for which a boundary layer is needed", GH_ParamAccess.list); pManager.AddIntegerParameter("Surfaces", "Surfaces", "IDs of surfaces where the boundary layer should not be applied", GH_ParamAccess.list); pManager.AddIntegerParameter("FanNodes", "FanNodes", "IDs of points for which a fan is created", GH_ParamAccess.list); pManager.AddIntegerParameter("Nodes", "Nodes", "IDs of points for which a boundary layer ends", GH_ParamAccess.list); pManager.AddBooleanParameter("Intersect", "Intersect", "Intersect metrics of all faces", GH_ParamAccess.item, IntersectMetrics); pManager.AddBooleanParameter("Quads", "Quads", "Generate recombined elements in the boundary layer", GH_ParamAccess.item, quads); pManager[5].Optional = true; pManager[6].Optional = true; pManager[7].Optional = true; pManager[8].Optional = true; }
protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddCurveParameter("Boundary", "boundary", "Boundary curve(s) for vector data", GH_ParamAccess.list); pManager.AddTextParameter("Vector Data Location", "filePath", "File path for the vector data input", GH_ParamAccess.item); pManager.AddTextParameter("User Spatial Reference System", "userSRS", "Custom SRS", GH_ParamAccess.item, "WGS84"); pManager.AddBooleanParameter("Crop file", "cropIt", "Crop the file to boundary?", GH_ParamAccess.item, true); pManager[0].Optional = true; pManager[2].Optional = true; }
protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { List <int> optional = new List <int>(); pManager.AddGenericParameter("Components", "C", "Connect all your components here and don't forget to flatten.", GH_ParamAccess.list); pManager.AddBooleanParameter("Send", "Send", "Add a button to send all components by one click.", GH_ParamAccess.item); optional.Add(pManager.AddTextParameter("IP", "IP", "IP Adress [127.0.0.1]", GH_ParamAccess.item)); optional.Add(pManager.AddIntegerParameter("Port", "Port", "Port [8002]", GH_ParamAccess.item)); optional.Add(pManager.AddIntegerParameter("TimeOut", "Tout", "TimeOut [10000 ms]", GH_ParamAccess.item)); optional.Add(pManager.AddBooleanParameter("Update", "Update", "Updatemode [true]", GH_ParamAccess.item)); optional.Add(pManager.AddBooleanParameter("Erase", "Erase", "Erase not updated Elements [false]", GH_ParamAccess.item)); optional.Add(pManager.AddNumberParameter("Scale", "Scale", "Scale [3.28084]", GH_ParamAccess.item)); foreach (int i in optional) { pManager[i].Optional = true; } }
protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddTextParameter("Path", "Path", "Directory to create the Excel file in.", GH_ParamAccess.item, Environment.SpecialFolder.MyDocuments.ToString() + @"\"); pManager.AddTextParameter("Name", "Name", "Name of the Excel file.", GH_ParamAccess.item, "GH_Data"); pManager.AddTextParameter("Sheet", "Sheet", "Name of the Excel worksheet.", GH_ParamAccess.item, "Grasshopper"); pManager.AddGenericParameter("Headers", "Headers", "Headers for column data.", GH_ParamAccess.tree); pManager.AddGenericParameter("Values", "Values", "Values to store in each row. Data structure must match header branches.", GH_ParamAccess.tree); pManager.AddBooleanParameter("Run", "Run", "Create or overwrite the Excel file at the specified location.", GH_ParamAccess.item, false); }
protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddBooleanParameter("Refresh?", "B", "Boolean button to refresh solution", GH_ParamAccess.item); pManager.AddTextParameter("Base ID", "ID", "ID of Airtable Base", GH_ParamAccess.item); pManager.AddTextParameter("App Key", "K", "App Key for Airtable Base", GH_ParamAccess.item); pManager.AddTextParameter("Table Name", "T", "Name of table in Airtable Base", GH_ParamAccess.item); pManager.AddGenericParameter("Field Names", "FN", "Field Names of new Airtable Records", GH_ParamAccess.list); pManager.AddGenericParameter("Fields", "F", "Fields of new Airtable Records", GH_ParamAccess.list); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { List <bool> States = new List <bool>(); States.Add(false); pManager.AddTextParameter("Values", "V", "---", GH_ParamAccess.list, ""); pManager.AddBooleanParameter("Pattern", "P", "---", GH_ParamAccess.list, States); pManager[1].Optional = true; }
protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddPlaneParameter("Location", "L", "Location and orientation of the text", GH_ParamAccess.item); pManager.AddTextParameter("Text", "T", "Text to display", GH_ParamAccess.item); pManager.AddNumberParameter("Size", "S", "Size of the text", GH_ParamAccess.item, 50); pManager.AddBooleanParameter("Bold", "B", "True for bold font", GH_ParamAccess.item, false); pManager.AddIntegerParameter("Horizontal alignment", "H", "0=Center, 1=Left, 2=Right", GH_ParamAccess.item, 0); pManager.AddIntegerParameter("Vertical alignment", "V", "0=Center, 1=Top, 2=Bottom, 3=Baseline", GH_ParamAccess.item, 0); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddNumberParameter("Variables", "Var", "Variables to be sampled. Must be less than 13.", GH_ParamAccess.list); pManager.AddNumberParameter("Objectives", "Obj", "One or more performance objectives", GH_ParamAccess.list); pManager.AddIntegerParameter("Which Objective?", "Obj#?", "Which objective to step along", GH_ParamAccess.item, 0); pManager.AddNumberParameter("Step size", "Step Size", "Step size", GH_ParamAccess.item, 0.05); pManager.AddIntegerParameter("Direction", "Direction", "Direction to step in; 1 = better, 2 = worse", GH_ParamAccess.item, 1); pManager.AddBooleanParameter("Step", "Step", "Take a step", GH_ParamAccess.item, false); }
protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddBooleanParameter("Write Toggle", "Write", "Set to 'True' to write CSV file", GH_ParamAccess.item); // 0 pManager.AddTextParameter("FolderPath", "Path", "Path to folder", GH_ParamAccess.item); // 1 pManager.AddTextParameter("CsvFileName", "File", "Name of CSV File to be created", GH_ParamAccess.item); // 2 pManager.AddPointParameter("Points", "Points", "A Tree of Placement Points for Curves for a single LoftForm", GH_ParamAccess.tree); // 3 pManager[2].Optional = true; pManager[3].Optional = true; }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddTextParameter("_envimetFolder", "_envimetFolder", "The folder into which you would like to write the envimet model. This should be a complete file path to the folder.", GH_ParamAccess.item); pManager.AddGenericParameter("_envimetLocation", "_envimetLocation", "Location data which comes from \"Dragonfly Envimet Location\" component.", GH_ParamAccess.item); pManager.AddGenericParameter("_envimentGrid", "_envimentGrid", "Connect the output of \"Dragonfly Envimet Grid\".", GH_ParamAccess.item); pManager.AddGenericParameter("nestingGrid_", "nestingGrid_", "Connect the output of \"Dragonfly Envimet Nesting Grid\".", GH_ParamAccess.item); pManager.AddGenericParameter("_envimentObjects_", "_envimentObjects_", "Connect envimet buildings, trees, soils, source, terrain here.", GH_ParamAccess.list); pManager.AddTextParameter("fileName_", "fileName_", "The file name that you would like the envimet model to be saved as. Default name is \"DragonflyEnvimet\".", GH_ParamAccess.item, "DragonflyEnvimet"); pManager.AddBooleanParameter("_runIt", "_runIt", "Set to \"True\" to run the component and generate the envimet model.", GH_ParamAccess.item, false); pManager.AddBooleanParameter("viewGrid_", "viewGrid_", "Set to \"True\" to run the view grid.", GH_ParamAccess.item, false); pManager[3].Optional = true; pManager[4].Optional = true; pManager[4].DataMapping = GH_DataMapping.Flatten; pManager[5].Optional = true; }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddNumberParameter("Radius", "Radius", "螺旋楼梯内半径", GH_ParamAccess.item, 300); pManager.AddNumberParameter("Width", "Width", "螺旋楼梯宽度", GH_ParamAccess.item, 3000); pManager.AddNumberParameter("Angle", "Angle", "螺旋楼梯总旋转角度", GH_ParamAccess.item, 286); pManager.AddNumberParameter("Height", "Height", "每个踏步高度", GH_ParamAccess.item, 150); pManager.AddIntegerParameter("Counts", "Counts", "踏步的数量", GH_ParamAccess.item, 26); pManager.AddBooleanParameter("Direction", "Dir", "旋转方向,true为逆时针,false为顺时针", GH_ParamAccess.item, false); }
protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddSurfaceParameter("Surfaces", "Surfaces", "Input your Surfaces", GH_ParamAccess.list); pManager[0].Optional = true; pManager.AddNumberParameter("InnerBendRadius", "InnerBendRadius", "Input your InnerBendRadius", GH_ParamAccess.item); pManager[1].Optional = true; pManager.AddBooleanParameter("Flip", "Flip", "Flipped or not?", GH_ParamAccess.item); pManager[2].Optional = true; }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddCurveParameter("Boundary", "boundary", "Boundary curve(s) for imagery", GH_ParamAccess.list); pManager.AddTextParameter("File Location", "fileLocation", "Folder to place image files", GH_ParamAccess.item, @"C:\temp\"); pManager.AddTextParameter("Prefix", "prefix", "Prefix for image file name", GH_ParamAccess.item, topoService); pManager.AddBooleanParameter("Run", "get", "Go ahead and download imagery from the service", GH_ParamAccess.item, false); Message = TopoService; }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddGenericParameter("image", "img", "image to manipulate", GH_ParamAccess.item); pManager.AddIntervalParameter("Red_Range", "R", "Red Range To Highlight", GH_ParamAccess.item); pManager.AddIntervalParameter("Red_Range", "G", "Red Range To Highlight", GH_ParamAccess.item); pManager.AddIntervalParameter("Red_Range", "B", "Red Range To Highlight", GH_ParamAccess.item); pManager.AddColourParameter("Colour", "C", "Colour to use for Highlighting", GH_ParamAccess.item, Color.Black); pManager.AddBooleanParameter("Direction", "D", "Invert Set", GH_ParamAccess.item, false); }
protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddGenericParameter("dough", "D", "geometry to bake", GH_ParamAccess.list); int a = pManager.AddTextParameter("layer", "L", "layer to bake on [0]", GH_ParamAccess.item); int b = pManager.AddBooleanParameter("bake", "b", "toggle baking on/off [false]", GH_ParamAccess.item); pManager[a].Optional = true; pManager[b].Optional = true; }
protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddLineParameter("Lines", "L", "Line(s) Representing the Structure", GH_ParamAccess.list); pManager.AddParameter(new Parameters.MaterialParameter()); pManager.AddTextParameter("Section", "S", "Section Type for the Structure: Rod or Square", GH_ParamAccess.item); pManager.AddBooleanParameter("IsFrame?", "Frame?", "Type of Structure", GH_ParamAccess.item); //pManager.AddParameter(new CustomParameters.SectionParameter()); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddCurveParameter("Polyline", "P", "The Polyline to Fillet", GH_ParamAccess.item); pManager.AddNumberParameter("Fillet Ratio", "r", "The the segment ratio (0-1) to use for the fillet", GH_ParamAccess.item, 0.5); pManager.AddBooleanParameter("Angle Dependent", "A", "The the segment % to use for the fillet", GH_ParamAccess.item, false); pManager[1].Optional = true; pManager[2].Optional = true; }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddBoxParameter("Base Box", "B", "Base box to construct the cube mesh.", GH_ParamAccess.item, new Box(Plane.WorldXY, new Interval(-1, 1), new Interval(-1, 1), new Interval(-1, 1))); pManager.AddIntegerParameter("U Count", "U", "Number of faces along the {x} direction.", GH_ParamAccess.item, u); pManager.AddIntegerParameter("V Count", "V", "Number of faces along the {y} direction.", GH_ParamAccess.item, v); pManager.AddIntegerParameter("W Count", "W", "Number of faces along the {z} direction.", GH_ParamAccess.item, w); pManager.AddBooleanParameter("Weld", "We", "Weld creases in the mesh.", GH_ParamAccess.item, weld); pManager.AddNumberParameter("Tolerance", "t", "Welding tolerance (Vertices smaller than this tolerance will be merged)", GH_ParamAccess.item, tolerance); }
protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddBooleanParameter("Reset", "Reset", "Reset", GH_ParamAccess.item, false); pManager.AddBooleanParameter("Play", "Play", "Play", GH_ParamAccess.item, false); pManager.AddBooleanParameter("3D", "3D", "3D", GH_ParamAccess.item, true); pManager.AddSurfaceParameter("srf", "srf", "srf", GH_ParamAccess.item); pManager.AddIntegerParameter("Count", "Count", "Number of Agents", GH_ParamAccess.item, 50); pManager.AddNumberParameter("Timestep", "Timestep", "Timestep", GH_ParamAccess.item, 0.02); pManager.AddNumberParameter("Neighbourhood Radius", "Neighbourhood Radius", "Neighbourhood Radius", GH_ParamAccess.item, 3.5); pManager.AddNumberParameter("Alignment", "Alignment", "Alignment", GH_ParamAccess.item, 0.5); pManager.AddNumberParameter("Cohesion", "Cohesion", "Cohesion", GH_ParamAccess.item, 0.5); pManager.AddNumberParameter("Separation", "Separation", "Separation", GH_ParamAccess.item, 0.5); pManager.AddNumberParameter("Separation Distance", "Separation Distance", "Separation Distance", GH_ParamAccess.item, 1.5); pManager.AddCircleParameter("Repellers", "Repellers", "Repellers", GH_ParamAccess.list); pManager[10].Optional = true; pManager.AddBooleanParameter("Use Parallel", "Use Parallel", "Use Parallel", GH_ParamAccess.item, false); pManager.AddBooleanParameter("Use R-Tree", "Use R-Tree", "Use R-Tree", GH_ParamAccess.item, false); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddTextParameter("Folder", "Folder", "Path to a directory to write images, spectacles models, and the data.csv file into.", GH_ParamAccess.item); pManager.AddTextParameter("Inputs", "Inputs", "Inputs object from the Colibri Iterator compnent.", GH_ParamAccess.list); pManager.AddTextParameter("Outputs", "Outputs", "Outputs object from the Colibri Outputs component.", GH_ParamAccess.list); pManager.AddTextParameter("ImgParams", "ImgParams", "ImgParams object from the Colibri ImageParameters component.", GH_ParamAccess.list); //pManager[3].Optional = true; pManager.AddBooleanParameter("Write?", "Write?", "Set to true to write files to disk.", GH_ParamAccess.item); }
protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddIntegerParameter("width", "w", "width of picture", GH_ParamAccess.item, 400); pManager.AddIntegerParameter("height", "h", "height of picture", GH_ParamAccess.item, 400); pManager.AddTextParameter("file name", "n", "fine name", GH_ParamAccess.item); pManager.AddTextParameter("file address", "ad", "file address", GH_ParamAccess.item); pManager.AddIntegerParameter("type", "t", "0 = jpeg 1= png 2=tif", GH_ParamAccess.item); pManager.AddBooleanParameter("Reset", "r", "reset picture", GH_ParamAccess.item, false); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddTextParameter("Original Image", "image", "File path for the image to be rotated.", GH_ParamAccess.item); pManager.AddTextParameter("Suffix", "suffix", "Suffix to add the end of the original image. If none is provided, a '_rotated' suffix will be added. " + "An existing flipped image path will be overwritten.", GH_ParamAccess.item, "_rotated"); pManager.AddBooleanParameter("Run", "run", "Rotate the image. An existing rotated image path will be overwritten.", GH_ParamAccess.item, false); pManager[1].Optional = true; Message = rotateStatus; }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddPointParameter("PointTree", "PtTree", "points that compose the polyline organized in a tree", GH_ParamAccess.tree); pManager.AddTextParameter("fields", "f", "list of Fields for each geometry. This should not be a datatree but a simple list", GH_ParamAccess.list); pManager.AddGenericParameter("attributes", "attr", "attributes for each geometry. this should be a dataTree matching the linePoints input, and fields indicies", GH_ParamAccess.tree); pManager.AddIntegerParameter("epsgCode", "epsg", "The epsg code for the spatial projection system", GH_ParamAccess.item); pManager.AddTextParameter("filePath", "fp", "File Path for new geojson file, sugestion: use '.json'", GH_ParamAccess.item); pManager.AddBooleanParameter("writeFile", "w", "set to true to write to file", GH_ParamAccess.item); }