Files
Nexus/2023/scripts/animation_tools/studiolibrary/SIMPLE_LAUNCH.py
2025-11-25 00:17:12 +08:00

20 lines
476 B
Python

#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Studio Library 简单启动脚本
用于工具架按钮,不需要绝对路径
"""
def launch():
"""启动 Studio Library"""
try:
import animation_tools.studiolibrary as studiolib
studiolib.show()
except ImportError as e:
print("Failed to import Studio Library: " + str(e))
print("Please make sure animation_tools is in your PYTHONPATH")
if __name__ == "__main__":
launch()