This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
**partial** | |
```python | |
# -*- coding: utf-8 -*- | |
import pymel.core as pm | |
import maya.cmds as cmds | |
from functools import partial | |
def buttonSakusei(): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'''This piece of code creates three buttons along the bottom of a window | |
equally seperated and adjustable by the changing of the window size. | |
To change where they are positioned in the form layout, swap out the | |
values in the attachForm with the attachNone values. For example, if | |
I wanted to place the buttons along the top I would swap out the | |
attachForm values for each "bottom" value with the attachNone values | |
for "top". | |
''' | |
window = cmds.window() |