sketchucation logo sketchucation
    • Login
    βŒ› Sale Ending | 30% Off Profile Builder 4 ends 30th September

    Replace???

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    6 Posts 5 Posters 395 Views 5 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.
    • 3 Offline
      3eighty
      last edited by

      Ok Don't start booing and throwing things...Is there a way to select a part of a component click on it and replace it (in the exact same spot) with a newer version??? Say I wanted to update a car radio style with a newer one of the same size... πŸ˜•

      Thank you
      Richard

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

        Richard, that would be great, I do not believe such a script exists, I may be wrong however.

        I'd like a script simillar to that where I could say build a tree using rectangle proxies for leaves and once I'm done I can then make a leaf complete with mapped textures and all and replace all the rectangles with 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
        • T Offline
          tim
          last edited by

          Well you can sort of do it, surely? As long as you make your item out of suitable sub-components and saved them in separate files you just need to use 'reload' from the context menu for the component.

          Given that basic facility I wouldn't be at all surprised if some clever rubyite could work out how to find matchingsub-components within a file and substitute them.

          1 Reply Last reply Reply Quote 0
          • Chris FullmerC Offline
            Chris Fullmer
            last edited by

            I think Tim has the right idea, just save out the sub components, then you can re-load them from those files. Chec it out, right click on a sub component and you have "Save As" and "Reload" options. Also, if you select a component, and then go to the component browser, you can right click on a component in your browser an choose "replace selected". That is another good way to do it. I do a bit of this with large models I'm workging on.

            Oh, also TIG has made an x-ref ruby. I've never used it, but I understand that it will do what you are looking for.

            Pete, what about using layers for that? Make a "Solo-Boxy" layer and a "Solo-detail" layer. Then the user inserts a plant, turns off the detail layer, leaves on the bounding box layer. Just model all your plants to include these same layer names and then all your plants will switch back and forth from bounding box to detail.

            Of course, a full function proxy ruby would be much cooler! I think V-Ray is implementing one in their next release.

            Chris

            Lately you've been tan, suspicious for the winter.
            All my Plugins I've written

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

              Since the way to do it is making components out of sub-components then a Ruby is not really necessary... Just structure what you make properly in the first place and swapping bits around is straight forward. If the components are external use 'reload' or you can use the 'replace selected' off the browser too... that way if both versions of the radio are components with the same insertion point etc you can select the 'one to go', and pick the 'one to add' in the component-browser, with right-click context-menu 'replace selected' - the 'one to go' becomes the 'one to add'...

              You could also try using 'cut' then 'paste_in_place'...
              Temporarily hide or move your old-radio [or erase it].
              Model the new-radio in place, do this in the model - outside of the main component [car ?].
              Use toggle 'hide rest of model' whilst doing this to help visibility and snapping to other parts.
              Make the new-radio a component with the same 'properties' as the old-radio...
              Use 'Cut' on the new-radio instance to cut it out of the model.
              Edit the containing component [car etc?]
              Erase the old-radio if needed.
              Use 'Paste-in-Place' to put the instance of the new-radio inside it...

              TIG

              1 Reply Last reply Reply Quote 0
              • 3 Offline
                3eighty
                last edited by

                THANK YOU ALL FOR TAKING THE TIME TO SUBMIT SUCH GOOD ANSWERS..(Sorry didn't know caps key was on..I never look at the screen as I type...)

                0

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

                Advertisement