Thread: GUI's in MEL
View Single Post
# 6 30-11-2007 , 01:26 AM
Registered User
Join Date: Nov 2007
Posts: 7
Hey again.

I know C++ but have just gotten started with MEL. Done a few simple GUI's and played around with commands in the references.

The app I'm going for might sound a bit more ambitious than it actually is. All I need is to execute a number of transformations on a primitive, display screenshots of that primitive, and save the transformations. Given what you've said, I think MEL is probably enough. Correct me if I'm wrong, but I could do something like this:

- Create a sphere
- Change its attributes (say move some of its vertices)
- Take a few screenshots with playblast from different angles (moving camera around)
- Keep track of the list of transformations done to the primitive
- Delete the primitive
- Draw a symbolButton which has the screenshot image on it
- Repeat process on another primitive, with different transformations

All these things I think you can do in MEL. This app will allow you to click on two of the symbolButtons (representing two different transformed primitives), and the script will take the transformations of the two selected objects and merge them into a new object.

The only question for me is, can I save the transformations done to an object, as a piece of text?