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);
 }
Example #2
0
 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;
 }
Example #3
0
        protected override void RegisterInputParams(GH_InputParamManager manager)
        {
            manager.AddParameter(new Parameters.Family(), "Family", "F", "Family to save", GH_ParamAccess.item);

            var path = new Grasshopper.Kernel.Parameters.Param_FilePath();

            path.FileFilter = "Family File (*.rfa)|*.rfa";
            manager[manager.AddParameter(path, "Path", "P", string.Empty, GH_ParamAccess.item)].Optional = true;

            manager.AddBooleanParameter("OverrideFile", "O", "Override file on disk", GH_ParamAccess.item, false);
            manager.AddBooleanParameter("Compact", "C", "Compact the file", GH_ParamAccess.item, false);
            manager.AddIntegerParameter("Backups", "B", "The maximum number of backups to keep on disk", GH_ParamAccess.item, -1);
            manager[manager.AddParameter(new Parameters.View(), "PreviewView", "PreviewView", "The view that will be used to generate the file preview", GH_ParamAccess.item)].Optional = true;
        }
Example #4
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddCurveParameter("Curve", "Curve", "Curve defining the line load.", GH_ParamAccess.item);
     pManager.AddVectorParameter("StartForce", "StartForce", "StartForce. The start force will define the direction of the line load. [kN]", GH_ParamAccess.item);
     pManager.AddVectorParameter("EndForce", "EndForce", "EndForce. Optional. If undefined LineLoad will be uniform with a force of StartForce. [kN]", GH_ParamAccess.item);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddGenericParameter("LoadCase", "LoadCase", "LoadCase.", GH_ParamAccess.item);
     pManager.AddBooleanParameter("ConstLoadDir", "ConstLoadDir", "Constant load direction? If true direction of load will be constant along action line. If false direction of load will vary along action line - characteristic direction is in the middle point of line. Optional.", GH_ParamAccess.item, true);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddBooleanParameter("LoadProjection", "LoadProjection", "LoadProjection. \nFalse: Intensity meant along action line (eg. dead load). \nTrue: Intensity meant perpendicular to direction of load (eg. snow load).", GH_ParamAccess.item);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddTextParameter("Comment", "Comment", "Comment.", GH_ParamAccess.item);
     pManager[pManager.ParamCount - 1].Optional = true;
 }
Example #5
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddBooleanParameter("Toggle", "T", "Toggle to register key-value pair", GH_ParamAccess.item, false);
     pManager.AddTextParameter("Key", "K", "key to save", GH_ParamAccess.item);
     pManager.AddGenericParameter("Values", "V", "values to retain", GH_ParamAccess.tree);
     pManager.AddBooleanParameter("Clear", "C", "Clear All values held in this component", GH_ParamAccess.item, false);
     pManager.AddBooleanParameter("WriteJson", "W", "Write to Json", GH_ParamAccess.item, false);
     pManager.AddBooleanParameter("ReadJson", "R", "Read Json file", GH_ParamAccess.item, false);
     pManager.AddTextParameter("Filepath", "F", "Json File path", GH_ParamAccess.item);
     pManager[2].Optional = true;
     pManager[4].Optional = true;
     pManager[5].Optional = true;
     pManager[6].Optional = true;
 }
Example #6
0
        protected override void RegisterInputParams(GH_InputParamManager manager)
        {
            var templatePath = new Grasshopper.Kernel.Parameters.Param_FilePath();

            templatePath.FileFilter = "Family Template Files (*.rft)|*.rft";
            manager[manager.AddParameter(templatePath, "Template", "T", string.Empty, GH_ParamAccess.item)].Optional = true;

            manager.AddBooleanParameter("OverrideFamily", "O", "Override Family", GH_ParamAccess.item, false);
            manager.AddBooleanParameter("OverrideParameters", "O", "Override Parameters", GH_ParamAccess.item, false);

            manager.AddTextParameter("Name", "N", string.Empty, GH_ParamAccess.item);
            manager[manager.AddParameter(new Parameters.Category(), "Category", "C", string.Empty, GH_ParamAccess.item)].Optional = true;
            manager[manager.AddGeometryParameter("Geometry", "G", string.Empty, GH_ParamAccess.list)].Optional = true;
        }
