Skip to content

Instantly share code, notes, and snippets.

View 44hero's full-sized avatar

44hero 44hero

View GitHub Profile
@44hero
44hero / getUIValue.py
Last active July 7, 2022 03:52 — forked from fereria/getUIValue.py
UIからの値取得方法
**partial**
```python
# -*- coding: utf-8 -*-
import pymel.core as pm
import maya.cmds as cmds
from functools import partial
def buttonSakusei():
@44hero
44hero / adjustable_columns.py
Last active July 3, 2022 08:53 — forked from JFlynnXYZ/Maya GUI Gists
Maya GUI Gists
'''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()