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

    [Plugin] Component Dropper

    Scheduled Pinned Locked Moved Plugins
    49 Posts 21 Posters 52.1k 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.
    • Y Offline
      Yucon
      last edited by

      Works great now. Thanks for your help and your great plugin of course!

      1 Reply Last reply Reply Quote 0
      • romboutR Offline
        rombout
        last edited by

        i there, this is used to work in SU2015 free. I doesnt do anything now, the ruby console is empty (no feedback). Even the simplest scene with SU start file and cube doesnt work

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

          @rombout said:

          i there, this is used to work in SU2015 free. I doesnt do anything now, the ruby console is empty (no feedback). Even the simplest scene with SU start file and cube doesnt work

          I'm not able to reproduce this. When I select a component in SU2015 and pick another component it replaces the selected instances.
          Do you perhaps have a video capture?

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

          1 Reply Last reply Reply Quote 0
          • jojo9J Offline
            jojo9
            last edited by

            Thomthom, your plugin looks quite useful, so i tried to add a toolbar button because digging in menus isnt my thing.
            i wanted to ask you some help embedding that button in the right place…with all the loaders of the last time, its confusing to get where to insert other code. (id prefer not, but…its the magic toolbar button… and solely that)

            anyway, when i try to add a toolbar button code block after the extension code block in tt_replacer, i get:

            Error Loading File tt_replacer.rb
            wrong number of arguments (2 for 1)

            heres the code:

            #=begin     
                cmd = UI;;Command.new( PLUGIN_NAME, loader )
            #    cmd.small_icon =  "Images/icon_16.png"
                cmd.tooltip = "Component Replacer"
                tb= UI.toolbar "ThomThom"
                tb.add_item(cmd)
            #=end
            
            1 Reply Last reply Reply Quote 0
            • sdmitchS Offline
              sdmitch
              last edited by

              @jojo9 said:

              Thomthom, your plugin looks quite useful, so i tried to add a toolbar button because digging in menus isnt my thing.
              i wanted to ask you some help embedding that button in the right place…with all the loaders of the last time, its confusing to get where to insert other code. (id prefer not, but…its the magic toolbar button… and solely that)

              anyway, when i try to add a toolbar button code block after the extension code block in tt_replacer, i get:

              Error Loading File tt_replacer.rb
              wrong number of arguments (2 for 1)

              heres the code:

              #=begin     
              >     cmd = UI;;Command.new( PLUGIN_NAME, loader )
              > #    cmd.small_icon =  "Images/icon_16.png"
              >     cmd.tooltip = "Component Replacer"
              >     tb= UI.toolbar "ThomThom"
              >     tb.add_item(cmd)
              > #=end
              

              I think it should be

              #=begin     
                  cmd = UI;;Command.new( PLUGIN_NAME ) { loader }
              #    cmd.small_icon =  "Images/icon_16.png"
                  cmd.tooltip = "Component Replacer"
                  tb= UI.toolbar "ThomThom"
                  tb.add_item(cmd)
              #=end
              

              Nothing is worthless, it can always be used as a bad example.

              http://sdmitch.blogspot.com/

              1 Reply Last reply Reply Quote 0
              • jojo9J Offline
                jojo9
                last edited by

                oh, yeah! thats true, i forgot the parenthesis, and it was the core file. Thanks sdmitch!

                Now i got it working, yay!

                1 Reply Last reply Reply Quote 0
                • shake1S Offline
                  shake1
                  last edited by

                  Not working in SU 2020 20.2.172
                  Pleace chek this.

                  correction - 2D objects i mean

                  1 Reply Last reply Reply Quote 0
                  • G Offline
                    Grey24601
                    last edited by

                    HI ThomThom

                    Does Component replacer work with 2021? It appears to have stopped working.

                    I select the components to replace, invoke the tool and then it prompts me to select the component to replace with but nothing happens.

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      Bg1137
                      last edited by

                      It also doesn't work for me in 2021. I loved this extension 😞

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

                      Advertisement