Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

"file to export dlg" how to execute

"file to export dlg" how to execute

Anonymous
Not applicable
367 Views
2 Replies
Message 1 of 3

"file to export dlg" how to execute

Anonymous
Not applicable
Hi.

I'm a new one in the Max SDK and I have probably a silly question.
I need to open "file to export dlg" but not from file->export,
I have done plug-in in Utility, i place there a button and i want to click the button so the export dlg will appear.

All in all, I'm a student and I'm writing a plug-in that should exporting scene to VIRTOOLS extension, and additional generating render to texture of scene objects. I'm stuck at the executing the "file to export dlg" could anyone help me?

I would be THANKFUL.

I'm from Poland, and there is nobody to ask.

Thanks for help.



p.s. Isn't it easier to do in MAXscript?
Whole cse is that I need to export scene to VIRTOOLS and take 20 renders of an object, renders are different because one of light, it's power is changing in logarithmic way in 20 steps. I hope someone understand what i'm talking about 😛
0 Likes
368 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
You can do actual export using GetCOREInterface()->ExportToFile(...)


virtual BOOL Interface::ExportToFile ( const MCHAR * name,
BOOL suppressPrompts = FALSE,
DWORD options = 0,
Class_ID * exporterID = NULL
)

This method simply brings up the 'Select File to Export' dialog just as if the user picked this option from the File / Export... pulldown menu.


Cheers
0 Likes
Message 3 of 3

Anonymous
Not applicable
Thanks a lot for reaply. I done it in maxscript It is much more easier then in sdk. I forgot that i post it here.

But thankyou for interesting.

Greetings from Poland 🙂
0 Likes