• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

Engineering Toolbox Stopped Working **SOLUTION**

Scheduled Pinned Locked Moved SketchUp Discussions
sketchup
27 Posts 6 Posters 3.2k Views
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.
  • B Offline
    Blastfurnace
    last edited by Blastfurnace 9 Apr 2015, 17:17

    I hope someone can help me.

    SU 2015Pro
    Windows 7

    Today my engineering toolbox stopped working. I click the plugin under extensions. everything seems normal. I browse to the specific item I want to load into my model, I click "Insert" and nothing happens.

    I deleted the plugin and re-installed it. No help
    I re-installed the latest JAVA No Help
    Multiple shut downs of the PC and SU No Help

    If it makes a difference I can load models from the warehouse with no problems.

    Odd thing, I downloaded the latest Engineering Toolbox which on their site says version 1.0.1 but in SU it says the version is 1.0.0. Maybe that's not a big deal but it seems odd.

    If anyone has any ideas please help!

    thank you.

    1 Reply Last reply Reply Quote 0
    • B Offline
      Blastfurnace
      last edited by 10 Apr 2015, 16:19

      Not sure what it was.
      Not sure what fixed it.
      But I went with the radical when the logical wasn't working.
      I deleted my plugins folder.
      I uninstalled SU
      Re installed SU.
      Installed the plug ins one at a time
      Installed the Engineering Toolbox plug in and it worked.
      After each plug in was installed, after that, I checked and it still worked.

      Like I said, not sure what it was but it's fixed now.

      1 Reply Last reply Reply Quote 0
      • B Offline
        Blastfurnace
        last edited by 11 Apr 2015, 19:13

        Here we go again...

        Today I was using SU and my Engineering toolbox began to refuse to insert, again.

        I went through same steps...
        Uninstall SU
        Delete plug ins folder
        REinstall SU, reinstall Engineering Tool Box.

        Still won't work.
        Now no matter what I try I just can't get it to insert an object. It does everything like it is supposed to it just won't insert the object.

        Any thoughts?

        Mark

        1 Reply Last reply Reply Quote 0
        • D Offline
          driven
          last edited by 11 Apr 2015, 20:09

          It sounds more like an IE problem...
          Did you try to clear the cache for the Internet Explorer?
          john

          learn from the mistakes of others, you may not live long enough to make them all yourself...

          1 Reply Last reply Reply Quote 0
          • B Offline
            Blastfurnace
            last edited by 13 Apr 2015, 16:15

            Yeah I thought it may be an IE problem too.
            I tried switching default browsers. Didn't Work
            I cleared all of IE cache (At least I think I did) Didn't Work
            I deleted the latest Java Update. Didn't Work

            I would like someone who knows what is going on with the plug in to give me some information.
            Is the plugin actually using my browser?
            When I hit "Insert" it looks like a Java command. Is that correct?
            When I scroll down on the plugin page I see the other "Insert" where you can put an IRL location in. Nothing works there either.
            It's weird because I haven't installed anything new when it stopped working.
            I have no idea what variable would make it stop working.
            It's killing my ability to work though.

            1 Reply Last reply Reply Quote 0
            • D Offline
              Dave R
              last edited by 13 Apr 2015, 16:57

              No matter what you have selected as your default browser, SketchUp and any plugins using web dialogs only uses IE. There should be no need to uninstall/reinstall SU because a plugin stops working.

              When the plugin does stop working, open the Ruby Console (Window menu) and try activating the plugin. Do you get any messages in the console? If so, copy and paste them here.

              Etaoin Shrdlu

              %

              (THERE'S NO PLACE LIKE)

              G28 X0.0 Y0.0 Z0.0

              M30

              %

              1 Reply Last reply Reply Quote 0
              • D Offline
                driven
                last edited by 13 Apr 2015, 17:12

                make surejavascriptin enabled for IE...
                test if 3D warehouse is working from inside SU, to see ifjavascript works...

                javascript has nothing to do with Java [it's a different language]...

                I can't find any mention of Java being needed in the code or at the site, why do you think it's used?

                john

                learn from the mistakes of others, you may not live long enough to make them all yourself...

                1 Reply Last reply Reply Quote 0
                • B Offline
                  Blastfurnace
                  last edited by 13 Apr 2015, 17:51

                  @driven said:

                  make surejavascriptin enabled for IE...
                  test if 3D warehouse is working from inside SU, to see ifjavascript works...

                  javascript has nothing to do with Java [it's a different language]...

                  I can't find any mention of Java being needed in the code or at the site, why do you think it's used?

                  john

                  Yes, you are correct javascript, not java.
                  3d warehouse models load fine.
                  I wasn't aware that java and javascript are unrelated, I get my exercise jumping to conclusions.
                  The "insert" is a javascript function. A right click and properties shows the script.

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    Blastfurnace
                    last edited by 13 Apr 2015, 17:58

                    @dave r said:

                    No matter what you have selected as your default browser, SketchUp and any plugins using web dialogs only uses IE. There should be no need to uninstall/reinstall SU because a plugin stops working.

                    When the plugin does stop working, open the Ruby Console (Window menu) and try activating the plugin. Do you get any messages in the console? If so, copy and paste them here.

                    The plugin doesn't technically STOP working it just doesn't do a function that it should. I browse all the way to my desired object that I want to insert and when I click on "Insert" nothing Inserts.

                    I am not Ruby savy so I am not sure what to do with the empty consol.

                    But I have done another experiment and I find it bizzare but maybe this will help....

                    I install SU2014 Pro.
                    I install the Engineering Toolbox Plugin
                    I can insert items from the plugin no problem.
                    I go back into my SU2015 and save my job in a SU2014 format.
                    I open my job in SU2014.
                    The plugin refuses to work.
                    I close SU and restart the program to just a blank template.
                    The plugin doesn't work.
                    now no matter what I do it will no longer work in SU2014 which was fine until I loaded my SU job.

                    It's like my simple little job file does something to SU that kills its ability to work with the plugin.


                    Unit 1 pump room.skp

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      Dave R
                      last edited by 13 Apr 2015, 18:01

                      But do you get any messages in the Ruby Console when you try to run the operation with the plugin and it doesn't work?

                      Why are you switching back and forth between SU2015 and SU2014?

                      Etaoin Shrdlu

                      %

                      (THERE'S NO PLACE LIKE)

                      G28 X0.0 Y0.0 Z0.0

                      M30

                      %

                      1 Reply Last reply Reply Quote 0
                      • B Offline
                        Blastfurnace
                        last edited by 13 Apr 2015, 18:07

                        @dave r said:

                        But do you get any messages in the console when you try to run the operation with the plugin and it doesn't work?

                        Why are you switching back and forth between SU2015 and SU2014?

                        I only switched to SU2014, as an experiment, to see if it (the plugin) would work in 2014. Which it did. Until I loaded that model. Now it will no longer work in 2014. Even when I start SU to a blank default template

                        No I do not get any messages in the Ruby Window when I run the plugin. or at any time while the plugin is being asked to Insert an object but doesn't.

                        I am sorry if I am missing something basic. I have been using this for a long time and now something has gone haywire.

                        Thank you for your time. I REALLY appreciate it.

                        1 Reply Last reply Reply Quote 0
                        • TIGT Offline
                          TIG Moderator
                          last edited by 13 Apr 2015, 18:48

                          Find the RB file in the Plugins folder which loads this tool...
                          I'm not sure what it's called, because this Plugin is NOT hosted on the SCF PluginStore...
                          Then use this in the Ruby Console:
                          load "name_of_that_file.rb"
                          Any error messages ?

                          TIG

                          1 Reply Last reply Reply Quote 0
                          • D Offline
                            driven
                            last edited by 13 Apr 2015, 18:52

                            ok...

                            removed the pg_Marker_Field that was a fair distance from origin, and then I could 'insert' a 6"" tube against a flange...

                            seems to be the drawing, although I get lots of js errors from the plugin looking for advertisements...

                            they may be contributing...
                            john

                            learn from the mistakes of others, you may not live long enough to make them all yourself...

                            1 Reply Last reply Reply Quote 0
                            • TIGT Offline
                              TIG Moderator
                              last edited by 13 Apr 2015, 18:55

                              @driven said:

                              ok...

                              removed the pg_Marker_Field that was a fair distance from origin, and then I could 'insert' a 6"" tube against a flange...

                              seems to be the drawing, although I get lots of js errors from the plugin looking for advertisements...

                              they may be contributing...
                              john
                              Yer wot ?
                              😕

                              TIG

                              1 Reply Last reply Reply Quote 0
                              • D Offline
                                driven
                                last edited by 13 Apr 2015, 19:05

                                @tig said:

                                Yer wot ?
                                :?

                                sorry, I loaded his model, and ran the plugin and it would notinsert the selected item at my preselected location...
                                I tried some basic objects with 'Outliner' open, and found them 'inserted' at a position ocupied by a locked maker, after deleting that, I could insert the item in my chosen position...

                                having said that, I get 60 > 80 js errors

                                Blocked a frame with origin "http://googleads.g.doubleclick.net" from accessing a frame with origin "http://sketchup.engineeringtoolbox.com". Protocols, domains, and ports must match.
                                

                                for every item I navigate to...

                                john

                                learn from the mistakes of others, you may not live long enough to make them all yourself...

                                1 Reply Last reply Reply Quote 0
                                • B Offline
                                  Blastfurnace
                                  last edited by 13 Apr 2015, 19:30

                                  @tig said:

                                  Find the RB file in the Plugins folder which loads this tool...
                                  I'm not sure what it's called, because this Plugin is NOT hosted on the SCF PluginStore...
                                  Then use this in the Ruby Console:
                                  load "name_of_that_file.rb"
                                  Any error messages ?

                                  No error message. Just returned True

                                  1 Reply Last reply Reply Quote 0
                                  • B Offline
                                    Blastfurnace
                                    last edited by 13 Apr 2015, 19:36

                                    @driven said:

                                    @tig said:

                                    Yer wot ?
                                    😕

                                    sorry, I loaded his model, and ran the plugin and it would notinsert the selected item at my preselected location...
                                    I tried some basic objects with 'Outliner' open, and found them 'inserted' at a position ocupied by a locked maker, after deleting that, I could insert the item in my chosen position...

                                    having said that, I get 60 > 80 js errors

                                    Blocked a frame with origin "http://googleads.g.doubleclick.net" from accessing a frame with origin "http://sketchup.engineeringtoolbox.com". Protocols, domains, and ports must match.
                                    

                                    for every item I navigate to...

                                    john

                                    The locked marker is created by the point gadget plugin which imports points via CSV. That plugin is made by Chris Dizon from Trimble. The marker is at the original Origin of 0,0,0 which is the default location for inserted objects using the Engineering toolbox plugin.

                                    If you have an object selected the tool box plugin normally inserts at that location and orienatation.

                                    The axes you see in that model was moved to match the straight line that was generated by the shots from the Trimble Total Station I use at work.
                                    

                                    I got the plugin from http://sketchup.engineeringtoolbox.com/ I've been using it for nearly two years.

                                    Thanks!

                                    1 Reply Last reply Reply Quote 0
                                    • B Offline
                                      Blastfurnace
                                      last edited by 13 Apr 2015, 19:42

                                      Yes it is something in the drawing causing the issue but why after it causes the issue does the plugin refuse to work in ANY SU drawing? no amount of shutting down or opening blank drawings will make it work after it fails in that drawing.
                                      And Ruby sits there quiet as can be.

                                      gotta be something blocking the javascript command from getting out. I dunno. Maybe I'm crazy.
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • D Offline
                                        driven
                                        last edited by 13 Apr 2015, 20:01

                                        if you pull the dialog wider to expose the right colum it has an item...

                                        @unknownuser said:

                                        Occasionally Problems in Windows
                                        Due to the way Internet Explorer (used by Sketchup in the Web Dialoges) handles its cache there may be occasionally scripting problems in Windows.
                                        Just reload the window - use F5 - to refresh the cache.

                                        have you tried that?
                                        john

                                        learn from the mistakes of others, you may not live long enough to make them all yourself...

                                        1 Reply Last reply Reply Quote 0
                                        • D Offline
                                          driven
                                          last edited by 13 Apr 2015, 20:23

                                          another option is to try and find where it's failing...

                                          the copyright on the script allows us to modify it, so we can add some detection...

                                          # Copyright 2008, Engineering ToolBox
                                          
                                          # This software is provided as a part of the Engineering Toolbox Google Sketchup
                                          # application.
                                          
                                          # Permission to use, copy, modify, and distribute this software for
                                          # any purpose and without fee is hereby granted, provided that the above
                                          # copyright notice appear in all copies.
                                          
                                          # THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
                                          # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
                                          # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
                                          #-----------------------------------------------------------------------------
                                          
                                          require 'sketchup.rb'
                                          
                                          #-----------------------------------------------------------------------------
                                          module EngineeringtoolboxToolsDialog
                                            def EngineeringtoolboxToolsDialog.create_dialog
                                              dlg = UI;;WebDialog.new("Engineering ToolBox", true, "", 1000, 800, 150, 150, true);
                                              dlg.allow_actions_from_host "engineeringtoolbox.com"
                                              dlg.set_url "http://sketchup.engineeringtoolbox.com/"
                                              dlg.show
                                          
                                              dlg.add_action_callback("insert") {|d,p|
                                              p p  # this is all I'm adding... open 'Ruby Panel' then EngToolbox...
                                          	  eval(p)
                                              }
                                            end
                                          end
                                          
                                          
                                          
                                          if( not file_loaded?("engineeringtoolbox.rb") )
                                              add_separator_to_menu("Plugins")
                                              UI.menu("Plugin").add_item("Engineering ToolBox") { EngineeringtoolboxToolsDialog.create_dialog }
                                          
                                          end
                                          
                                          #-----------------------------------------------------------------------------
                                          file_loaded("engineeringtoolbox.rb")
                                          

                                          either add the line or swap in the ruby file replace existing one with this...

                                          then open 'Ruby Console' before testing, and the insert commands should be listed...

                                          john

                                          learn from the mistakes of others, you may not live long enough to make them all yourself...

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

                                          Advertisement