Пример #1
0
        protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
        {
            IGH_Param controllerParam = new GH_Params.ContollerParam();

            pManager.AddParameter(controllerParam, "Controller", "Controller", "Recives the output from a controller module", GH_ParamAccess.list);
            IGH_Param programParam = new GH_Params.ProgramParam();

            pManager.AddParameter(programParam, "Module", "Module", "Module to be wtritten to the controller.", GH_ParamAccess.list);
        }
Пример #2
0
        protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
        {
            IGH_Param controller = new GH_Params.ContollerParam();

            pManager.AddParameter(controller, "Controller", "Controller", "Recives the output from a controller module", GH_ParamAccess.list);
            IGH_Param instruction = new GH_Params.InstructionParam();

            pManager.AddParameter(instruction, "Target", "Target", "Target for robot positioning.", GH_ParamAccess.item);
            pManager[1].Optional = true;
        }
Пример #3
0
        protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
        {
            IGH_Param controllerParam = new GH_Params.ContollerParam();

            pManager.AddParameter(controllerParam, "Controller", "Controller", "Connection to Robot contoller", GH_ParamAccess.list);


            for (int i = 0; i < 1; i++)
            {
                pManager[i].Optional = true;
            }
        }