Example #7
0
        protected override void RegisterInputParams(GH_InputParamManager manager)
        {
            base.RegisterInputParams(manager);

            var type = manager[manager.AddParameter(new Parameters.Param_Enum <Types.CategoryType>(), "Type", "T", "Category type", GH_ParamAccess.item)] as Parameters.Param_Enum <Types.CategoryType>;

            type.SetPersistentData(DB.CategoryType.Model);
            type.Optional = true;
            manager[manager.AddParameter(new Parameters.Category(), "Parent", "P", "Parent category", GH_ParamAccess.item)].Optional = true;
            manager[manager.AddTextParameter("Name", "N", "Level name", GH_ParamAccess.item)].Optional = true;
            manager[manager.AddBooleanParameter("AllowsSubcategories", "A", "Allows subcategories to be added", GH_ParamAccess.item)].Optional = true;
            manager[manager.AddBooleanParameter("AllowsParameters", "A", "Allows bound parameters", GH_ParamAccess.item)].Optional             = true;
            manager[manager.AddBooleanParameter("HasMaterialQuantities", "M", "Has material quantities", GH_ParamAccess.item)].Optional        = true;
            manager[manager.AddBooleanParameter("Cuttable", "C", "Has material quantities", GH_ParamAccess.item)].Optional = true;
        }
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddCurveParameter("Line", "Line", "LineCurve", GH_ParamAccess.item);
     pManager.AddGenericParameter("Material", "Material", "Material.", GH_ParamAccess.item);
     pManager.AddGenericParameter("Section", "Section", "Section.", GH_ParamAccess.item);
     pManager.AddNumberParameter("LimitCompression", "LimitCompression", "Compression force limit", GH_ParamAccess.item);
     pManager.AddBooleanParameter("BehaviourCompression", "BehaviourCompression", "True if plastic behaviour. False if brittle behaviour", GH_ParamAccess.item);
     pManager.AddNumberParameter("LimitTension", "LimitTension", "Tension force limit", GH_ParamAccess.item);
     pManager.AddBooleanParameter("BehaviourTension", "BehaviourTension", "True if plastic behaviour. False if brittle behaviour", GH_ParamAccess.item);
     pManager.AddVectorParameter("LocalY", "LocalY", "Set local y-axis. Vector must be perpendicular to Curve mid-point local x-axis. This parameter overrides OrientLCS", GH_ParamAccess.item);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddBooleanParameter("OrientLCS", "OrientLCS", "Orient LCS to GCS? If true the LCS of this object will be oriented to the GCS trying to align local z to global z if possible or align local y to global y if possible (if object is vertical). If false local y-axis from Curve coordinate system at mid-point will be used.", GH_ParamAccess.item, true);
     pManager.AddTextParameter("Identifier", "Identifier", "Identifier. Optional, default value if undefined.", GH_ParamAccess.item, "T");
     pManager[pManager.ParamCount - 1].Optional = true;
 }
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddIntegerParameter("NumShapes", "NumShapes", "Number of shapes.", GH_ParamAccess.item, 2);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddIntegerParameter("MaxSturm", "MaxSturm", "Max number of Sturm check steps (checking missing eigenvalues).", GH_ParamAccess.item, 0);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddBooleanParameter("X", "X", "Consider masses in global x-direction.", GH_ParamAccess.item, true);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddBooleanParameter("Y", "Y", "Consider masses in global y-direction.", GH_ParamAccess.item, true);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddBooleanParameter("Z", "Z", "Consider masses in global z-direction.", GH_ParamAccess.item, true);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddNumberParameter("Top", "Top", "Top of substructure. Masses on this level and below are not considered in Eigenfrequency calculation.", GH_ParamAccess.item, -0.01);
     pManager[pManager.ParamCount - 1].Optional = true;
 }
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddBooleanParameter("Use Parallel", "P",
                                  "If you want to use more than one processor core mark it as true", GH_ParamAccess.item, true);
     pManager.AddBooleanParameter("Use R-Tree", "T",
                                  "a faster method to calculate flocking, mark it as true for faster calculations", GH_ParamAccess.item, true);
     pManager.AddBooleanParameter("Reset", "R", "Resets the flock to its initial position", GH_ParamAccess.item, false);
     pManager.AddBooleanParameter("Play", "P", "set true to start flocking and false to stop it", GH_ParamAccess.item, false);
     pManager.AddGenericParameter("Agents", "A", "Agents from the agents component", GH_ParamAccess.list);
     pManager.AddNumberParameter("Flock Properties", "F", "Flock Properties from the properties component", GH_ParamAccess.list);
     pManager.AddGenericParameter("Behaviours", "B", "Behviours should all be supplied to this input", GH_ParamAccess.list);
     pManager[6].Optional = true;
     pManager.AddGenericParameter("Containment", "C",
                                  "All containing geometry should be supplied in this input, if there is a surface please add it first", GH_ParamAccess.list);
 }
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddBooleanParameter("Toggle", "T", "update dict with new KV pairs", GH_ParamAccess.item, false);
     pManager.AddBooleanParameter("Reset", "R", "Clear GH Dictionary", GH_ParamAccess.item, false);
     pManager[1].Optional = true;
     pManager.AddTextParameter("Key", "K", "Key to set or retrieve as an integer", GH_ParamAccess.item);
     pManager.AddGenericParameter("Value", "v", "Values to set to key", GH_ParamAccess.tree);
     pManager[3].Optional = true;
     pManager.AddBooleanParameter("Write", "w", "Write all the values stored as JSON", GH_ParamAccess.item, false);
     pManager[4].Optional = true;
     pManager.AddBooleanParameter("Read", "R", "Read JSON file for this session. This will overwrite any existing data in this component", GH_ParamAccess.item, false);
     pManager[5].Optional = true;
     pManager.AddTextParameter("Path", "F", "complete filepath and name for JSON file", GH_ParamAccess.item, "C:/");
     pManager[6].Optional = true;
 }
