[REQ] Detach nested component AND keep its instances
-
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. -
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.
-
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. -
I only took 5 years hehe.
This little tool is genious:
https://extensions.sketchup.com/sv/content/curic-paste-components
Advertisement