MetaFusion/examples/dna_viewer_run_in_maya.py
2025-01-06 23:33:41 +08:00

18 lines
531 B
Python

"""
This example demonstrates Maya UI Window for simple and non-programmatic creation the scene with the creating functional rig.
IMPORTANT: You have to setup the environment before running this example. Please refer to the 'Environment setup' section in README.md.
- usage in command line:
NOTE: Script cannot be called with Python or mayapy, it must be called in Maya Script Editor.
- usage in Maya:
Expected: Maya will show UI.
"""
# This example is intended to be used in Maya
import dna_viewer
dna_viewer.show()