Example #12
0
        /// <summary>
        /// Registers all the input parameters for this component.
        /// </summary>
        protected override void RegisterInputParams(GH_InputParamManager inputParamManager)
        {
            //int aIndex = -1;
            //Param_Boolean booleanParameter = null;

            int index = -1;

            inputParamManager.AddTextParameter("_pathTasTBD", "_pathTasTBD", "The string path to a TasTBD file.", GH_ParamAccess.item);
            index = inputParamManager.AddParameter(new GooAnalyticalModelParam(), "_analyticalModel_", "_analyticalModel_", "A SAM analytical model", GH_ParamAccess.item);
            inputParamManager[index].Optional = true;

            inputParamManager.AddBooleanParameter("_excludeOutdoorAir_", "_excludeOutdoorAir_", "Should the outdoor air be excluded and TBD ventilation factor set to zero?", GH_ParamAccess.item, false);
            inputParamManager.AddBooleanParameter("_excludePositiveInternalGains_", "_excludePositiveInternalGains_", "Should the internal conduction gains not offset the heating load from adjacent rooms? This will re-run few times, sizing the simulation for each temperature.", GH_ParamAccess.item, true);
            inputParamManager.AddBooleanParameter("_run", "_run", "Connect a boolean toggle to run.", GH_ParamAccess.item, false);
        }
Example #13
0
        protected override void RegisterInputParams(GH_InputParamManager pManager)
        {
            pManager.AddMeshParameter("Mesh", "Mesh", "Mesh", GH_ParamAccess.item);
            pManager.AddBooleanParameter("Reset", "Reset", "Reset", GH_ParamAccess.item);
            pManager.AddBooleanParameter("Grow", "Grow", "Grow", GH_ParamAccess.item);

            pManager.AddNumberParameter("FacadeVertexCount", "FacadeVertexCount", "FacadeVertexCount", GH_ParamAccess.item);
            pManager.AddNumberParameter("SlabVertexCount", "SlabVertexCount", "SlabVertexCount", GH_ParamAccess.item);
            pManager.AddNumberParameter("CollisionRange", "CollisionRange", "CollisionRange", GH_ParamAccess.item);
            pManager.AddNumberParameter("FloortoFloor", "FloortoFloor", "FloortoFloor", GH_ParamAccess.item);
            pManager.AddNumberParameter("CeilingOffset", "CeilingOffset", "CeilingOffset", GH_ParamAccess.item);
            pManager.AddNumberParameter("MaxHeight", "MaxHeight", "MaxHeight", GH_ParamAccess.item);
            pManager.AddNumberParameter("VerticalWeight", "VerticalWeight", "VerticalWeight", GH_ParamAccess.item);
            pManager.AddNumberParameter("UniformWeight", "UniformWeight", "UniformWeight", GH_ParamAccess.item);
        }
 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);
 }
Example #15
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddBooleanParameter("CalibrateSandworm", "CS",
                                  "Set to true to initiate the calibration process.", GH_ParamAccess.item, calibrateSandworm);
     pManager.AddNumberParameter("SensorHeight", "SH",
                                 "The height (in document units) of the sensor above your model.", GH_ParamAccess.item, sensorElevation);
     pManager.AddIntegerParameter("LeftColumns", "LC",
                                  "Number of columns to trim from the left.", GH_ParamAccess.item, 0);
     pManager.AddIntegerParameter("RightColumns", "RC",
                                  "Number of columns to trim from the right.", GH_ParamAccess.item, 0);
     pManager.AddIntegerParameter("TopRows", "TR",
                                  "Number of rows to trim from the top.", GH_ParamAccess.item, 0);
     pManager.AddIntegerParameter("BottomRows", "BR",
                                  "Number of rows to trim from the bottom.", GH_ParamAccess.item, 0);
     pManager.AddIntegerParameter("TickRate", "TR",
                                  "The time interval, in milliseconds, to update geometry from the Kinect. Set as 0 to disable automatic updates.",
                                  GH_ParamAccess.item, tickRate);
     pManager.AddIntegerParameter("KeepFrames", "KF",
                                  "Output a running list of frame updates rather than just the current frame. Set to 1 or 0 to disable.",
                                  GH_ParamAccess.item, keepFrames);
     pManager[0].Optional = true;
     pManager[1].Optional = true;
     pManager[2].Optional = true;
     pManager[3].Optional = true;
     pManager[4].Optional = true;
     pManager[5].Optional = true;
     pManager[6].Optional = true;
     pManager[7].Optional = true;
 }
