basic advanced example

This commit is contained in:
Vysyr committed 2026-10-31 23:11:57 +01:00
1 parent 6fe57915e8
commit bd8edf5afb
29 files changed
+1501 -38

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
"""Optional refresh of bundled enums; other models are preserved. Imports update them automatically."""
from ue_workshop.characters import FIGHTER_MODEL, CREATURE_MODEL
from ue_workshop.skeletal import import_model
counts = {}
for model, name in (
(FIGHTER_MODEL, "Fighter"),
(CREATURE_MODEL, "Creature"),
):
imported = import_model(model, name=name, reimport=False)
counts[name + "Animations"] = len(imported.animations)
print("Exported animation catalog:", counts)