Hey folks,
I was wondering if there is a way how to maintain a context hierarchy of imported project into another one instead of it collapsing into a context named after imported project.
Im not sure if it's clear enough like this, so I will provide an example:
In my scenes I use a predefined set of contexts, such as:
Project
scene
objects/materials/textures/lights <==== these are on same level, couldn't think of better way how to describe the structure
Now let's say I have an empty scene with context set up like on example above. I have another project, let's say KB3D_Assets. This project would contain only KB3D buildings, textures and materials, structured according the same hierarchy as above (geometry in "objects", materials in "materials", etc). Purpose of it is to act as import-ready project, so I can create it once and then put it into my projects whenever I need without the need of starting from scratch.
My problem is that when I import this KB3D project into my main one, instead of "merging" the same contexts together (just like folders in Windows, for example), it creates a new context under Project/Scene called "KB3D_Assets", with it's hierarchy and all the content inside of it.
I hope it's clear what Im attempting to do from this. Can it be achieved? How would you go about it?
Entire purpose of this is to have a library of import-ready assets such as those from KB3D, or some set of trees, whatever. Just to create it once and then just import it whenever needed, without breaking the context structure etc.
Thanks!
EDIT: I tried also using a command ix.cmds.MergeProject, but it doesnt merge the contexts together, instead it creates context named like "objects1", "materials1", etc...
EDIT2: It looks like using commands to rename and move contexts to correct place could be the way to do it (I want use commands instead of doing it manually so I can save that script to shelf). I can import project, rename context, delete context using ix.cmds commands, however I cant figure out how to Copy/Paste or cut/paste context from one location to another using ix.cmds. Any idea? I cant find it anywhere.