It would be useful to be able to duplicate an entire hierarchy of collections of objects.
- To Do
- Mentioned In
- rBa77feabb5147: Collection duplication from Outliner: add a 'duplicate hierarchy' operation.
rBe7ea99af1b0d: Outliner: Collection - Duplicate Hierarchy, and Duplicate Linked Hierarchy
D4394: Outliner: Collection - Duplicate Hierarchy, and Duplicate Linked Hierarchy
- Mentioned Here
- rBe7ea99af1b0d: Outliner: Collection - Duplicate Hierarchy, and Duplicate Linked Hierarchy
rB7d4e1ac727f3: Outliner: Collections Duplicate - remove original duplicate operator
I'm beginning to think this should be a sub-menu when right clicking a collection in the outliner instead of a separate "Duplicate Hierarchy" option.
Somewhat like this?
- Duplicate (New collection with linked contents)
- Duplicate Hierarchy (Duplicate entire hierarchy and make all contents single user)
- Duplicate Linked Hierarchy (Same as "Duplicate Linked" operation [linked object data but new objects] but with the hierarchy of the collection)
I have no idea about the naming right now.
@Dalai Felinto (dfelinto) What do you think about this whole thing?
@Julien Kaspar (JulienKaspar) what is your thought on the "Duplicate" operator? As far as its children collections are concerned?
Right now we are literally linking the old nested collections inside the new one parent collection.
(it is a bit complicated to explain, easier if you try in 2.80 without the patch even).
@Dalai Felinto (dfelinto) I never really saw the current "Duplicate"operator in the outliner as that useful in comparison to a proper "duplicate hierarchy" or "duplicate linked hierarchy" operator.
It can become useful sometimes but often isn't even that much of a time saver in comparison to just creating a new collection, box selecting the old contents you need and LMB + Ctrl dragging them to the new one.
Right, but part of this is because its current functionality is really that limited.
If we were to change it (e.g., copy collections as new collections, respecting hierarchy, but leave the same objects linked) it would be useful no?
I end up removing the original operator. It was indeed useless. Now collection follows the logic of objects (as far as UI goes), so only duplicate collection and duplicate linked options.
@Dalai Felinto (dfelinto) Just tried it out and it works great! One confusing thing is the name "Duplicate Collection". It implies that only that collection will be duplicated instead of the entire hierarchy.
I think overall the naming and tooltips are becoming a bit confusing but that's perhaps a different issue.
The naming for delete is pretty clear: "Delete" for the what you selected and "Delete Hierarchy" for the entire Hierarchy of the selection.
"Duplicate Linked" doesn't imply the hierarchy part. It could just as well be the default duplicate linked operator for objects.
Naming it "Duplicate Hierarchy Linked" is clearer but maybe too long?
I think there should eventually be a place for the default operators "Duplicate Objects" and "Duplicate Linked" in the outliner as well so the new ones should be compatible in terms of naming with those.
please, duplicate and also istantiate
it would be useful to use "shift or ctrl or alt + drag" to duplicate or instantiate, as happens with icons in operating systems, and a third combination needed for a menu appears asking if you want to duplicate or instantiate