-
Notifications
You must be signed in to change notification settings - Fork 129
Add root keys and project keys to create starting folder #2755
Add root keys and project keys to create starting folder #2755
Conversation
6a54e46
to
1b184a0
Compare
The same settings are also used to create default project hiearchy in ftrack. This change would need to separate the settings as with this change it can be used only for disk folders creation. @mkolar ? |
I don't know how it works with ftrack but it is always possible to make the two types of dictionary coexist:
Otherwise I can also add the features that are missing in OP to create the folders of each asset, but maybe all the ftrack entities are not found in OpenPype |
It seems that this feature with folder structure started to do things that were not planned to do and it looks to me that it is getting over it's capabality.
From my opinion I agree that these two functions should have split settings but there were anti-arguments, and if the functions won't precreate workdirs of known hosts and will use default Why is the feature getting over it's capabality?
Workfiles can have multiple templates based on host name and task type, For example unreal has separated workfiles template and creating workdir of unreal workdirs for each asset is ridiculous and creating workfirs for tasks which are meant only for unreal is confusing. Also there are productions having more work templates because are using different roots for different hosts. What I want to say is that for simple scenarios it is doable and the question "Why?" is not in the place but I have no idea how would you handle complex scenarios in a reasonable way, thus the question "Why to create the folders of each asset?" is raised. |
I agree that this is stretching the target of this functionality quite a bit and has potentially of introducing confusion as to what it should be used for. @ClementHector did you have a particular use case that this was solving? |
In the case where several root exist in my project. Currently the hierarchy under |
Right. Let's merge this then. @ClementHector could you do me a favour please and adjust the default settings for this to look like this? It is really supposed to be just a simple example, so let's get rid of the ftrack dependency in there, that should only really be in ftrack settings anyways.
|
It's done as you requested ;) |
Thank you @ClementHector Merging |
While keeping the previous operation of create_starting_folder, the project[name], project[code] and root[work..] keys can be used in project folder structure, for example: