Toolkit Episode -> Sequence -> Shot -> Task

I’m trying to lay out our shot files as Episode -> Sequence -> Shot -> Task.

Here are the changes I have made so far…

config\core\templates.yml
paths:
    shot_root: episodes/{Episode}/{Sequence}/{Shot}/{Step}
    sequence_root: episodes/{Episode}/{Sequence}

Added “Episodes” to schema  - core\schema\project\episodes\episodes.yml
filters: [ { "path": "project", "relation": "is", "values": [ "$project" ] } ]

Sequence parented under episode - schema\project\episodes\episode\sequence.yml
filters: [ { "path": "episode", "relation": "is", "values": [ "$episode" ] } ]

env\includes\settings\tk-multi-loader2.yml
  - caption: Shots
    entity_type: Shot
    filters:
    - [project, is, "{context.project}"]
    hierarchy: [sg_sequence.Sequence.episode, sg_sequence, code]


env\includes\settings\tk-multi-workfiles2.yml
# shot_step
settings.tk-multi-workfiles2.maya.shot_step:
  ...
  - caption: Shots
    entity_type: Shot
    filters:
    hierarchy: [sg_sequence.Sequence.episode, sg_sequence, code]

Settings.tk-multi-workfiles2.launch_at_startup:
  - caption: Shots
    entity_type: Shot
    filters:
    hierarchy: [sg_sequence.Sequence.episode, sg_sequence, code]

The file path for where the file is being saved does not seem to be getting set correctly? How is that determined?

Thanks!

Al.

2 Likes

Hi Al

Looking at what you’ve posted there, it looks to me like you’ve configured everything correctly.

I’m wondering if perhaps this is a case of needing to unregister the folders for those entities and create them again. Have you renamed any of the entities?
Please could you privately message me your site URL so I can take a closer look?

Thanks
Phil

2 Likes

There was a sequence before called 01 which was deleted or is no longer used. It seems to be referencing that. I’ve been messing around trying to set this up so it’s very possible that there could be some stale relationships somewhere.

How do I unregister the folders?

I found this post which I think has fixed it…

3 Likes

Ah great, I’m glad that solved it. I did take a look at your site, to see what paths were registered, but I must admit everything looked OK, I couldn’t see anything that explained that behavior, but I guess there must have been something there.

Let us know if you see any further issues.

will do thanks for your help.