protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddGenericParameter("Program", "Program", "Robot program as list of commands.", GH_ParamAccess.list); IGH_Param robot = new Axis.GH_Params.RobotParam(); pManager.AddParameter(robot, "Robot", "Robot", "Robot object to use for inverse kinematics. You can define this using the robot creator tool.", GH_ParamAccess.item); pManager.AddBooleanParameter("Run", "Run", "Run a check of the entire program.", GH_ParamAccess.item, false); pManager[2].Optional = true; }
//private string startStopButton = "Start"; #endregion Variables #region IO protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { IGH_Param robot = new Axis.GH_Params.RobotParam(); pManager.AddParameter(robot, "Robot", "Robot", "Robot object to use for inverse kinematics. You can define this using the robot creator tool.", GH_ParamAccess.item); IGH_Param instruction = new Axis.GH_Params.InstructionParam(); pManager.AddParameter(instruction, "Instructions", "Instructions", "Robot program instructions", GH_ParamAccess.list); }
protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager) { IGH_Param robot = new Axis.GH_Params.RobotParam(); pManager.AddParameter(robot, "Robot", "Robot", "Custom robot data type.", GH_ParamAccess.item); }