Update
This commit is contained in:
31
2023/scripts/nexus_test.py
Normal file
31
2023/scripts/nexus_test.py
Normal file
@@ -0,0 +1,31 @@
|
||||
#!/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()
|
||||
Reference in New Issue
Block a user