sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Is it possible to set global gravity to take effect in sim?

    Scheduled Pinned Locked Moved SketchyPhysics
    1 Posts 1 Posters 554 Views 1 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.
    • EvanE Offline
      Evan
      last edited by

      I can set the global gravity via script at any time but it doesn't take effect until the next simulation run. It shows up as a changed setting in the plugin global parameters setting screen but it has no effect within the simulation when it is running. Any ideas?

      The script used to change global gravity is:

      Sketchup.active_model.set_attribute( "SPSETTINGS", "gravity", "1.0")

      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