Example #1
0
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     pManager.AddTextParameter("Path", "Path", "Path of the text file to read", GH_ParamAccess.item);
 }
Example #2
0
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     pManager.AddTextParameter("Calc type", "", "Name of assembly and type", GH_ParamAccess.item);
 }
Example #3
0
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     pManager.AddTextParameter("JSON", "J", "The Json to parse", GH_ParamAccess.item);
     pManager.AddTextParameter("Keys", "K", "Keys to retrieve", GH_ParamAccess.list);
     pManager[1].Optional = true;
 }
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     pManager.AddTextParameter("path", "path", "", GH_ParamAccess.item);
     pManager.AddVectorParameter("uv", "uv", "", GH_ParamAccess.list);
 }
Example #5
0
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     pManager.AddBooleanParameter("Run Button", "Run", "Connect to a button to trigger to import a file from Revit.", GH_ParamAccess.item, false);
     pManager.AddTextParameter("dwgPath", "Path", "A file path that will be imported to the active Rhino session", GH_ParamAccess.item, dwgPath);
 }
Example #6
0
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     pManager.AddTextParameter("layer", "layer", "layername", GH_ParamAccess.item, "");
     pManager.AddCurveParameter("curves", "curves", "If a layer is specified, this input will be ignored.", GH_ParamAccess.list);
     pManager[1].Optional = true;
 }
Example #7
0
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     pManager.AddGenericParameter("Result", "Result", "Result to be Parse", GH_ParamAccess.list);
     pManager.AddTextParameter("Case/Combination Name", "Case/Comb Name", "Name of Load Case/Load Combination for which to return the results. Default value returns the results for the first load case", GH_ParamAccess.item);
 }
Example #8
0
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     pManager.AddTextParameter("Label", "L", "Label of the fuzzy set", GH_ParamAccess.item);
     pManager.AddNumberParameter("A", "A", "Value", GH_ParamAccess.item);
 }
Example #9
0
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     pManager.AddBrepParameter("_plant2D", "_plant2D", "Geometry that represent ENVI-Met plant 2d.  Geometry must be a Surface or Brep on xy plane.", GH_ParamAccess.list);
     pManager.AddTextParameter("_plantId_", "_plantId_", "ENVI-Met plant id. You can use \"id outputs\" which comes from \"LB ENVI - Met Read Library\".\nDefault is 0000XX.", GH_ParamAccess.list, "0000XX");
     pManager[1].Optional = true;
 }
Example #10
0
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     pManager.AddTextParameter("Directory Path", "P", "Path to the directory to read", GH_ParamAccess.item);
 }
Example #11
0
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     pManager.AddGenericParameter("User Data", "D", "User Dictionary.", GH_ParamAccess.item);
     pManager.AddTextParameter("Path", "P", "Path of desired property, separated by dots.\nExample:'turtle.smallerTurtle.microTurtle'", GH_ParamAccess.item);
 }
Example #12
0
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     pManager.AddCurveParameter("Crvs", "C", "Curve Object", GH_ParamAccess.list);
     pManager.AddTextParameter("Sign", "S", "如何排序,只能是‘x’,‘y’,‘z’,‘l’(按长度进行排序)", GH_ParamAccess.item, ",");
 }
Example #13
0
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     pManager.AddGenericParameter("Elements", "E", "UI Element(s) to listen to. This can be retrieved either directly from the component \n that generated the element, or from the output of the \"Add Elements\" component.", GH_ParamAccess.list);
     pManager.AddTextParameter("Name Filter(s)", "F", "The optional filter(s) for the elements you want to listen for.", GH_ParamAccess.list);
     pManager[1].Optional = true;
 }
Example #14
0
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     pManager.AddGenericParameter("Element", "E", "The values", GH_ParamAccess.item);
     pManager.AddTextParameter("Name", "N", "Name", GH_ParamAccess.item, "Group");
     pManager[1].Optional = true;
 }
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     _patternInput = pManager.AddTextParameter("Pattern", "Pattern", "File name pattern", GH_ParamAccess.item, "");
 }
