Files
NexusLauncher/template_plugins/maya/2023/shelves/shelf_NexusLauncher.mel
2025-11-23 21:03:42 +08:00

79 lines
2.1 KiB
Plaintext

global proc shelf_NexusLauncher () {
global string $gBuffStr;
global string $gBuffStr0;
global string $gBuffStr1;
shelfButton
-enableCommandRepeat 1
-flexibleWidthType 3
-flexibleWidthValue 32
-enable 1
-width 35
-height 34
-manage 1
-visible 1
-preventOverride 0
-annotation "NexusLauncher Test - Click to verify plugin system"
-enableBackground 0
-backgroundColor 0 0 0
-highlightColor 0.321569 0.521569 0.65098
-align "center"
-label "NL"
-labelOffset 0
-rotation 0
-flipX 0
-flipY 0
-useAlpha 1
-font "boldLabelFont"
-imageOverlayLabel "NL"
-overlayLabelColor 1 1 1
-overlayLabelBackColor 0.2 0.5 0.8 0.9
-image "nexus_test.png"
-image1 "nexus_test.png"
-style "iconOnly"
-marginWidth 0
-marginHeight 1
-command "import nexus_test\nnexus_test.run_test()"
-sourceType "python"
-commandRepeatable 1
-flat 1
;
shelfButton
-enableCommandRepeat 1
-flexibleWidthType 3
-flexibleWidthValue 32
-enable 1
-width 35
-height 34
-manage 1
-visible 1
-preventOverride 0
-annotation "Batch Extrusion - Create shell mesh layers with vertex colors"
-enableBackground 0
-backgroundColor 0 0 0
-highlightColor 0.321569 0.521569 0.65098
-align "center"
-label "BE"
-labelOffset 0
-rotation 0
-flipX 0
-flipY 0
-useAlpha 1
-font "boldLabelFont"
-imageOverlayLabel "BE"
-overlayLabelColor 1 1 1
-overlayLabelBackColor 0.8 0.4 0.2 0.9
-image "batchextrusion.png"
-image1 "batchextrusion.png"
-style "iconOnly"
-marginWidth 0
-marginHeight 1
-command "import batchextrusion\nbatchextrusion.show_batch_extrusion_ui()"
-sourceType "python"
-commandRepeatable 1
-flat 1
;
}