Keywords:Maya, Editor, Custom Menu, Custom Button

How to create custom button to running python scripts

1, Switch to target shelf, take the Custom shelf as an example.

2, Click gear icon on the left, Shelf Editor.

3, Add new item.

4, Change the icon.

5, Input your python source code.

Finally you will see your custom button.

You can also show the text and icon at the same time.

Editor

Global search bar: Ctrl + F. Press multiple times to switch types.


中国古代战争史:河西之战(战国)
河西之战是中国战国时代,魏国与秦国为争夺关中河西(今山西、陕西两省间黄河南段以西地区)地区发生的大规模战争,前后反复交战数次,秦经过商鞅变法国力大增,恰逢魏国精锐丧失殆尽国力大损,最终秦收复河西。