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

    [Plugin] Multiple Component Edit Warning

    Scheduled Pinned Locked Moved Plugins
    77 Posts 21 Posters 40.2k Views 21 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.
    • Dan RathbunD Offline
      Dan Rathbun
      last edited by

      For some reason the PluginStore still has the old v2.2.1 ?

      Oh.. and only the first post should have the plugin package. (There is still a post above with an old version.)

      I'm not here much anymore.

      1 Reply Last reply Reply Quote 0
      • ashscottA Offline
        ashscott
        last edited by

        Hi all, a really cool update to the plugin -

        Now, when you receive the notification you can double click the webdialog that appears and the camera view will zoom out to show all instances that you are currently editing. Double click again and it will zoom back to where you were.

        Based on your suggestions.

        Cool huh?

        Just some stuff I do with Sketchup.

        1 Reply Last reply Reply Quote 0
        • ashscottA Offline
          ashscott
          last edited by

          Every time I try to add the new plugin (V2.4.0) to the plugin store, there seems to be a timeout and nothing changes....

          Just some stuff I do with Sketchup.

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

            @ashscott said:

            Every time I try to add the new plugin (V2.4.0) to the plugin store, there seems to be a timeout and nothing changes....
            I have updated the entry to v2.4.0 for you...
            Worked fine for me... πŸ˜•
            I don't know what went wrong.
            Can you fill in the other items in your plugin's page tabs - like release notes and overview...
            Its link-name included a version-ref...
            The very first RBZ uploaded should reflect the link-name desired - but after that it is used whatever the RBZ is then called...
            It can be edited in the SCF data-base ,but the various files need adding back in...
            It's fixed now anyway, as the files needed updating anyway... πŸ˜„
            http://sketchucation.com/pluginstore?pln=CoastalConcepts_EditFlag

            TIG

            1 Reply Last reply Reply Quote 0
            • ashscottA Offline
              ashscott
              last edited by

              Thanks TIG - changes made

              any recommendations on the plugin? Do you use it yourself?

              Just some stuff I do with Sketchup.

              1 Reply Last reply Reply Quote 0
              • U Offline
                unearthed
                last edited by

                Thanks for this Ash - A neat plugin - instant satisfaction πŸŽ‰ ! no loading, or switching on toolbars, it simply works .

                I wouldn't mind paying something for this plugin - it sure will save some time (and time really is money) - with an (overly complex) file, I recently changed all my broadleaf to fluoro green, when I thought I made the one I was working on unique .

                Growplan - People ∩ Plants ∩ Place

                windows 7 64b, 4GB RAM, SU 8.0.16846
                Gimp, QGIS, Vectorworks 12, Bricscad 11

                1 Reply Last reply Reply Quote 0
                • Dan RathbunD Offline
                  Dan Rathbun
                  last edited by

                  @Ash, thanks for renaming the topic thread.

                  It should make more sense to persons browsing the Plugins Forum list.

                  πŸ‘

                  I'm not here much anymore.

                  1 Reply Last reply Reply Quote 0
                  • bazB Offline
                    baz
                    last edited by

                    I check the forum most days but somehow I missed this fantaboulous helper, I love it!!!

                    My worst disaster was when a client wanted small changes amounting to 8 versions, then decided to go back to the original which was, you guessed it, totally screwed. Had to redraw from scratch almost.

                    I would happily pay for this.

                    Thanks Ash and Dan.

                    1 Reply Last reply Reply Quote 0
                    • ashscottA Offline
                      ashscott
                      last edited by

                      Thanks Baz, we think its handy.

                      Seems every time I bump into a sketchup user they lament about this issue but haven't heard of the plugin and are quite excited when I show it to them.

                      I should try promote it harder I guess...

                      Just some stuff I do with Sketchup.

                      1 Reply Last reply Reply Quote 0
                      • bazB Offline
                        baz
                        last edited by

                        I found it purely by chance under 'Text/Labeling' in the Plugin Store widget inside SU. Not very intuitive because I didn't know I needed it til then, as I knew the problem was my error, Duh!

                        I think you should sell it to Trimble, it should be part of the GUI just like the popups which warn of 'changing styles'/'you are about to intersect with hidden geometry'/'your model is crap, start again' etc..

                        Actually, I made the last one up... but what an idea for a plugin!

                        Rgds from the home of the Wallabies

                        1 Reply Last reply Reply Quote 0
                        • ashscottA Offline
                          ashscott
                          last edited by

                          Convince Trimble to buy it and I'll send you a pet kiwi

                          Just some stuff I do with Sketchup.

                          1 Reply Last reply Reply Quote 0
                          • bazB Offline
                            baz
                            last edited by

                            P'haps Chris Fulmer or TomTom will see this. Tho I have no idea whether Trim ever 'buy' plugins. I s'pect not.
                            Its pissing down here in the shed, I can hardly hear myself think.

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

                              @ashscott said:

                              ..Bug fixed so that multiple edit warnings do not appear on top of each other..

                              There are 2 overlapping warning windows in SU 2018. Anyone to confirm?

                              1 Reply Last reply Reply Quote 0
                              • bazB Offline
                                baz
                                last edited by

                                @tboy said:

                                @ashscott said:

                                ..Bug fixed so that multiple edit warnings do not appear on top of each other..

                                There are 2 overlapping warning windows in SU 2018. Someone to confirm?

                                Not with me...

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

                                  Worked with SU 2020. Seems not to work with SU 2021. Can anyone confirm?

                                  1 Reply Last reply Reply Quote 0
                                  • M Offline
                                    matt.gordon320
                                    last edited by

                                    @creativegood said:

                                    Can anyone confirm?

                                    Yup, busted for me as well. Bummer this is a regular use one I loved.

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

                                      I'm not sure if the author Ash is still about...
                                      However, it's easy to fix the error - the newer Ruby version is stricter than it was years ago !

                                      Find the relevant file: C:\Users\YOURUSERNAME\AppData\Roaming\SketchUp\SketchUp NNNN\SketchUp\Plugins\CoastalConcepts_EditFlas\EditFlag.rb\
                                      You'll need to edit the text to include your Windows user-name and change the NNNN as the relevant SketchUp version - e.g. 2021

                                      Select that RB file and edit it using a plain-text editor - like Notepad++...
                                      Find the lines #17 to #21 which read...

                                      
                                      unless defined?(OPT_KEY)
                                        VERSION  = '2.4.0'
                                        LOAD_TAG = Module.nesting[0].name<< ';' << File.basename(__FILE__)
                                        OPT_KEY  = 'Plugin_' << Module.nesting[0].name.gsub(';;','_')
                                      end
                                      
                                      

                                      so that they read as follows.

                                      
                                      unless defined?(OPT_KEY)
                                        VERSION  = '2.4.0'
                                        LOAD_TAG = Module.nesting[0].name.dup << ';' << File.basename(__FILE__)
                                        OPT_KEY  = 'Plugin_' << Module.nesting[0].name.dup.gsub(';;','_')
                                      end
                                      
                                      

                                      Note the two additions of .dup code, which copy the 'frozen-string' in the module's name and use that instead, as a frozen-string cannot now be directly changed in code, without this sidestepping...

                                      TIG

                                      1 Reply Last reply Reply Quote 0
                                      • M Offline
                                        matt.gordon320
                                        last edited by

                                        @tig said:

                                        I'm not sure if the author Ash is still about...
                                        However, it's easy to fix the error - the newer Ruby version is stricter than it was years ago !

                                        You are, as ever, awesome. Thank you for this! I'll have to edit the plugin code this weekend when I get the chance.

                                        I keep meaning to make the time to start writing scripts for SketchUp. Are there any ruby courses or books you'd recommend? I have Automatic SketchUp by Matthew Scarpino but I expect the version of ruby has changed a lot in the years since that's come out.

                                        1 Reply Last reply Reply Quote 0
                                        • Dan RathbunD Offline
                                          Dan Rathbun
                                          last edited by Dan Rathbun

                                          @tig said:

                                          I'm not sure if the author Ash is still about... However, it's easy to fix the error - ...

                                          Note the two additions of .dup code, which copy the 'frozen-string' in the module's name and use that instead, as a frozen-string cannot now be directly changed in code, without this sidestepping...

                                          I just noticed this as I'm not over here at SCF much these days.

                                          It was I who wrote this extension for Ash, long before the frozen string madness.

                                          I did not realize that Module::nesting[i].name, ... actually Module#name returned a frozen string. Even the Ruby v2.7.2 documentation does not indicate this. (Doesn't indicate much of anything really.)

                                          But it does make sense that all the class and module identifier strings would be frozen (likely linked to symbols.) I went back to v2.2.4 in SU2017 and repeatedly called #name on a module object and got a different string object and id each time called. (Not very efficient.)
                                          The same test in latest version returns the same object, with the same id, each time called.

                                          I've not been running into it as I suppose I've not been using String append ( <<) much because of the gotchas like this.

                                          I'm more inclined these days to use interpolation like:
                                          LOAD_TAG = "#{Module.nesting[0].name}:#{File.basename(__FILE__)}"
                                          ... which itself creates a new string.

                                          BTW ... the second assignment to OPT_KEY does not need the .dup as .gsub makes the copy. (Verified in Ruby 2.7.7 with SketchUp 2023.)

                                          I'm not here much anymore.

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

                                            Hello! First I would like to apologize if there is any grammatical error. Because I'm using Google Translate to translate from Brazilian Portuguese to English.

                                            When I install the Edit Flag v2.4.0 plugin in SketchUp in Brazilian Portuguese, the tool name does not appear.

                                            How could I fix this bug?


                                            SketchUp Brazilian Portuguese


                                            SketchUp English

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

                                            Advertisement