Unreal Engine Automation - Creating a Python Batch Rename Script

preview_player
Показать описание
In this video, we will create our first script that can rename a set of selected assets using a search and replace pattern using Python in the Unreal Engine.

This video is part of a whole course about Becoming an Unreal Engine Automation Expert, which teaches how to automate and optimize workflows and pipelines using Blueprints, C++, and Python.

You can get the full course here:
Рекомендации по теме
Комментарии
Автор

I am saving up for your full course, when I run your script code I get this error instead

LogPython: NewMaterial1
LogPython: Error: Traceback (most recent call last):
LogPython: Error: File "C:/Users/Jay/Documents/TechArtPlugin/PythonTutorial/Pythons/logger.py", line 41, in <module>
LogPython: Error: rename_assets("New", "Old", False)
LogPython: Error: File "C:/Users/Jay/Documents/TechArtPlugin/PythonTutorial/Pythons/logger.py", line 32, in rename_assets
LogPython: Error: editor_util.rename_assets(asset, replaced_name)
LogPython: Error: AttributeError: 'EditorUtilityLibrary' object has no attribute 'rename_assets'

jaelake
join shbcf.ru