hexagon logo

The more i run a program the slower it gets

Over time when I run a program and hit cltr+U to start it it takes sometimes upwards of a minute to start. Compared to when I created the program it started almost immediately. My theory is that the program is keeping all of the output dimensions logged somewhere so it is bloating the program. I've tried using the print command to delete previous instances however that only seems to "delete" the from the current report display. I say this because I can remove the line and it will show my previous measurements again if I open the report window.

How do I prevent the program from getting slower the more I run it?
Parents
  • This might have to do with your PC capabilities, or other variables contributing to it (like the size of your CAD or the number of labels in your graphic display window).
    You can always switch off displaying all CAD, as a quick test.
    Also, when I'm done programming a routine, before I set it as read-only and lock it down, I execute the entire routine offline, then right click on a feature label and select "Hide all IDs". From that point forward, your graphics card will only be rendering the CAD, and not all the labels that get produced and re-positioned while panning and moving the view around. Otherwise, some routines have hundreds of labels that just bog the whole system down (even with great hardware).
Reply
  • This might have to do with your PC capabilities, or other variables contributing to it (like the size of your CAD or the number of labels in your graphic display window).
    You can always switch off displaying all CAD, as a quick test.
    Also, when I'm done programming a routine, before I set it as read-only and lock it down, I execute the entire routine offline, then right click on a feature label and select "Hide all IDs". From that point forward, your graphics card will only be rendering the CAD, and not all the labels that get produced and re-positioned while panning and moving the view around. Otherwise, some routines have hundreds of labels that just bog the whole system down (even with great hardware).
Children
No Data