 |
psMakeGUI.mel This script was created to make it easy to make custom GUIs for animation without writing code. To get started, type in the name of the GUI and give it a width and a height in the "New GUI" section. Once you've done that, you can add buttons that will select objects by selecting the object and clicking the "Add Button" button. You can also add sliders to control attributes of objects- to do that expand the "Add Sliders" section and select the object. Type in the name of the (numerical) attribute, specify the minimum and maximum values, and click on the "Add Slider" button. Once you have a GUI that does what you want it to, you can add it to the scene as a script node in the "Add to Scene" section. The options there control when the GUI presents itself. It can either pop up every time the scene opens, or can be triggered by the selection of a set object. If you want to tie the GUI to selection, you can either select an object beforehand, or choose the "Name Object" option to type in the name of a specific object. |