Skip to content

update_actors

UpdateAllActors

Bases: InventoryAction

Update all the Actors in the current level to the version of the asset selected in the scene manager.

Source code in client/ayon_unreal/plugins/inventory/update_actors.py
104
105
106
107
108
109
110
111
112
113
class UpdateAllActors(InventoryAction):
    """Update all the Actors in the current level to the version of the asset
    selected in the scene manager.
    """

    label = "Replace all Actors in level to this version"
    icon = "arrow-up"

    def process(self, containers):
        update_assets(containers, False)

UpdateSelectedActors

Bases: InventoryAction

Update only the selected Actors in the current level to the version of the asset selected in the scene manager.

Source code in client/ayon_unreal/plugins/inventory/update_actors.py
116
117
118
119
120
121
122
123
124
125
class UpdateSelectedActors(InventoryAction):
    """Update only the selected Actors in the current level to the version
    of the asset selected in the scene manager.
    """

    label = "Replace selected Actors in level to this version"
    icon = "arrow-up"

    def process(self, containers):
        update_assets(containers, True)