protected override void RegisterInputParams(GH_InputParamManager pManager) { pManager.AddParameter(new ResultElementParam(), "Result Element", "RE", "Result element", GH_ParamAccess.item); pManager.AddTextParameter("Load Comb", "LC", "Load combination to display results from", GH_ParamAccess.item); pManager[1].Optional = true; }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_InputParamManager pManager) { base.RegisterInputParams(pManager); pManager.AddGenericParameter(RS.environmentName, RS.environmentNickname, RS.environmentDescription, GH_ParamAccess.item); pManager.AddNumberParameter(RS.visionRadiusMultiplierName, RS.visionRadiusMultiplierNickname, RS.visionRadiusMultiplierDescription, GH_ParamAccess.item, RS.visionRadiusMultiplierDefault / 5); }
protected override void RegisterInputParams(GH_InputParamManager pManager) { pManager.AddParameter(new StructureParam(), "Structure", "Str", "The structure to solve", GH_ParamAccess.item); pManager.AddBooleanParameter("Solve", "Go", "Toggle the solver", GH_ParamAccess.item); pManager.AddIntegerParameter("Modes", "m", "The modes to optimize for", GH_ParamAccess.list); pManager.AddNumberParameter("Scale factor", "sFac", "Optional scale factor. Scales all forces based on this value. Deafaults to 1", GH_ParamAccess.item, 1); }
protected override void RegisterInputParams(GH_InputParamManager pManager) { pManager.AddParameter(new StructureParam(), "Structure", "Str", "The structure to solve", GH_ParamAccess.item); pManager.AddParameter(new LoadCombParameter(), "Load Combinations", "LC", "Diffrent loadcombinations for the structure", GH_ParamAccess.list); pManager.AddBooleanParameter("Solve", "Go", "Toggle the solver", GH_ParamAccess.item); pManager.AddBooleanParameter("Check structure", "Ch", "A boolean that toggles if the structure is checked before calculation. May be turned off to improve speed.", GH_ParamAccess.item, true); }
protected override void RegisterInputParams(GH_InputParamManager pManager) { pManager.AddParameter(new StructureParam(), "Structure", "Str", "The structure to solve", GH_ParamAccess.item); pManager.AddParameter(new LoadCombParameter(), "Load Combinations", "LC", "Diffrent loadcombinations for the structure", GH_ParamAccess.list); pManager.AddBooleanParameter("Solve", "Go", "Toggle the solver", GH_ParamAccess.item); pManager.AddIntegerParameter("Max Iterations", "MI", "Maximum iterations to run before brake", GH_ParamAccess.item, 100); }
protected override void RegisterInputParams(GH_InputParamManager pManager) { //0 pManager.AddGeometryParameter("Geometry", "Geom", "Input Surface or Mesh", GH_ParamAccess.item); //1 pManager.AddGenericParameter("TargetLengthFunction", "L", "A function determining local edge length", GH_ParamAccess.item); //2 pManager.AddCurveParameter("FixCurves", "FixC", "Curves which will be kept sharp during remeshing. Can be boundary or internal curves", GH_ParamAccess.list); pManager[2].Optional = true; //3 pManager.AddPointParameter("FixVertices", "FixV", "Points to keep fixed during remeshing", GH_ParamAccess.list); pManager[3].Optional = true; //4 pManager.AddIntegerParameter("Flip", "Flip", "Criterion used to decide when to flip edges (0 for valence based, 1 for angle based)", GH_ParamAccess.item, 1); //5 pManager.AddNumberParameter("PullStrength", "Pull", "Strength of pull to target geometry (between 0 and 1). Set to 0 for minimal surfaces", GH_ParamAccess.item, 0.8); //6 pManager.AddIntegerParameter("Iterations", "Iter", "Number of steps between outputs", GH_ParamAccess.item, 1); //7 pManager.AddBooleanParameter("Reset", "Reset", "True to initialize, false to run remeshing. Connect a timer for continuous remeshing", GH_ParamAccess.item, true); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_InputParamManager pManager) { base.RegisterInputParams(pManager); pManager.AddBrepParameter("Obstacle", "O", "A brep representing the obstacle to avoid.", GH_ParamAccess.item); pManager.AddNumberParameter(RS.visionRadiusMultiplierName, RS.visionRadiusMultiplierNickname, RS.visionRadiusMultiplierDescription, GH_ParamAccess.item, RS.visionRadiusMultiplierDefault / 5); }
protected override void RegisterInputParams(GH_InputParamManager pManager) { pManager.AddNumberParameter("Material Stiffness", "E", "Youngs modulus for the beam, set to steel by deafault", GH_ParamAccess.item, 210e9); pManager.AddNumberParameter("Poisons ratio", "p", "Poisons ration for the material of the beam, set to steel by default", GH_ParamAccess.item, 0.3); pManager.AddNumberParameter("Density", "d", "Density of the material. Given in kg/m3", GH_ParamAccess.item, 7800); pManager.AddNumberParameter("Ultimate Stress", "fu", "The ultimate stress for the material, used for utilisation checks", GH_ParamAccess.item, 275e6); }
protected override void RegisterInputParams(GH_InputParamManager pManager) { pManager.AddPointParameter("Anchor Point", "A", "Anchor point for preview vector", GH_ParamAccess.item); pManager.AddVectorParameter("Vector", "V", "Vector to display", GH_ParamAccess.item); pManager.AddColourParameter("Colour", "C", "Colour of vector", GH_ParamAccess.item, Color.Black); pManager.AddIntegerParameter("Thickness", "T", "Thickness of display vector", GH_ParamAccess.item, 1); }
protected override void RegisterInputParams(GH_InputParamManager pManager) { pManager.AddTextParameter("Filepath", "F", "The full path to the image file you want to load.", GH_ParamAccess.item); pManager.AddBooleanParameter("Reload?", "R", "If true, reloads the bitmap from the source file. Use a boolean button and set it to true when you have modified the original file. Otherwise, this component only reloads the file when the filepath has changed.", GH_ParamAccess.item, false); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_InputParamManager pManager) { pManager.AddTextParameter("ListofURL", "ListofURL", "Bim server project URL list", GH_ParamAccess.list); pManager.AddTextParameter("Username", "Username", "Username for the BIM Server", GH_ParamAccess.item); pManager.AddTextParameter("Password", "Password", "Password for the BIM Server", GH_ParamAccess.item); pManager[1].Optional = true; pManager[2].Optional = true; }
protected override void RegisterInputParams(GH_InputParamManager pManager) { List<bool> allFixed = new List<bool> { true, true, true, true, true, true }; pManager.AddPointParameter("Position", "P", "Node position", GH_ParamAccess.item); pManager.AddBooleanParameter("Releases", "R", "Releases for the restraint. Should be a list of 6 bools. True = Fixed, False = Free. Defaults as all fixed.", GH_ParamAccess.list, allFixed); pManager.AddPlaneParameter("Orientation", "Pl", "Add an optional plane for node restraints", GH_ParamAccess.item, Plane.WorldXY); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_InputParamManager pManager) { pManager.AddGenericParameter(RS.particleName + " " + RS.queleaName + " Settings", RS.particleNickname + RS.queleaNickname + "S", RS.particleDescription, GH_ParamAccess.item); pManager.AddNumberParameter(RS.maxSpeedName, RS.maxSpeedNickname, RS.maxSpeedDescription, GH_ParamAccess.item, RS.maxSpeedDefault); pManager.AddNumberParameter(RS.maxForceName, RS.maxForceNickname, RS.maxForceDescription, GH_ParamAccess.item, RS.maxForceDefault); pManager.AddNumberParameter(RS.visionRadiusName, RS.visionRadiusNickname, RS.visionRadiusDescription, GH_ParamAccess.item, RS.visionRadiusDefault); pManager.AddNumberParameter(RS.visionAngleName, RS.visionAngleNickname, RS.visionAngleDescription, GH_ParamAccess.item, RS.visionAngleDefault); }
protected override void RegisterInputParams(GH_InputParamManager pManager) { pManager.AddParameter(new ResultElementParam(), "Result Element", "RE", "Result element", GH_ParamAccess.list); pManager.AddNumberParameter("Scale factor", "s", "The displacement scale", GH_ParamAccess.item, 10); pManager.AddTextParameter("Load Comb", "LC", "Load combination to display results from", GH_ParamAccess.item); pManager[2].Optional = true; }
protected override void RegisterInputParams(GH_InputParamManager pManager) { pManager.AddParameter(new RobotSystemParameter(), "Robot system", "R", "Robot system", GH_ParamAccess.item); pManager.AddParameter(new TargetParameter(), "Target", "T", "One target per robot", GH_ParamAccess.list); pManager.AddTextParameter("Previous joints", "J", "Optional previous joint values. If the pose is ambigous is will select one based on this previous position.", GH_ParamAccess.list); pManager.AddBooleanParameter("Display geometry", "M", "Display mesh geometry of the robot", GH_ParamAccess.item, false); pManager[2].Optional = true; }
protected override void RegisterInputParams(GH_InputParamManager pManager) { pManager.AddTextParameter("Name", "N", "Name of the load combination", GH_ParamAccess.item); pManager.AddBooleanParameter("GravityOn", "GO", "Turns gravity on or off for the load case", GH_ParamAccess.item); pManager.AddVectorParameter("Gravity Field", "GF", "The driection and aplitude of the gravity. Deafault set to 9.82 m/s^2 in negative z-direction", GH_ParamAccess.item, new Rhino.Geometry.Vector3d(0, 0, -9.82)); pManager.AddParameter(new PointLoadParameter(), "PointLoads", "PL", "A set of pointloads", GH_ParamAccess.list); pManager[3].Optional = true; }
protected override void RegisterInputParams(GH_InputParamManager pManager) { pManager.AddNumberParameter("X-translation", "X", "Fix translation in x direction. val < 0 => fixed, val = 0 => released, val > 0 => spring with stiffness=val", GH_ParamAccess.item); pManager.AddNumberParameter("Y-translation", "Y", "Fix translation in y direction. val < 0 => fixed, val = 0 => released, val > 0 => spring with stiffness=val", GH_ParamAccess.item); pManager.AddNumberParameter("Z-translation", "Z", "Fix translation in Z direction. val < 0 => fixed, val = 0 => released, val > 0 => spring with stiffness=val", GH_ParamAccess.item); pManager.AddNumberParameter("X-rotation", "XX", "Fix rotation around the x-axis. val < 0 => fixed, val = 0 => released, val > 0 => spring with stiffness=val", GH_ParamAccess.item); pManager.AddNumberParameter("Y-rotation", "YY", "Fix rotation around the x-axis. val < 0 => fixed, val = 0 => released, val > 0 => spring with stiffness=val", GH_ParamAccess.item); pManager.AddNumberParameter("Y-rotation", "ZZ", "Fix rotation around the x-axis. val < 0 => fixed, val = 0 => released, val > 0 => spring with stiffness=val", GH_ParamAccess.item); }
protected override void RegisterInputParams(GH_InputParamManager pManager) { pManager.AddParameter(new CrossSectionParameter(), "Cross Sections", "XS", "Cross sections to group. Used in optimisations procedures", GH_ParamAccess.list); pManager.AddBooleanParameter("Allow Rotation", "R", "Boolean to set if rotation of the section around its own axis should be alowed or not", GH_ParamAccess.item); pManager.AddIntegerParameter("Section Chooser Procedure", "SCP", "Choose wich method to use in sectionsizer." + " \n 0= check all, bottom up. Allways checks smallest to largest\n 1 = Step to one larger when overutilized \n 2= Sted up if overutilized, down if underutilized. \n 3 = Search all from current ", GH_ParamAccess.item, 0); pManager.AddNumberParameter("Minimum Utilization", "minU", "The minimum utilization allowed before the elementis set to converged in optimization", GH_ParamAccess.item, 0.8); pManager.AddNumberParameter("Maximum Utilization", "maxU", "The maximum utilization allowed before the elementis set to converged in optimization", GH_ParamAccess.item, 1); }
protected override void RegisterInputParams(GH_InputParamManager pManager) { base.RegisterInputParams(pManager); pManager.AddGenericParameter("Environment", "En", "The Surface or Polysurface Environment to flow over.", GH_ParamAccess.item); pManager.AddNumberParameter("Step distance", "D", "The distance the particle will move each timestep. Smaller distances will lead to more accurate results.", GH_ParamAccess.item, 0.1); pManager.AddNumberParameter("Rotation Angle", "A", "The angle that the surface tangent vector will be multiplied by PI and rotated by. A 0 angle will cause the particle to flow across the surface whereas a 0.5 angle will cause the particle to flow down the surface.", GH_ParamAccess.item, 0.5); }
protected override void RegisterInputParams(GH_InputParamManager pManager) { base.RegisterInputParams(pManager); pManager.AddNumberParameter("Minumum Time To Collision", "T", "The number of seconds of travel at the Agent's current velocity that the Agent will predict its position to avoid collisions.", GH_ParamAccess.item, RS.visionRadiusDefault); pManager.AddNumberParameter("Potential Collision Distance", "D", "The distance which will be used to indicate a potential collision is iminent. This number is added to the Agent's and the neighbor" + "s Body Sizes.", GH_ParamAccess.item, 0); }
protected override void RegisterInputParams(GH_InputParamManager pManager) { pManager.AddBooleanParameter("X-translation", "X", "Fix translation in x direction", GH_ParamAccess.item); pManager.AddBooleanParameter("Y-translation", "Y", "Fix translation in y direction", GH_ParamAccess.item); pManager.AddBooleanParameter("Z-translation", "Z", "Fix translation in Z direction", GH_ParamAccess.item); pManager.AddBooleanParameter("X-rotation", "XX", "Fix rotation around the x-axis", GH_ParamAccess.item); pManager.AddBooleanParameter("Y-rotation", "YY", "Fix rotation around the x-axis", GH_ParamAccess.item); pManager.AddBooleanParameter("Y-rotation", "ZZ", "Fix rotation around the x-axis", GH_ParamAccess.item); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_InputParamManager pManager) { base.RegisterInputParams(pManager); // Use the pManager object to register your input parameters. // You can often supply default values when creating parameters. // All parameters must have the correct access type. If you want // to import lists or trees of values, modify the ParamAccess flag. pManager.AddGenericParameter(RS.particleName + " " + RS.queleaName, RS.particleNickname + RS.queleaNickname, RS.particleDescription, GH_ParamAccess.item); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_InputParamManager pManager) { // Use the pManager object to register your input parameters. // You can often supply default values when creating parameters. // All parameters must have the correct access type. If you want // to import lists or trees of values, modify the ParamAccess flag. pManager.AddBooleanParameter(RS.applyName, RS.booleanNickname, RS.applyDescription, GH_ParamAccess.item, RS.applyDefault); }
protected override void RegisterInputParams(GH_InputParamManager pManager) { base.RegisterInputParams(pManager); pManager.AddNumberParameter(RS.massName, RS.massNickname, "More massive attractors will exert a stronger attraction force than smaller ones.", GH_ParamAccess.item, RS.massDefault); pManager.AddNumberParameter("Distance Lower Limit", "L", "The lower limit of the distance by which the strength is divided by.", GH_ParamAccess.item, RS.attractLowerLimitDefault); pManager.AddNumberParameter("Distance Upper Limit", "U", "The upper limit of the distance by which the strength is divided by.", GH_ParamAccess.item, RS.attractUpperLimitDefault); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_InputParamManager pManager) { pManager.AddGenericParameter(RS.queleaName + " Settings", RS.queleaNickname + "S", "The settings for your particle, agent, or vehicle; collectively reffered to as 'quelea'.", GH_ParamAccess.list); pManager.AddGenericParameter(RS.emittersName, RS.emitterNickname, RS.emittersDescription, GH_ParamAccess.list); pManager.AddGenericParameter(RS.environmentName, RS.environmentNickname, "Restricts and Agent's postion to be contained within the environment. This is most useful for Surface and Polysurface Environments. For Brep Environments, consider using the Contain rules as they will run much faster.", GH_ParamAccess.item); pManager[2].Optional = true; }
/// <summary> /// Registers all the input parameters for this component. /// </summary> /// <param name="pManager">GH_InputParamManager: This class is used during Components constructions to add input parameters.</param> protected override void RegisterInputParams(GH_InputParamManager pManager) { pManager.AddCurveParameter("Curve", "G", "Closed Curves", GH_ParamAccess.list); pManager.AddIntegerParameter("Copies", "C", "Copies", GH_ParamAccess.item,1); pManager.AddIntegerParameter("Priority", "P", "Priority", GH_ParamAccess.item,1); pManager.AddParameter(new Orientation(),"Orientation", "O", "Orientation", GH_ParamAccess.item); // Ha de ser un ObjectOrientation pManager.AddParameter(new Criterion(),"Criterion", "Cr", "Criterion", GH_ParamAccess.item); // Ha de ser un ObjectCriterion }
protected override void RegisterInputParams(GH_InputParamManager pManager) { pManager.AddParameter(new ProgramParameter(), "Program", "P", "Program", GH_ParamAccess.item); pManager.AddTextParameter("IP", "IP", "IP address of robot", GH_ParamAccess.item); pManager.AddBooleanParameter("Connect", "C", "Connect to robot", GH_ParamAccess.item, false); pManager.AddBooleanParameter("Upload", "U", "Upload program", GH_ParamAccess.item, false); pManager.AddBooleanParameter("Play", "P", "Play", GH_ParamAccess.item, false); pManager.AddBooleanParameter("Pause", "S", "Pause", GH_ParamAccess.item, false); pManager[1].Optional = true; }
protected override void RegisterInputParams(GH_InputParamManager pManager) { pManager.Register_BooleanParam(PInUp, "U", "Up value by increment", false); pManager.Register_BooleanParam(PInDown, "D", "Down value by increment", false); pManager.Register_DoubleParam(PInMinimum, "Min", "Minimum value", 0.0); pManager.Register_DoubleParam(PInMaximum, "Max", "Maximum value", 15.0); pManager.Register_DoubleParam(PInIncrement, "Inc", "Increment value", 1.0); pManager.Register_DoubleParam(PInDefault, "D", "Value, that set after counter reset", 0.0); pManager.Register_BooleanParam(PInReset, "R", "Reset counter", false); }
protected override void RegisterInputParams(GH_InputParamManager pManager) { pManager.AddParameter(new CrossSectionParameter(),"Cross section", "XS", "Cross section for the beam. Can be provided as a full cross section or as a string in correct format. "+ "String formats:\nRectangular solid: REC[H]x[W]\nRectangular hollow: RHS[H]x[W]x[t]\nCircular solid: CSS[r]\nCircular hollow: CHS[r]x[t]\nUnits are taken as the same units used in the rhino document.", GH_ParamAccess.item); pManager.AddParameter(new BeamReleaseParameter(), "Start Release", "SR", "Release at the start point fo the beam", GH_ParamAccess.item); pManager.AddParameter(new BeamReleaseParameter(), "End Release", "ER", "Release at the end point fo the beam", GH_ParamAccess.item); pManager.AddParameter(new MaterialParam(), "Material", "M", "Material to use in the beam", GH_ParamAccess.item); pManager.AddParameter(new Element3dOptPropParameter(), "Cross section Group", "XSG", "Optional cross section group to be used be optimizers", GH_ParamAccess.item); pManager[4].Optional = true; }
protected override void RegisterInputParams(GH_InputParamManager pManager) { pManager.AddTextParameter("Name", "N", "Tool name", GH_ParamAccess.item, "DefaultGHTool"); pManager.AddPlaneParameter("TCP", "P", "TCP plane", GH_ParamAccess.item, Plane.WorldXY); pManager.AddPlaneParameter("Calibration", "4", "Optional 4 point TCP calibration. Orient the tool in 4 different ways around the same point in space and input the 4 planes that correspond to the flange", GH_ParamAccess.list); pManager.AddNumberParameter("Weight", "W", "Tool weight in kg", GH_ParamAccess.item, 0.0); pManager.AddPointParameter("Centroid", "C", "Optional tool center of mass", GH_ParamAccess.item); pManager.AddMeshParameter("Mesh", "M", "Tool geometry", GH_ParamAccess.item); pManager[2].Optional = true; pManager[4].Optional = true; pManager[5].Optional = true; }
protected override void RegisterInputParams(GH_InputParamManager pManager) { pManager.AddParameter(new StructureParam(), "Structure", "S", "Structure to evaluate", GH_ParamAccess.item); }
protected override void RegisterInputParams(GH_InputParamManager pManager) { pManager.AddParameter(new CrossSectionParameter(), "Cross section", "XSec", "Cross section to evaluate", GH_ParamAccess.item); }
protected override void RegisterInputParams(GH_InputParamManager pManager) { pManager.AddGenericParameter("Data", "D", "input ST-Bridge file data", GH_ParamAccess.item); pManager.AddIntegerParameter("Size", "S", "Tag size", GH_ParamAccess.item, 12); }
protected override void RegisterInputParams(GH_InputParamManager pManager) { pManager.AddParameter(new SpeckleStreamParam("Stream", "S", "A stream object of the stream to be updated.", GH_ParamAccess.tree)); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_InputParamManager pManager) { pManager.AddParameter(new Param_VoxelGrid(), "Grid", "G", "The grid to modify", GH_ParamAccess.item); pManager.AddBooleanParameter("Bool", "B", "True/false value for all cells", GH_ParamAccess.list); }
protected override void RegisterInputParams(GH_InputParamManager manager) { manager.AddParameter(new Parameters.HostObject(), "Host", "H", "Host object to query for its inserts", GH_ParamAccess.item); }
protected override void RegisterInputParams(GH_InputParamManager pManager) { pManager.AddBooleanParameter("Bool", "B", "Input Boolean data.", GH_ParamAccess.tree); pManager[0].Optional = true; // avoid "failed to collect data" }
protected override void RegisterInputParams(GH_InputParamManager pManager) { pManager.AddGenericParameter("Wire", "Wire", "Wire.", GH_ParamAccess.item); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_InputParamManager pManager) { pManager.AddCurveParameter("polylineA", "polyA", "", GH_ParamAccess.item); pManager.AddCurveParameter("polylineB", "polyB", "", GH_ParamAccess.item); }
protected override void RegisterInputParams(GH_InputParamManager pManager) { pManager.AddGenericParameter("Data", "D", "Data to send.", GH_ParamAccess.tree); }
protected override void RegisterInputParams(GH_InputParamManager manager) { manager.AddCurveParameter("Boundaries", "B", string.Empty, GH_ParamAccess.list); manager[manager.AddParameter(new Parameters.ElementType(), "Type", "T", string.Empty, GH_ParamAccess.item)].Optional = true; manager[manager.AddParameter(new Parameters.Element(), "Level", "L", string.Empty, GH_ParamAccess.item)].Optional = true; }
protected override void RegisterInputParams(GH_InputParamManager pManager) { throw new SpeckleException("Please inherit from this class, don't use SelectKitComponentBase directly", level: SentryLevel.Warning); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_InputParamManager pManager) { pManager.AddLineParameter("Lines", "L", "Lines to remove duplicates from. Each branch is de-duplicated individually.", GH_ParamAccess.tree); pManager.AddNumberParameter("Tolerance", "T", "Tolerance within which to remove duplicates", GH_ParamAccess.item, 0.01); pManager.AddIntegerParameter("Granularity", "G", "Size of tasked parallel partition. Only affects computation speed.", GH_ParamAccess.item, 1000); }
protected override void RegisterInputParams(GH_InputParamManager manager) { manager.AddParameter(new Parameters.Element(), "Element", "E", "Element to query for its identity", GH_ParamAccess.item); }
protected override void RegisterInputParams(GH_InputParamManager manager) { manager.AddParameter(new Parameters.ElementType(), "Type", "T", "ElementType to query for its similar types", GH_ParamAccess.item); }
protected override void RegisterInputParams(GH_InputParamManager manager) { manager.AddParameter(new Parameters.Category(), "Category", "C", "Category to query", GH_ParamAccess.item); }
protected override void RegisterInputParams(GH_InputParamManager pManager) { pManager.AddIntegerParameter("Number of depth", "num", "Number of recursion depth", GH_ParamAccess.item); pManager.AddPointParameter("Start point", "startPt", "Start point of base line for Koch curve", GH_ParamAccess.item); pManager.AddPointParameter("End point", "endPt", "End point of base line for Koch curve", GH_ParamAccess.item); }
protected override void RegisterInputParams(GH_InputParamManager pManager) { // All inputs are dynamically generated by the user. }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_InputParamManager inputParamManager) { inputParamManager.AddGenericParameter("_space", "_space", "Revit Space Instance", GH_ParamAccess.item); inputParamManager.AddBooleanParameter("_merge_", "_merge_", "Merge Coplanar Panels", GH_ParamAccess.item, true); inputParamManager.AddBooleanParameter("_run", "_run", "Run", GH_ParamAccess.item, false); }
protected override void RegisterInputParams(GH_InputParamManager manager) { manager.AddCurveParameter("Curve", "C", string.Empty, GH_ParamAccess.item); manager[manager.AddBooleanParameter("Opening", "O", string.Empty, GH_ParamAccess.item, true)].Optional = true; }
protected override void RegisterInputParams(GH_InputParamManager pManager) { pManager.AddTextParameter("ToolName", "T", "The name of the Tool to attach to the Robot flange. Please note it should have been previously defined with \"DefineTool\".", GH_ParamAccess.item); }
protected override void RegisterInputParams(GH_InputParamManager manager) { manager[manager.AddParameter(new Parameters.ElementFilter(), "Filter", "F", "Filter", GH_ParamAccess.item)].Optional = true; }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_InputParamManager inputParamManager) { inputParamManager.AddGenericParameter("_LBGeometry", "_LBGeometry", "Ladybug Geometry", GH_ParamAccess.item); }
protected override void RegisterInputParams(GH_InputParamManager pManager) { pManager.AddGenericParameter("localDataId", "id", "ID of the local data sent.", GH_ParamAccess.item); }
protected override void RegisterInputParams(GH_InputParamManager pManager) { pManager.AddTextParameter("URL", "URL", "The URL of the Machina Bridge App. Leave to default unless you know what you are doing ;)", GH_ParamAccess.item, "ws://127.0.0.1:6999/Bridge"); pManager.AddTextParameter("Name", "Name", "The name of this connecting client", GH_ParamAccess.item, "Grasshopper"); pManager.AddBooleanParameter("Connect?", "C", "Connect to Machina Bridge App?", GH_ParamAccess.item, false); }
protected override void RegisterInputParams(GH_InputParamManager pManager) { pManager.AddTextParameter("Key", "K", "The keys", GH_ParamAccess.list); pManager.AddGenericParameter("Value", "V", "The values", GH_ParamAccess.list); }
protected override void RegisterInputParams(GH_InputParamManager pManager) { _searchIn = pManager.AddTextParameter("Search", "S", "Search", GH_ParamAccess.item); }
protected override void RegisterInputParams(GH_InputParamManager pManager) { }
protected override void RegisterInputParams(GH_InputParamManager pManager) { pManager.AddTextParameter("Comment", "T", "Comment to be displayed on code compilation", GH_ParamAccess.item, "Comment goes here"); }
protected override void RegisterInputParams(GH_InputParamManager manager) { manager[manager.AddParameter(new Parameters.Category(), "Category", "C", "Category", GH_ParamAccess.item)].Optional = true; }