Neil
04/18/2023, 7:24 PMAssetSelection
? For instance, I have a bunch of objects that have keys like ["grandparent", "parent", "child"]
and I want to select everything under parent
Neil
04/18/2023, 7:25 PMAssetSelection.keys(["grandparent", "parent", "*"])
and AssetSelection.keys(["grandparent", "parent"])
but those failedDrew You
04/18/2023, 7:28 PMDrew You
04/18/2023, 7:28 PMNeil
04/18/2023, 7:34 PMTim Castillo
04/18/2023, 8:38 PMAssetSelection.keys(["grandparent"]) + AssetSelection.keys(["parent"]).downstream()
?
The .downstream()
method will pick up all assets that depend on that asset key and and of those children.Tim Castillo
04/18/2023, 8:39 PMAssetSelection.keys(["grandparent"]) .downstream()
Neil
04/18/2023, 8:42 PM"grandparent"
or parent. Grandparent and parent are key prefixes for the actually assets, all of which are ["grandparent", "parent", "something"]
. So in my case I want to select every asset that has the key prefixes of ["grandparent", "parent"]
Tim Castillo
04/18/2023, 8:42 PMLe Yang
04/18/2023, 9:00 PM