Example #16
0
 protected override void RegisterInputParams(GH_InputParamManager manager)
 {
     manager.AddCurveParameter("Boundary", "B", string.Empty, GH_ParamAccess.item);
     manager[manager.AddParameter(new Parameters.ElementType(), "Type", "FT", string.Empty, GH_ParamAccess.item)].Optional = true;
     manager[manager.AddParameter(new Parameters.Element(), "Level", "L", string.Empty, GH_ParamAccess.item)].Optional     = true;
     manager.AddBooleanParameter("Structural", "S", string.Empty, GH_ParamAccess.item, true);
 }
 protected override void RegisterInputParams(GH_InputParamManager manager)
 {
     manager.AddParameter(new Parameters.Element(), "Element", "E", "Element to query", GH_ParamAccess.item);
     manager[manager.AddTextParameter("Name", "N", "Filter params by Name", GH_ParamAccess.item)].Optional = true;
     manager[manager.AddParameter(new Parameters.Param_Enum <Types.BuiltInParameterGroup>(), "Group", "G", "Filter params by the group they belong", GH_ParamAccess.item)].Optional = true;
     manager[manager.AddBooleanParameter("ReadOnly", "R", "Filter params by its ReadOnly property", GH_ParamAccess.item)].Optional = true;
 }
Example #18
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddVectorParameter("Direction", "V", "Translation vector", GH_ParamAccess.item, Vector3d.Zero);
     pManager.AddVectorParameter("Axis", "V", "Rotation axis (positive rotation direction is defined by the right-hand rule).", GH_ParamAccess.item, Vector3d.XAxis);
     pManager.AddNumberParameter("Angle", "A", "Rotation angle in degrees", GH_ParamAccess.item, 0);
     pManager.AddBooleanParameter("TranslationFirst", "t", "Apply translation first? Note that when performing relative transformations, the R+T versus T+R order matters.", GH_ParamAccess.item, true);
 }
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddCurveParameter("Polyline", "P", "Polyline to extrude", GH_ParamAccess.item);
     pManager.AddVectorParameter("Direction", "D", "Extrusion direction", GH_ParamAccess.item);
     pManager.AddBooleanParameter("Cap", "C", "Set True to cap extrusion",
                                  GH_ParamAccess.item, false);
 }
 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);
 }
Example #21
0
        /// <summary>
        /// Registers all the input parameters for this component.
        /// </summary>
        protected override void RegisterInputParams(GH_InputParamManager pManager)
        {
            pManager.AddTextParameter("Folder", "Folder", "Folder path to where to results are", GH_ParamAccess.item);
            pManager.AddIntegerParameter("ThresholdType", "ThresholdType", "0: Wind Thresholds\n1: Lawsons Criteria",
                                         GH_ParamAccess.item, 0);
            pManager.AddTextParameter("ThresholdFrequency", "ThresholdFrequency",
                                      "Thresholds frequencies for different wind comfort categories. This only applies if you have chosen 1 in the ThresholdType." +
                                      "\nInput should be a list JSON formatted strings, " +
                                      "with the fields: \"field\" and \"value\", respectively describing the category name and threshold frequency in % that the wind velocity should be less than." +
                                      "\nThe category names should match the names from the Wind Threshold component. Only matching category names will be shown." +
                                      "\nThe default values corresponds to the Lawson 2001 Criteria",
                                      GH_ParamAccess.list,
                                      new List <string>
            {
                "{\"field\": \"sitting\", \"value\": 5}",
                "{\"field\": \"standing\", \"value\": 5}",
                "{\"field\": \"strolling\", \"value\": 5}",
                "{\"field\": \"business_walking\", \"value\": 5}",
                "{\"field\": \"uncomfortable\", \"value\": 95}",
                "{\"field\": \"unsafe_frail\", \"value\": 99.977}",
                "{\"field\": \"unsafe_all\", \"value\": 99.977}"
            });
            pManager.AddBooleanParameter("Rerun", "Rerun", "Rerun this component.", GH_ParamAccess.item);

            pManager[1].Optional = true;
            pManager[2].Optional = true;
            pManager[3].Optional = 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);
 }
Example #23
0
        /// <summary>
        /// Registers all the input parameters for this component.
        /// </summary>
        protected override void RegisterInputParams(GH_InputParamManager pManager)
        {
            pManager.AddTextParameter("File Path", "Path", "File path to load the mesh from", GH_ParamAccess.list);
            pManager.AddBooleanParameter("Load", "Load", "Load mesh", GH_ParamAccess.item);

            pManager[1].Optional = true;
        }
