32 lines
632 B
Python
32 lines
632 B
Python
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
|
|
"""
|
|
Nexus Test Script
|
|
Simple test to verify the Nexus plugin system is working
|
|
"""
|
|
|
|
import maya.cmds as cmds
|
|
|
|
|
|
def run_test():
|
|
"""Run a simple test"""
|
|
print("[Nexus Test] Running test...")
|
|
|
|
# Show confirmation dialog
|
|
result = cmds.confirmDialog(
|
|
title='Nexus Test',
|
|
message='Nexus Plugin System is working correctly!',
|
|
button=['OK'],
|
|
defaultButton='OK',
|
|
cancelButton='OK',
|
|
dismissString='OK'
|
|
)
|
|
|
|
print(f"[Nexus Test] Test completed: {result}")
|
|
return result
|
|
|
|
|
|
if __name__ == "__main__":
|
|
run_test()
|