sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    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
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 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

      1 Reply Last reply 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.

        1 Reply Last reply Reply Quote 0
        • B Offline
          Bas9999
          last edited by

          Or just 1 line πŸ˜‰

          MSketchyPhysics3.closeControlPanel if frame == 1
          
          1 Reply Last reply 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 }

            1 Reply Last reply 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 }

              πŸ‘ 🀣

              1 Reply Last reply 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