Example #24
0
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_InputParamManager manager)
 {
     manager.AddGenericParameter("_topology", "_topology", "Topology will be silced", GH_ParamAccess.item);
     manager.AddGenericParameter("_sliceTopology", "_sliceTopology", "Slice Topology", GH_ParamAccess.item);
     manager[1].Optional = false;
     manager.AddBooleanParameter("_transferDictionary_", "_transferDictionary_", "Transfer Dictionary", GH_ParamAccess.item, false);
 }
Example #25
0
 void Inputs(GH_InputParamManager pManager)
 {
     pManager.AddParameter(new ProgramParameter(), "Program", "P", "Robot program.", GH_ParamAccess.item);
     pManager.AddParameter(new ExtrusionAttributesParameter(), "Extrusion attributes", "A", "Extrusion attributes.", GH_ParamAccess.item);
     pManager.AddBooleanParameter("World Coord", "W", "Display in local or world coordinates.", GH_ParamAccess.item, false);
     pManager.AddIntegerParameter("Segments", "S", "Number of segments per crossection.", GH_ParamAccess.item, 24);
 }
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddGenericParameter("Model", "M", "Model object", GH_ParamAccess.item);
     pManager.AddNumberParameter("Stock Length", "SL", "Length of stock rods", GH_ParamAccess.item);
     pManager.AddTextParameter("Directory", "D", "Output directory", GH_ParamAccess.item);
     pManager.AddBooleanParameter("Write Trigger", "T", "Triggers output", GH_ParamAccess.item);
 }
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddGenericParameter("FdModel", "FdModel", "FdModel to add elements to.", GH_ParamAccess.item);
     pManager.AddGenericParameter("Bars", "Bars", "Single bar element or list of bar elements to add. Nested lists are not supported.", GH_ParamAccess.list);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddGenericParameter("FictitiousBars", "FictBars", "Single fictitious bar element or list of fictitious bar elements to add. Nested lists are not supported.", GH_ParamAccess.list);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddGenericParameter("Shells", "Shells", "Single shell element or list of shell elements to add. Nested lists are not supported.", GH_ParamAccess.list);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddGenericParameter("FictitiousShells", "FictShells", "Single fictitious shell element or list of fictitious shell elements to add. Nested lists are not supported.", GH_ParamAccess.list);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddGenericParameter("Panels", "Panels", "Panel element or list of Panel elements to add. Nested lists are not supported.", GH_ParamAccess.list);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddGenericParameter("Covers", "Covers", "Single cover element or list of cover elements to add. Nested lists are not supported.", GH_ParamAccess.list);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddGenericParameter("Loads", "Loads", "Single PointLoad, LineLoad, SurfaceLoad or PressureLoad element or list of PointLoad, LineLoad, SurfaceLoad or PressureLoad to add. Nested lists are not supported.", GH_ParamAccess.list);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddGenericParameter("LoadCases", "LoadCases", "Single LoadCase element or list of LoadCase elements to add. Nested lists are not supported.", GH_ParamAccess.list);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddGenericParameter("LoadCombinations", "LoadCombinations", "Single LoadCombination element or list of LoadCombination elements to add. Nested lists are not supported.", GH_ParamAccess.list);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddGenericParameter("LoadGroups", "LoadGroups", "Single load group or list of LoadGroup elements to add. Nested lists are not supported", GH_ParamAccess.list);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddGenericParameter("Supports", "Supports", "Single PointSupport, LineSupport or SurfaceSupport element or list of PointSupport, LineSupport or SurfaceSupport elements to add. Nested lists are not supported.", GH_ParamAccess.list);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddGenericParameter("Storeys", "Storeys", "Storey element or list of Storey elements to add. Nested lists are not supported.", GH_ParamAccess.list);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddGenericParameter("Axes", "Axes", "Axis element or list of Axis elements to add. Nested lists are not supported.", GH_ParamAccess.list);
     pManager[pManager.ParamCount - 1].Optional = true;
     pManager.AddBooleanParameter("Overwrite", "Overwrite", "Overwrite elements sharing GUID and mark as modified?", GH_ParamAccess.item, false);
     pManager[pManager.ParamCount - 1].Optional = true;
 }
