Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
Creating a new file

Creating a new file

2003-12-10       - By Bryan Ewert

 Back
Reply:     1     2     3     4     5     6  

? from Tue, 9 Dec 2003 09:17:57 -0800

> With fileBrowserDialog I couldn't figure out how to specify my own file
> type filter.  It seems filters are restricted to Maya's pre-defined file
> types.

If you register a filetype via a MPxFileTranslator you can specify its name
as the -fileType flag. In my trial with this, however, even though the
filetype shown in the dialog was the registered type, the extension
associated with this type was still "*.*", even though my file translator
offers its own as its ::defaultExtension().

Otherwise, I believe you're limited to the filetypes that Maya defines in
its SharedUI.dll:

 Best Guess: *.*
 Maya Scene: *.mb;*.ma
 mayaBinary: *.mb
 mayaAscii: *.ma
 Windows Bitmap: *.bmp
 Tiff: *.tif
 Targa: *.tga
 SoftImage: *.pic
 SGI: *.sgi
 RLA: *.rla
 Quantel: *.yuv
 JPEG: *.jpg
 GIF: *.gif
 EPS: *.eps
 Cineon: *.cin
 Alias PIX: *.als
 ag: *.ag
 Maya IFF: *.iff
 move: *.mov
 OBJ: *.obj
 mel: *.mel
 text: *.txt
 plug-in: *.mll;*.so
 video: *.avi
 audio: *.wav;*.aif;*.aiff
 image: *.yuv;*.qtl;*.als;*.pix;*.iff;*.tdi;*.gif;*.jpeg;*.jpg;*.jfif;
        *.cin;*.rgb;*.sgi;*.si;*.pic;*.tga;*.tif;*.tiff;*.rla;*.eps;
        *.bmp;*.dib;*.avi;*.qt;*.mv;*.bot

Use the names above - not the associated extension - as the -fileType in the
fileBrowserDialog command.

--
Bryan Ewert  ? maya@(protected) ? http://www.ewertb.com ?

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---
List-help: <mailto:listar@(protected)?Subject=help>
List-archive: <http://www.highend3d.com/maya/devarchive/>