• Login
sketchucation logo sketchucation
  • Login
โ„น๏ธ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

[Plugin] Multiple Component Edit Warning

Scheduled Pinned Locked Moved Plugins
77 Posts 21 Posters 40.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.
  • T Offline
    TIG Moderator
    last edited by 31 Jan 2014, 23:39

    @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
    • A Offline
      ashscott
      last edited by 1 Feb 2014, 02:25

      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 9 Feb 2014, 18:46

        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
        • D Offline
          Dan Rathbun
          last edited by 9 Feb 2014, 22:00

          @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
          • B Offline
            baz
            last edited by 24 Sept 2014, 09:24

            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
            • A Offline
              ashscott
              last edited by 24 Sept 2014, 10:25

              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
              • B Offline
                baz
                last edited by 24 Sept 2014, 10:51

                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
                • A Offline
                  ashscott
                  last edited by 24 Sept 2014, 11:05

                  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
                  • B Offline
                    baz
                    last edited by 24 Sept 2014, 11:59

                    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 17 Dec 2017, 15:46

                      @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
                      • B Offline
                        baz
                        last edited by 17 Dec 2017, 23:45

                        @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 23 Nov 2020, 17:05

                          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 26 May 2021, 23:34

                            @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
                            • T Offline
                              TIG Moderator
                              last edited by 27 May 2021, 12:11

                              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 27 May 2021, 21:52

                                @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
                                • D Offline
                                  Dan Rathbun
                                  last edited by Dan Rathbun 17 May 2023, 21:33

                                  @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 31 Aug 2023, 01:15

                                    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
                                    • E Offline
                                      elijahpekaar @ashscott
                                      last edited by 25 Apr 2024, 14:41

                                      @ashscott Is there a possibility of getting an updated version for 2024 sketchup? Thank you

                                      D 1 Reply Last reply 27 Apr 2024, 21:03 Reply Quote 0
                                      • D Offline
                                        Dan Rathbun @elijahpekaar
                                        last edited by Dan Rathbun 27 Apr 2024, 21:03

                                        PLUGIN UPDATE


                                        @paulofukuta said in [Plugin] Multiple Component Edit Warning:

                                        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?

                                        There were unicode character bugs in some of the language files resulting in silent failures for the menu command labels.

                                        I fixed all the bugs in the language files with version 2.4.2 (see below).


                                        @elijahpekaar said in [Plugin] Multiple Component Edit Warning:

                                        @ashscott Is there a possibility of getting an updated version for 2024 sketchup?

                                        I am the author of Ash's extension. (He hasn't been here in almost 2 years and not posted in the forum for almost 7 years.)

                                        Changes for SketchUp 2024 and Ruby 3:

                                        v 2.4.2 : 2024-04-27 by Dan Rathbun
                                        • Updates specific to SketchUp 2024+ and Ruby 3.2:
                                          - Changed File.exists? call to File.exist?

                                        • Re-focus the Sketchup window, so that the Edit Flag warning dialog no longer seizes the focus from the main modeling window.

                                        • Fixed the scrollbars showing in the edit warning dialog.

                                        • Added system font identifiers for both platforms to the "font-family" style for the dialog. The text should now show in the system font.

                                        • Localization:
                                          - Fixed unicode characters in files: es, fr, it, pt-BR, pt-PT
                                          - Added language hash files: cs, ko, ja, pl, sv, uk, zh-TW, zh-CN.
                                          - Localized the extension description and name for the Extension Manager.

                                        • The extension is now signed.


                                        • --> Get the latest version in the SketchUcation Plugin Store
                                        • --> Get v2.4.2 at the SketchUp Official forum

                                        I'm not here much anymore.

                                        1 Reply Last reply Reply Quote 1
                                        • D Offline
                                          Dan Rathbun
                                          last edited by 21 Oct 2024, 15:09

                                          FYI ... Julia Eneroth has released her own edition of this feature that uses the SketchUp 2023 (and later) Overlay feature. So, for those that despise popup windows, you can see the instance path as a text overlay upon the model view instead.

                                          Eneroth Component Breadcrumbs
                                          https://extensions.sketchup.com/extension/880e8e68-2bd1-4451-949b-44d23ce0e2c7/eneroth-component-breadcrumbs

                                          I'm not here much anymore.

                                          F 1 Reply Last reply 26 Oct 2024, 17:49 Reply Quote 0
                                          • 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