Example #28
0
        /// <summary>
        /// Registers all the input parameters for this component.
        /// </summary>
        protected override void RegisterInputParams(GH_InputParamManager pManager)
        {
            pManager.AddTextParameter("Input", "Input", "Input from previous Compute Component", GH_ParamAccess.item);
            pManager.AddIntegerParameter("Preset", "Preset", "Select a Daylight Metric", GH_ParamAccess.item,
                                         0);
            pManager.AddTextParameter("Overrides", "Overrides",
                                      "Optional overrides to apply to the presets.\n" +
                                      "The overrides should be given in the following JSON format:\n" +
                                      "{\n" +
                                      "    \"threshold\": 500,\n" +
                                      "    \"work_hours\": [8, 16],\n" +
                                      "    \"work_days\": [0, 5],\n" +
                                      "    \"selected_hours\": [],\n" +
                                      "    \"file_extension\": \".res\"\n" +
                                      " }\n" +
                                      "Here shown with the defaults.\n" +
                                      "\"selected_hours\" is a list of true/false values that represents whether or not that hour should be included in the calculation.\n" +
                                      "In case it is given then it will override the \"work_hours\" and \"work_days\".",
                                      GH_ParamAccess.item, "");
            pManager.AddIntegerParameter("CPUs", "CPUs",
                                         "CPUs to use. Valid choices are:\n1, 2, 4, 8, 16, 18, 24, 36, 48, 64, 72, 96.",
                                         GH_ParamAccess.item, 1);
            pManager.AddTextParameter("Case Directory", "Case Dir",
                                      "Folder to save results in on the Compute server. Default is metrics", GH_ParamAccess.item, "metrics");
            pManager.AddBooleanParameter("Create", "Create", "Run the case on Procedural Compute",
                                         GH_ParamAccess.item, false);

            pManager[1].Optional = true;
            pManager[2].Optional = true;
            pManager[3].Optional = true;
            pManager[4].Optional = true;
            pManager[5].Optional = true;

            AddNamedValues(pManager[1] as Param_Integer, Presets);
        }
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddParameter(new ResultElementParam(), "Result Elements", "RE", "Result elements, storing results from the calculation", GH_ParamAccess.list);
     pManager.AddTextParameter("Load Comb", "LC", "Load combination to display results from", GH_ParamAccess.item);
     pManager.AddBooleanParameter("Show deflections", "def", "Enables or disables showing deformed sections", GH_ParamAccess.item, false);
     pManager.AddNumberParameter("ScalingFactor", "sfac", "Scaling factor for the drawing.", GH_ParamAccess.item, 1);
 }
Example #30
0
        /// <summary>
        /// Registers all the input parameters for this component.
        /// </summary>
        protected override void RegisterInputParams(GH_InputParamManager pManager)
        {
            pManager.AddTextParameter("Folder", "Folder", "Folder path to where to results are", GH_ParamAccess.item);
            pManager.AddBooleanParameter("Rerun", "Rerun", "Rerun this component.", GH_ParamAccess.item);

            pManager[1].Optional = true;
        }
Example #31
0
 // Registers all the input parameters for this component.
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddTextParameter("data list", "data", "list of strings used to create the panels", GH_ParamAccess.list);
     pManager.AddTextParameter("group name", "groupName", "name to give to the group containing the created panels", GH_ParamAccess.item);
     pManager.AddGenericParameter("template", "template", "panel used as template for replication and position", GH_ParamAccess.item);
     pManager.AddBooleanParameter("trigger", "trigger", "triggers the panel creation", GH_ParamAccess.item);
 }
Example #32
0
 protected override void RegisterInputParams(GH_InputParamManager manager)
 {
     manager.AddTextParameter("Name", "N", string.Empty, GH_ParamAccess.item);
     manager.AddBooleanParameter("Override", "O", "Override Material", GH_ParamAccess.item, false);
     manager[manager.AddColourParameter("Color", "C", "Material color", GH_ParamAccess.item, System.Drawing.Color.White)].Optional = true;
     //manager[manager.AddParameter(new Grasshopper.Kernel.Parameters.Param_OGLShader(), "Shader", "S", "Material shading attributes", GH_ParamAccess.item)].Optional = true;
 }
