sketchucation logo sketchucation
    • Login
    โ„น๏ธ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Grey Out Issue is back

    Scheduled Pinned Locked Moved Developers' Forum
    30 Posts 6 Posters 599 Views 6 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.
    • Rich O BrienR Offline
      Rich O Brien Moderator
      last edited by

      It even greys the menu item.

      Image 4.png

      Never paid much attention to the old grey-out dilemma much but did it affect the menu entries also?

      Download the free D'oh Book for SketchUp ๐Ÿ“–

      1 Reply Last reply Reply Quote 0
      • thomthomT Offline
        thomthom
        last edited by

        Yup.

        Thomas Thomassen โ€” SketchUp Monkey & Coding addict
        List of my plugins and link to the CookieWare fund

        1 Reply Last reply Reply Quote 0
        • TIGT Offline
          TIG Moderator
          last edited by

          I'm not seeing it but I don't have 'every plugin under the sun' auto-loading...
          The outbreak of multi-downloading from the Plugins Store etc might result in too many plugins loading and making too many commands.

          They did up the command limit which fixed it last time.

          A slow startup is an indicator of having too many plugins auto-loading...

          Another cause that makes multiple-commands and thereby eats up the available command-quota was found during the last great gray-out dรฉbรขcle...

          Fredo [and perhaps a few others ?] had some tools that made a new command every time the tool was used - the old command was no longer used but it couldn't be 'unloaded' - so SketchUp itself started to dump commands to keep the total used number within its limits.
          Once this was realized Fredo et al changed their code, so that the one command used for the context-menu/menu/toolbar was made just once, as the tool loaded, and thus the number of commands was minimized...

          There have been a number of new scripters turn up here lately and I just wonder if one or two of them has accidentally made the same error - i.e. having a tool that makes a command as it is used and not as it is initially loaded.
          I hope it's not me ๐Ÿ˜’

          Didn't Fredo make a code snippet to see what commands, by name, were getting made/loaded ?
          This could expose the multi-loading issue...
          ๐Ÿ˜•

          TIG

          1 Reply Last reply Reply Quote 0
          • Rich O BrienR Offline
            Rich O Brien Moderator
            last edited by

            http://sketchucation.com/forums/viewtopic.php?p=399439#p399439

            Can you check this?

            Download the free D'oh Book for SketchUp ๐Ÿ“–

            1 Reply Last reply Reply Quote 0
            • TIGT Offline
              TIG Moderator
              last edited by

              As a tool it's relatively useless because the dropdown from the native Layers toolbar does this all less clunkily... It is from 2006!
              However, the tool's code does NOT seem to make multiple command entries... so I don't think it is to blame...
              I've loaded it and loads more tools I don't normally use and I can't get a gray-out !

              Rich [and any other sufferers] can you PM me a list of your plugins .rb/.rbs in the main Plugins folder...
              As .txt preferred [sorted!] so I can compare it with mine to narrow down the possible culprits...

              TIG

              1 Reply Last reply Reply Quote 0
              • Rich O BrienR Offline
                Rich O Brien Moderator
                last edited by

                How did I export folder files to .txt?

                Download the free D'oh Book for SketchUp ๐Ÿ“–

                1 Reply Last reply Reply Quote 0
                • Bob JamesB Offline
                  Bob James
                  last edited by

                  @rich o brien said:

                  How did I export folder files to .txt?

                  I use this:
                  DirectoryListPrintPro

                  And, Rich, as you know, I get toolbars greyed out ๐Ÿ˜ฒ I'll send you that info today.

                  i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

                  1 Reply Last reply Reply Quote 0
                  • TIGT Offline
                    TIG Moderator
                    last edited by

                    Doing it from within SketchUp... open the Ruby Console and type/copy:
                    Dir.entries(Sketchup.find_support_file('plugins')).each{|f|puts f if f=~/.rb$/; puts f if f=~/.rbs$/};puts
                    You'll get a list of all .rb/.rbs files that are auto-loading [sorted] from that folder.
                    Copy/paste that text into a .txt file and PM it to me...

                    If you also have other 'custom-plugins-folders' that you have plugins in defined in your your $LOAD_PATH then you need to do multiple lists - change the text in the example above -
                    Sketchup.find_support_file('plugins') - to be the path to the custom folder - within '' - e.g. 'C:/Users/Rich/Desktop/MyPlugins'... Make a separate txt file for each 'plugins' folder...

                    TIG

                    1 Reply Last reply Reply Quote 0
                    • TIGT Offline
                      TIG Moderator
                      last edited by

                      @Rich

                      The first thing I notice is that I have double the amount of plugins loading !
                      So what is different?

                      Here's what I don't have loading and you do...

                      You have some early loaders that I think you use to group menu items...
                      ####camera.rb ####misc.rb ####TIG.rb **##hideEverythingElse.rb**
                      then there's
                      Add Vertex.rb addfaces.rb **ae_Console.rb ae_Snapshot.rb ae_ToolbarEditor.rb** angle_between.rb arcs.rb **as_loadsketchfab.rb as_loadsketchupnews.rb**
                      and then
                      cameraKeyMaker.rb **catmull-clark_subdivision.rb** CenterPointAll.rb cleanup.rb **Color_N_Gon.rb**
                      then
                      default_scenes.rb dimsvis.rb Double Line.rb EdgeFollowMe.rb **flightsofideas.rb** frontface.rb **GeoNuke.rb** grid.rb Groove Maker.rb **Hatchfaces.rb** **Image2Model.rb** keyframe_animation.rb **load_qpik_simple_rays.rb** Make_Components.rb **mshstick.rb** [WTF?] **normal_map_maker.rb** PolyLine.rb proxy.rb PutOnLayer_sortname.rb
                      and then
                      **RamTools_StepEx.rb** **recurve.rb** remove_inner_faces.rb rename_comp_inst.rb Re_Glue.rb ruby_console.rb scenetweak.rb selection_edge.rb **smoothStepAnim.rb** sptm.rb **susolid.rbs** **Terrain Tools.rb** **tgi3d.rbs** **Thea4SU_loader.rb** **TheaExporter_loader.rb** toggle_units_3icons.rb **Wikii_MRS.rbs** Window Settings.rb

                      I have not even heard of some of these ๐Ÿ˜’
                      I have emboldened some of my initial suspects [with NO proof - just gut-feeling! - the .rbs ones I can't look into anyway!].

                      Can you try disabling some of them, restart and see if the gray-out issue continues ?
                      You have some 'bit-hitters' in there so I'd be interested to see what's what...

                      TIG

                      1 Reply Last reply Reply Quote 0
                      • thomthomT Offline
                        thomthom
                        last edited by

                        catmull-clark_subdivision.rb is my experiment of a plugin. It adds one sub-menu to Tools with three menus and a separator.

                        Thomas Thomassen โ€” SketchUp Monkey & Coding addict
                        List of my plugins and link to the CookieWare fund

                        1 Reply Last reply Reply Quote 0
                        • Rich O BrienR Offline
                          Rich O Brien Moderator
                          last edited by

                          I can't read that bold text

                          Change the color

                          Download the free D'oh Book for SketchUp ๐Ÿ“–

                          1 Reply Last reply Reply Quote 0
                          • TIGT Offline
                            TIG Moderator
                            last edited by

                            @Box

                            I have six times more plugins loading that you - and no grey-out !! ๐Ÿ˜ฒ
                            So some of yours must be suspect !

                            Here's the differences I have spotted...
                            **ae_ToolbarEditor.rb** Brighter3D.rb move_to_origin.rb move_to_origin_and_center.rb multi_face_scale_offset.rb Quick Lathe.rb **recurve.rb throw_to.rb Tile Grid.rb** **ToolbarBuilderFree.rb**

                            You'll see that Rich has many different 'different ones'... so perhaps try disabling some of your common ones first ?
                            But it doesn't mean that some others may be screwing up additionally... ๐Ÿ˜•

                            TIG

                            1 Reply Last reply Reply Quote 0
                            • BoxB Offline
                              Box
                              last edited by

                              Recurve seems to be the only one we have in common, but I've been using that for a long time.
                              Both Move to origins have had since I got off the ark.
                              The toolbar ones and offset scale have only been installed very recently and the greyout was before that.
                              Brighter3d, tile grid and quicklathe were about the same time.

                              So I have removed a bunch and will see if it happens again.
                              Be a shame if it is throw_to or recurve, use them both a lot.

                              1 Reply Last reply Reply Quote 0
                              • TIGT Offline
                                TIG Moderator
                                last edited by

                                ae_ToolbarEditor.rb ?

                                TIG

                                1 Reply Last reply Reply Quote 0
                                • TIGT Offline
                                  TIG Moderator
                                  last edited by

                                  @Box
                                  The problem is not insolvable - if a tool is found to be make multiple commands it is possible to fix the code to avoid it...

                                  TIG

                                  1 Reply Last reply Reply Quote 0
                                  • BoxB Offline
                                    Box
                                    last edited by

                                    @tig said:

                                    ae_ToolbarEditor.rb ?

                                    I only installed that after having the greyout issues.

                                    1 Reply Last reply Reply Quote 0
                                    • TIGT Offline
                                      TIG Moderator
                                      last edited by

                                      @rich o brien said:

                                      I can't read that bold text

                                      Change the color
                                      What are you on about? All the items are in 'ruby' bbcode with bold for those.
                                      There's little difference... but there is some.


                                      Capture.PNG

                                      TIG

                                      1 Reply Last reply Reply Quote 0
                                      • TIGT Offline
                                        TIG Moderator
                                        last edited by

                                        @box said:

                                        @tig said:

                                        ae_ToolbarEditor.rb ?

                                        I only installed that after having the greyout issues.
                                        BUT it might have been the straw that breaks the proverbial... Maybe a few scripts are adding several extra commands, these then accumulate to the dangerous level ๐Ÿ˜ฎ

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • soloS Offline
                                          solo
                                          last edited by

                                          I have one called !ae_LaunchUp.rb that I suspect may be the cause, what is it?

                                          http://www.solos-art.com

                                          If you see a toilet in your dreams do not use it.

                                          1 Reply Last reply Reply Quote 0
                                          • Rich O BrienR Offline
                                            Rich O Brien Moderator
                                            last edited by

                                            Aerilius Shortcut Tool

                                            Download the free D'oh Book for SketchUp ๐Ÿ“–

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

                                            Advertisement