Looks like tk-multi-workfiles2 currently will take a list of fields to determine how to display the entities in the tree but is there a way to get it to look at fields recursively?
This becomes more apparent if you want to display Assets in a nested structure according to their parent/child relationships. Essentially we have a large number of Sets that are linked in a way where at the leaf level theres a few 100 Assets and ideally these are represented in a way where the tree only lists the top level Assets and then artists can dig down into those children in a recursive manner until they reach the leaf Assets.
If there is a parent/child relationship like the following in SG:
Here we get knowledge of immediate children and parent links but it kind of makes things confusing because the âSubSetOfMasterâ assets are displayed at the root level of the tree.
Anyone know of a way to achieve this, or is it more of a feature request?
Can you add filters to the various hierarchy levels so that the children only show up at the correct levels?
Ie perhaps only show assets in the root if they have no parent.
If you have more than two levels deep, then you may need a different way to be able to distinguish the various levels and filter on them. For example, you might need a custom field on the asset entity to describe its place in the hierarchy, though I appreciate that might get ugly.
How many levels of hierarchy do you have?
Iâd say currently 5 levels max⌠so far, but this is a 2D show so the breakup and need for new sets is a little more fluid than 3D.
I hadnât thought to use filters in that way, that might restrict the root level to what we would expect but I think anything after the second level would get lost and filtered out. Perhaps dot notation filters might get me something depending on how the multientity parents field behaves. Iâll keep digging and trying different filters.
Yeah in the filesystem I experimented with nesting but realised this isnât really achievable. So we rested with the hierarchy Asset Type > First Letter of Asset [a-z] > Asset Name to reduce the amount of folders within each Asset Type folder as there are many sets and a previous show had 8000+ folders in the Sets folder. Again, one of the quirks of a 2D showâŚ