Example #33
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddGenericParameter("Robot", "R", "Robot to change the IO name to", GH_ParamAccess.item);
     pManager.AddTextParameter("Name", "N", "New IO name", GH_ParamAccess.item, "Digital_IO_1");
     pManager.AddIntegerParameter("Pin", "N", "Pin number", GH_ParamAccess.item, 1);
     pManager.AddBooleanParameter("Digital", "d", "Is this a digital pin?", GH_ParamAccess.item, true);
 }
        protected override void RegisterInputParams(GH_InputParamManager pManager)
        {
            pManager.AddIntegerParameter("Load case", "LC", "Load case number (default 1)", GH_ParamAccess.item, 1);
            pManager.AddTextParameter("Element list", "El", "List of Elements to apply load to." + System.Environment.NewLine +
                                      "Element list should take the form:" + System.Environment.NewLine +
                                      " 1 11 to 20 step 2 P1 not (G1 to G6 step 3) P11 not (PA PB1 PS2 PM3 PA4 M1)" + System.Environment.NewLine +
                                      "Refer to GSA help file for definition of lists and full vocabulary.", GH_ParamAccess.item);
            pManager.AddTextParameter("Name", "Na", "Load Name", GH_ParamAccess.item);
            pManager.AddIntegerParameter("Axis", "Ax", "Load axis (default Local). " +
                                         System.Environment.NewLine + "Accepted inputs are:" +
                                         System.Environment.NewLine + "0 : Global" +
                                         System.Environment.NewLine + "-1 : Local", GH_ParamAccess.item, -1);
            pManager.AddTextParameter("Direction", "Di", "Load direction (default z)." +
                                      System.Environment.NewLine + "Accepted inputs are:" +
                                      System.Environment.NewLine + "x" +
                                      System.Environment.NewLine + "y" +
                                      System.Environment.NewLine + "z", GH_ParamAccess.item, "z");
            pManager.AddBooleanParameter("Projected", "Pj", "Projected (default not)", GH_ParamAccess.item, false);
            pManager.AddNumberParameter("Value (" + Units.Force + "/" + Units.LengthLarge + "\xB2)", "V", "Load Value (" + Units.Force + "/" + Units.LengthLarge + "\xB2)", GH_ParamAccess.item);

            pManager[0].Optional = true;
            pManager[2].Optional = true;
            pManager[3].Optional = true;
            pManager[4].Optional = true;
            pManager[5].Optional = true;

            _mode = FoldMode.Uniform;
        }
Example #35
0
 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);
 }
        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);
        }
Example #37
0
 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.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);
 }
Example #39
0
 /// <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)
        {
            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;
        }
 /// <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.vehicleName + " " + RS.queleaName, RS.vehicleNickname + RS.queleaNickname, RS.vehicleDescription, GH_ParamAccess.item);
   pManager.AddNumberParameter(RS.visionRadiusName + " " + RS.multiplierName, RS.visionRadiusNickname + RS.multiplierNickname, RS.visionRadiusMultiplierDescription, GH_ParamAccess.item, RS.visionRadiusMultiplierDefault/5);
   pManager.AddNumberParameter(RS.visionAngleName + " " + RS.multiplierName, RS.visionAngleNickname + RS.multiplierNickname, RS.visionAngleMultiplierDescription, GH_ParamAccess.item, RS.visionAngleMultiplierDefault/8);
   pManager.AddBooleanParameter("Crossed?", "C", "If true, the sensors will affect the wheels on the opposite side. If false, a higher sensor reading on the left side will cause the left wheel to turn faster causing the vehicle to turn to its right. Generally, if the sensors are not crossed, then the vehicle will steer away from areas with high values.",
     GH_ParamAccess.item, false);
 }
        protected override void RegisterInputParams(GH_InputParamManager pManager)
        {
            pManager.AddParameter(new NodeParam(), "Restraint Nodes", "RN",
                "A list of nodes that may contain restraints", GH_ParamAccess.list);

            pManager.AddParameter(new BeamParam(), "Beams", "B",
                "Beams that the structure should consist of", GH_ParamAccess.list);

            // Woops, should be restraints!
            //pManager.AddParameter(
            //    new BeamReleaseParameter(), "Releases", "R", "Releases for the structure", GH_ParamAccess.list);

            pManager.AddBooleanParameter("Solve", "Go", "Toggle the solver", GH_ParamAccess.item);
        }
 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)
 {
   // 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.continuousFlowName, RS.continuousFlowNickname, RS.continuousFlowDescription, GH_ParamAccess.item, RS.continuousFlowDefault);
   pManager.AddIntegerParameter(RS.creationRateName, RS.creationRateNickname, RS.creationRateDescription, GH_ParamAccess.item, RS.creationRateDefault);
   pManager.AddIntegerParameter(RS.numQueleaName, RS.numQueleaNickname, RS.numQueleaDescription, GH_ParamAccess.item, RS.numAgentsDefault);
   pManager.AddVectorParameter("Minimum Initial Velocity", "mV",
     "The minimum initial velocity from which a random value will be taken.", GH_ParamAccess.item,
     Constants.VelocityMin);
   pManager.AddVectorParameter("Maximum Initial Velocity", "MV",
     "The maximum initial velocity from which a random value will be taken.", GH_ParamAccess.item,
     Constants.VelocityMax);
   pManager[1].Optional = true;
   pManager[2].Optional = true;
   // 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_InputParamManager pManager)
 {
     pManager.AddBooleanParameter("X-translation", "X", "Fix translation in x direction", GH_ParamAccess.item);
 }
Example #46
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddParameter(new ProgramParameter(), "Program", "P", "Program to simulate", GH_ParamAccess.item);
     pManager.AddNumberParameter("Time", "T", "Advance the simulation to this time", GH_ParamAccess.item, 0);
     pManager.AddBooleanParameter("Normalized", "N", "Time value is normalized (from 0 to 1)", GH_ParamAccess.item, true);
 }
