Maya GUI: Buttons to an image

Placing buttons to an image

I am creating some tools for animators and in need of refreshing my old memories of coding "buttons to an image" using python.
I created a sample python code file, so that I would not need to dig my old library of scripting tools to get sample codes. :p
Download and place these 2 files to your script folder.
Python script file: i3d_sample2.py
Sample image file: i3d_sample2.png

Python command:
import i3d_sample2 as sample2;sample2.buttonToImageGUI().main("sample2");

This is how it looks.

*Reference commands: columnLayout, formLayout, button

Comments

Popular posts from this blog

HIK: Getting current character and current source.