• Login
sketchucation logo sketchucation
  • Login
⚠️ Libfredo 15.4b | Minor release with bugfixes and improvements Update

[REQ] Detach nested component AND keep its instances

Scheduled Pinned Locked Moved Plugins
4 Posts 2 Posters 856 Views 2 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.
  • R Offline
    rv1974
    last edited by 11 Jul 2013, 07:07

    Very common task:
    Say I have 10 components 'A' with nested components (B,C,D,...)
    I'd like to run a simple (I hope)script that would detach selected nested comp (say 'B')
    and keep all the 10 instances (according to the parent 'A').
    Thank you in advance.
    P.S. There are workarounds with copy-pasting, but they tedious.

    1 Reply Last reply Reply Quote 0
    • J Offline
      jolran
      last edited by 11 Jul 2013, 08:14

      You basically just want to copy an instance from inside 'A' ?

      Although it sounds like a contradiction detatching 'B' while keeping all 10 instances.

      Something like:

      • preselect 'A'
      • run plugin with Dialog showing 'A's Children instances.
      • select desired Component(or Group?), hit Ok.
      • Copy an instance('B'), and (in code) preferably move it to the side a little.
        (Perhaps by 'A' Bounds diagonal length to get a proportional length distance?)

      If you really need to detatch 'B' and alter the hiearchy, then one just make a copy of 'B' and delete 'B' inside 'A', I persume.

      For someone who has any time left over I don't think this sort of script would difficult to create, if it doesent already excist.

      1 Reply Last reply Reply Quote 0
      • R Offline
        rv1974
        last edited by 11 Jul 2013, 13:41

        I'd prefer to get in the 'A' comp, select the B\C\D or any combination of the components I'd like to be detached, run the script.. PROFIT!: detached component(s) got scattered by the parent 'A'. No dialog windows!

        @unknownuser said:

        If you really need to detatch 'B' and alter the hiearchy, then one just make a copy of 'B' and delete 'B' inside 'A', I persume.

        There are some problems withthis method: very often the parent 'A' component is huge, so
        copy-paste-make unique takes lot of time. Sometimes 'A' nested deeply in other components so you can't make one step copy.

        1 Reply Last reply Reply Quote 0
        • topic:timeago-later,5 years
        • R Offline
          rv1974
          last edited by 11 Dec 2018, 10:29

          I only took 5 years hehe.
          This little tool is genious:
          https://extensions.sketchup.com/sv/content/curic-paste-components

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

          Advertisement