|
Hi,
is there an easy way to script the export of selected objects to a plugin file format? If yes. How do I supress a showing dialog when exporting or entering values if there is no docu for the plugin available?
Regards Matthias
----
C2Q 9650, 8GB Ram
3dsmax 8, 2009, 2010 and 2011
|
|
|
|
Usually you can do the following:
// Set your file name
fileName = "D:\Assets\Object\object.obj" exportFile fileName #noPrompt selectedOnly:true
The Exportfile function will usually pick the proper exporter matching the supplied extension in the given fileName. However in some cases you may have to supply the specific classID when you have multiple exporters supporting the same filetype. In that case you would add the flag “using: < maxclass>”.
Randall Hess
Senior Technical Animator
THQ, Volition Inc.
|
|
|