Notifications
Clear all

[Closed] Determine which exporter to use

Is there a way to choose which specific exporter to use when exporting through a script.

For example, if you have multiple “.obj” exporters, and you use the line


 local export_filename = maxfilepath + (getfilenamefile maxfilename) + ".obj"
 exportfile export_filename #noprompt
 

how does it know which .obj exporter to use? Is there another way to specify besides removing the extra exporters?

Thanks

2 Replies

[left]exportFile <filename_string> [ #noPrompt ] [ using:<maxclass> ]
[/left]

Worked like a charm. Thanks