Example #16
0
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     pManager.AddTextParameter("_input", "_input", "DummyVariable called initiated as flase", GH_ParamAccess.list, "False");
 }
Example #17
0
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     pManager.AddBooleanParameter("Wireframe", "W", "Display as wireframe", GH_ParamAccess.item, false);
     pManager.AddTextParameter("WireframeLineJoin", "J", "Style of wireframe joins ('round', 'miter', or 'bevel'", GH_ParamAccess.item, "round");
     pManager.AddNumberParameter("WireframeLineWidth", "L", "The width of the wireframe line", GH_ParamAccess.item, 1);
 }
Example #18
0
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     pManager.AddTextParameter("Radio Button Name", "N", "The name of the radio button.", GH_ParamAccess.item);
     pManager.AddTextParameter("Radio Button Group", "G", "The group the radio button belongs to. \n Only one button in a group can be selected at a time.", GH_ParamAccess.item);
 }
Example #19
0
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     pManager.AddBooleanParameter("Activate", "Activate", "Activate", GH_ParamAccess.item);
     pManager.AddTextParameter("ViewportName", "ViewportName", "ViewportName", GH_ParamAccess.item);
 }
Example #20
0
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     pManager.AddTextParameter("filePath", "P", Resources.Data_FilePathDesc, GH_ParamAccess.item);
     pManager.AddGenericParameter("Domain", "D", Resources.Data_Domain, GH_ParamAccess.item);
     pManager[1].Optional = true;
 }
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     pManager.AddTextParameter("Label", "L", "Optional label for the Text Box", GH_ParamAccess.item, "");
     pManager.AddTextParameter("Default Text", "D", "The starting text in the text box", GH_ParamAccess.item, "");
     pManager.AddBooleanParameter("Update Button", "U", "Set to true to associate text box \nwith a button for updates. Otherwise event listening will \nassociate with every change in text box content.", GH_ParamAccess.item, true);
 }
Example #22
0
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     pManager.AddTextParameter("Named Viewport", "view", "Provide the name of the viewport to be used.", GH_ParamAccess.item, "Top");
 }
Example #23
0
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     pManager.AddTextParameter("CSV file", "csv file ", "csv file path", GH_ParamAccess.item);
 }
Example #24
0
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     pManager.AddGenericParameter("Dictionary", "Dictionary", "Dictionary", GH_ParamAccess.item);
     pManager.AddTextParameter("Key", "Key", "Key", GH_ParamAccess.item);
 }
Example #25
0
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     pManager.AddCurveParameter("Boundary", "boundary", "Boundary curve(s) for vector data", GH_ParamAccess.list);
     pManager.AddTextParameter("Topography Raster File", "topoFile", "Filepath for the raster topography input", GH_ParamAccess.item);
     pManager[0].Optional = true;
 }
Example #26
0
 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", "fileLoc", "File path for the vector data input", GH_ParamAccess.item);
     pManager[0].Optional = true;
 }
Example #27
0
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     pManager.AddTextParameter("Names", "N", "Names of members to associate extension types with", GH_ParamAccess.list);
     pManager.AddIntegerParameter("Extensions", "E", "Extension types of members", GH_ParamAccess.list);
 }
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     pManager.AddGenericParameter("Issues", "i", "YouTrack Issues", GH_ParamAccess.tree);
     pManager.AddTextParameter("States", "s", "States to report", GH_ParamAccess.list, "");
 }
Example #29
0
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     pManager.AddTextParameter("Path", "Path", "Path to the executable of Gmsh.", GH_ParamAccess.item, string.Empty);
 }
Example #30
0
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
 {
     pManager.AddGenericParameter("UI Elements", "E", "The UI elements to put in the expander", GH_ParamAccess.list);
     pManager.AddTextParameter("Header", "H", "The text to display in the expander header", GH_ParamAccess.item, "");
     pManager.AddBooleanParameter("Open", "O", "The starting state of the expander - true for open, false for collapsed", GH_ParamAccess.item, true);
 }