sketchucation logo sketchucation
    • Login
    πŸ›£οΈ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Disable control panel popup

    scheduled pinned locked moved SketchyPhysics
    5 Posts 3 Posters 7.9k Views 3 Watching
    loading-more-posts
    • oldest-to-newest
    • newest-to-oldest
    • most-votes
    reply
    • reply-as-topic
    guest-login-reply
    deleted-message
    • john2J Offline
      john2
      last edited by

      Every time I hit the play button, the SP control panel pops up. Is there anyway to temporarily disable this feature? Sometimes I don't need this panel.

      Sketchup Make 2017 (64-bit), Vray 4.0 , Windows 10 – 64 bit, corei7-8750H, 16GB RAM, Nvidia GeForce GTX 1050Ti 4GB

      one-reply-to-this-post last-reply-time reply quote 0
      • A Offline
        Anton_S
        last edited by

        There are a couple of ways to do it.

        One way is by changing source. Open SketchyPhysics3/sp_tool.rb, scroll down to line 1423, and comment out MSketchyPhysics3.showControlPanel.

        Another way is to add script in to any un-ignored object. Paste this code into body scripted field:

        onUpdate {
          if frame == 1
            MSketchyPhysics3.closeControlPanel
          end
        }
        

        This code simply closes dialog when simulation starts.

        one-reply-to-this-post last-reply-time reply quote 0
        • B Offline
          Bas9999
          last edited by

          Or just 1 line πŸ˜‰

          MSketchyPhysics3.closeControlPanel if frame == 1
          
          one-reply-to-this-post last-reply-time reply quote 0
          • A Offline
            Anton_S
            last edited by

            Although it still has to be in onUpdate or onTick event.
            So your one liner would look like this:
            onUpdate { MSketchyPhysics3.closeControlPanel if frame == 1 }

            one-reply-to-this-post last-reply-time reply quote 0
            • B Offline
              Bas9999
              last edited by

              @anton_s said:

              Although it still has to be in onUpdate or onTick event.
              So your one liner would look like this:
              onUpdate { MSketchyPhysics3.closeControlPanel if frame == 1 }

              πŸ‘ 🀣

              one-reply-to-this-post last-reply-time reply quote 0
              • 1 / 1
              • first-post
                last-post
              Buy SketchPlus
              Buy SUbD
              Buy WrapR
              Buy eBook
              Buy Modelur
              Buy Vertex Tools
              Buy SketchCuisine
              Buy FormFonts

              Advertisement