#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2004
    Posts
    2
    Rep Power
    0

    Can I clear the visual screen? How?


    I don't know if this forum is for vpython as well, but does anyone know if theres a way to clear all objects from the visual screen? I read the threads about clearing the idle screen. I just set up a loop, and things get messy because old objects stick around and block the view

    I need the loop because I want the visual program to run many times so that I can use the results of each loop to plot a graph point.
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2004
    Posts
    2
    Rep Power
    0

    scratch that


    I found something. I just used

    for obj in scene.objects:
    obj.visible = 0

    But...does anyone know if these objects, though invisible, will begin to slow the program? Its a big loop.

IMN logo majestic logo threadwatch logo seochat tools logo