update_container_path
UpdateContainerPath
Bases: InventoryAction
Update container Path for the assets migrating to content plugin
Source code in client/ayon_unreal/plugins/inventory/update_container_path.py
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | |
find_content_plugin_asset(container_dir)
Search if the asset exists in the content plugin
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
container_dir | str | directory of the container | required |
Returns:
| Name | Type | Description |
|---|---|---|
str | asset, asset path |
Source code in client/ayon_unreal/plugins/inventory/update_container_path.py
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | |