Thread: Query windows.
View Single Post
# 2 31-05-2006 , 08:57 PM
mayakid14's Avatar
Registered User
Join Date: Nov 2004
Location: Florida
Posts: 105
Ok. I have been looking around fore solutions to my situation.
I know this seems off the subject a little but I have to restate my question.

There is an executable file in the maya bin directory called xpm2bmp.
When you drag an XPM pixel map over the application it creates a BMP image in the same directory as the XPM pixel map. I was wondering if there was a way by using the "system" command in maya to pass an XPM pixel map into this application to convert it into a bitmap image.

I tried stuff like:

system ("start xpm2bmp C:/Documents and Settings/[username]/[directory]/[filename].XPM");

but I get no results.
Using the command:

system ("start xpm2bmp");

without the filename directory simply opens a black cmd window.

Again I know it is off the subject a little. But I promise it all connects. If I can't do a certain thing with Maya MEL commands, minus well call on an outside resource. That's all I'm trying to do.

If anyone can help me out here or give me a tip, like always, I would greatly appreciate it.


I hope you didn't waste your time reading this line.