View Single Post
# 1 24-12-2014 , 08:57 PM
Registered User
Join Date: Apr 2006
Posts: 4

How to modify/wrap existing Maya window?

I am building a script to create 3d text from a file containing list of words. I have no problems to read in text file and parse it with MEL. Now what I wan't to do is to create a gui but I don't want to recreate all the work that is already done within Maya. Instead of building my own text options gui, I would like to wrap Mayas existing dialog (Options box) for createing text and just to extend it with my own option to open a text file. Maya's text dialog is created with MEL command "CreateTextOptions" which is declared as default runtime command. I don't see any script file where they declrate this piece of gui, so I am not sure if it is done with C++ or MEL. I wonder is somebody can point me to what script it is declared/defined in or give me any tip how to wrap TextOptions gui into my own window if it is possible. Recreating all options for creating text, with bevels and all the other options seems just like a bit too much work for something that simple I wish to do.

Merry x-mass and thank in advance.

ps. Yeah, I am new to MEL scripting, but I am quite experience C++/C/Java programmer.