Beispiel #1
0
        //command list
        public void Commandlist()
        {
            long num = CmdList.New(1, "CADS Rebar");

            Robcmdinfo             = CmdList.Get((int)num);
            Robcmdinfo.MenuEnabled = true;
            Robcmdinfo.Id          = 1;
            Robcmdinfo.Name        = "CADS Rebar";
        }
Beispiel #2
0
 public int InstallCommands(RobotCmdList cmdList)
 {
     try
     {
         cmdList.New(1, "Hello World");
         return(1);
     }
     catch
     {
         return(0);
     }
 }
 public int InstallCommands(RobotCmdList cmd_list)
 {
     cmd_list.New(1, "Export slab reinforcement to .dxf"); // Text in Robot menu
     return(cmd_list.Count);
 }
Beispiel #4
0
 public int InstallCommands(RobotCmdList cmd_list)
 {
     cmd_list.New(1, "My Command 1"); // Text in Robot menu
     return(cmd_list.Count);
 }
Beispiel #5
0
 public int InstallCommands(RobotCmdList cmd_list)
 {
     cmd_list.New(1, "Orient grid elements");
     return(cmd_list.Count);
 }