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

    Magnets question

    Scheduled Pinned Locked Moved SketchyPhysics
    22 Posts 5 Posters 1.8k Views 5 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.
    • M Offline
      MrPlanet
      last edited by

      Also,

      if key("space")==1 then setVar("mgnt",1000);getVar("mgnt");end;
      

      Put that into the magnet box to keep it on.

      I reject your reality and substitute my own.

      1 Reply Last reply Reply Quote 0
      • T Offline
        Thrundar
        last edited by

        When I try to put any of that coding in the light blue box areas, the UI crashes


        Image of my inspector box where programming goes...

        1 Reply Last reply Reply Quote 0
        • M Offline
          MrPlanet
          last edited by

          @thrundar said:

          When I try to put any of that coding in the light blue box areas, the UI crashes

          That is Weird

          [

          Are you sure you don't have an old computer? On my old Windows 98, my UI and SU always crashed. 😲

          I reject your reality and substitute my own.

          1 Reply Last reply Reply Quote 0
          • T Offline
            Thrundar
            last edited by

            Not an OLD pc. 3.07 ghz cpu. 2 gigs ram, 512 mb nvidea video card. Windows XP

            I'm wondering if I need the paid for version of SU, with ruby and all that? SU stays running, it's that if I put in something wrong (blueish text area?), the UI doesn't fully open properly again.

            1 Reply Last reply Reply Quote 0
            • M Offline
              MrPlanet
              last edited by

              Ask Chris Phillips. He is the creator of SP and should know.

              I reject your reality and substitute my own.

              1 Reply Last reply Reply Quote 0
              • M Offline
                MrPlanet
                last edited by

                @thrundar said:

                I'm wondering if I need the paid for version of SU, with ruby and all that? SU stays running, it's that if I put in something wrong (blueish text area?), the UI doesn't fully open properly again.

                I have Pro, but you don't need Pro, ruby is included in free. Window>Ruby console.

                I reject your reality and substitute my own.

                1 Reply Last reply Reply Quote 0
                • P Offline
                  phy
                  last edited by

                  @thrundar said:

                  Not an OLD pc. 3.07 ghz cpu. 2 gigs ram, 512 mb nvidea video card. Windows XP

                  I'm wondering if I need the paid for version of SU, with ruby and all that? SU stays running, it's that if I put in something wrong (blueish text area?), the UI doesn't fully open properly again.

                  I've had that problem to. if you save the file and go back into it is the script still there. Did you click on the group you put the script in again. Also i have free I don't see why you would need pro.

                  Tableau de comparaison de Staxyn s'agit d'un mГ©dicament uniquement sur ordonnance.

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    Thrundar
                    last edited by

                    @unknownuser said:

                    I've had that problem to. if you save the file and go back into it is the script still there. Did you click on the group you put the script in again. Also i have free I don't see why you would need pro.

                    No idea as I have not saved when UI isn't taking the input or working. I know I'm putting the code or whatever in the wrong area, or checking the wrong thing....Just need a screenshot or two of successful magnets of the inspector so can compare

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      Physicsguy1
                      last edited by

                      I will help. I'm downloading printscreen at the moment

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        Thrundar
                        last edited by

                        My hero....lol! Awesome.

                        I'm wondering if I am missing a plug in for the tool bar? I just reposted the question, rephrased it, new thread. I have no idea what is missing. I have downloaded and tried to mimic examples off 3d warehouse with no luck

                        1 Reply Last reply Reply Quote 0
                        • P Offline
                          Physicsguy1
                          last edited by

                          Here it is. The red box is magnetic, and the selected has the code in the correct field


                          tar.jpg

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            Thrundar
                            last edited by

                            I duplicated what you showed physicsguy...nothing worked. When I tried to go back into the UI, this is what I got


                            UI messed up...

                            1 Reply Last reply Reply Quote 0
                            • P Offline
                              Physicsguy1
                              last edited by

                              I think that has happened to me before. I usually had to quit sketchup and reopen it

                              1 Reply Last reply Reply Quote 0
                              • T Offline
                                Thrundar
                                last edited by

                                Well it happens every time when I try to put anything in the UI. I've restarted SU so many times today. If I had a dollar for each time,..well you get the idea. I'm closing it out, retrying over and over. Getting frustrated.

                                1 Reply Last reply Reply Quote 0
                                • P Offline
                                  Physicsguy1
                                  last edited by

                                  I think the problem is you don't have a file for the UI. re-download sketchyphysics. If that doesn't work then you will have to contact Chris Phillips for help.

                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    Thrundar
                                    last edited by

                                    I have been able to copy and paste a couple examples from the 3d warehouse into my project, and that has given me a starting point for now. Thank you for all your help physicsguy, and everyone else! I wrote to C Phillips earlier and awaiting to hear back from them.

                                    1 Reply Last reply Reply Quote 0
                                    • C Offline
                                      CPhillips
                                      last edited by

                                      What do you mean by "UI crashed"? Give the exact steps you use to make that happen.

                                      It sounds like you might have a hosed install or something. Try reinstalling. If that doesnt work to the menu Window->Ruby console. Once you see the console reproduce the bug then cut and paste the contents and send them to me and I will see if I can see what is happening.

                                      1 Reply Last reply Reply Quote 0
                                      • T Offline
                                        Thrundar
                                        last edited by

                                        Now working. Although at a newbie level, I have gotten a couple examples to work now. Thank you everyone for the help!

                                        1 Reply Last reply Reply Quote 0
                                        • 1
                                        • 2
                                        • 1 / 2
                                        • First post
                                          Last post
                                        Buy SketchPlus
                                        Buy SUbD
                                        Buy WrapR
                                        Buy eBook
                                        Buy Modelur
                                        Buy Vertex Tools
                                        Buy SketchCuisine
                                        Buy FormFonts

                                        Advertisement