Example #47
0
        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);
        }
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddIntegerParameter("Integer", "I", "An integer", GH_ParamAccess.item);
     pManager.AddBooleanParameter("CrazyException", "Ex", "Throws an exception from C++", GH_ParamAccess.item);
     pManager.AddBooleanParameter("Boolean", "B", "A boolean", GH_ParamAccess.item);
 }
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddParameter(new ResultElementParam(), "Result Elements", "RE", "Result elements, storing results from the calculation", GH_ParamAccess.list);
     pManager.AddTextParameter("Load Comb", "LC", "Load combination to display results from", GH_ParamAccess.item);
     pManager.AddBooleanParameter("Show deflections", "def", "Enables or disables showing deformed sections", GH_ParamAccess.item, false);
     pManager.AddNumberParameter("ScalingFactor", "sfac", "Scaling factor for the drawing.", GH_ParamAccess.item, 1);
 }
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
   pManager.AddBoxParameter(RS.boxName, RS.boxNickname, RS.AABoxDescription, GH_ParamAccess.item);
   pManager.AddBooleanParameter(RS.wrapName, RS.wrapNickname, RS.wrapDescription, GH_ParamAccess.item, RS.wrapDefault);
 }
        protected override void RegisterInputParams(GH_InputParamManager pManager)
        {
            pManager.AddParameter(new ResultElementParam(), "Result Element", "RE", "Result element", GH_ParamAccess.list);
            pManager.AddBooleanParameter("DisplayToggles", "DT", "Toggles the forces to display. Input should be a list of 6 booleans (N, Vy, Vz, T, Myy, Mzz). [Normal force, shear in weak axis, shear in strong axis, torsion, bending in strong direction, bending in weak direction]", GH_ParamAccess.list);
            pManager.AddNumberParameter("ScalingFactor", "sfac", "Scaling factor for the drawing. Input should be either one 'global' scaling factor or a list of 6 individual ones.", GH_ParamAccess.list, 1);
            pManager.AddTextParameter("Load Comb", "LC", "Load combination to display results from", GH_ParamAccess.item);

            pManager[3].Optional = true;
        }
Example #52
0
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
   pManager.AddBooleanParameter(RS.resetName, RS.resetNickname, RS.resetDescription, GH_ParamAccess.item, RS.resetDefault);
   pManager.AddGenericParameter(RS.systemName, RS.systemNickname, RS.systemDescription, GH_ParamAccess.item);
   
 }
 /// <summary>
 /// Registers all the input parameters for this component.
 /// </summary>
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
   pManager.AddSurfaceParameter(RS.surfaceName, RS.surfaceNickname, RS.surfaceForEnvironmentDescription, GH_ParamAccess.item);
   pManager.AddBooleanParameter(RS.wrapName, RS.wrapNickname, RS.wrapDescription, GH_ParamAccess.item, RS.wrapDefault);
 }
 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.AddNumberParameter("Max Ratio", "R", "Maximum ratio of eigenvalue in relation to the first before break", GH_ParamAccess.item, 5);
 }
Example #55
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddBooleanParameter("Trigger", "T", "Trigger to stream the data from Grasshopper to another application.", GH_ParamAccess.item, false);
     pManager.AddPointParameter("Origin Point", "OP", "Origin points for sent objects.", GH_ParamAccess.tree, null);
     pManager.AddPointParameter("Adaptive Points", "AP", "Adaptive component points.", GH_ParamAccess.tree, null);
     pManager.AddCurveParameter("Curve", "C", "Single arc, line, or closed planar curves.  Closed planar curves can be used to generate floor, wall or roof sketches, or single segment non-closed arcs or lines can be used for line based family generation.", GH_ParamAccess.tree);
     pManager.AddVectorParameter("Orientation", "O", "Vector to orient objects.", GH_ParamAccess.tree);
     pManager.AddVectorParameter("Orientation on Face", "F", "Orientation of the element in relation to the face it will be hosted to", GH_ParamAccess.tree);
     pManager[1].Optional = true;
     pManager[2].Optional = true;
     pManager[3].Optional = true;
     pManager[4].Optional = true;
     pManager[5].Optional = true;
 }
Example #56
0
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddIntegerParameter("DO", "D", "Digital output number", GH_ParamAccess.item);
     pManager.AddBooleanParameter("Value", "V", "Digital output value", GH_ParamAccess.item);
 }
 protected override void RegisterInputParams(GH_InputParamManager pManager)
 {
     pManager.AddParameter(new StructureParam(), "Structure", "Str", "The structure to solve", GH_ParamAccess.item);
     pManager.AddIntegerParameter("Modes", "m", "The modes to evaluate", GH_ParamAccess.list);
     pManager.AddBooleanParameter("Solve", "Go", "Toggle the solver", GH_ParamAccess.item);
 }