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.

accessing .vrscene exporter window from script?

accessing .vrscene exporter window from script?

inquestudios
Enthusiast Enthusiast
396 Views
4 Replies
Message 1 of 5

accessing .vrscene exporter window from script?

inquestudios
Enthusiast
Enthusiast

I need to open Vray .vrscene exporter and control its UI from my script.
The problem is when I run vraySceneExport() window shows up, but does not draws its interface until script is finished.

Is there any way to open this window async from main script?

0 Likes
397 Views
4 Replies
Replies (4)
Message 2 of 5

denisT.MaxDoctor
Advisor
Advisor

finish the script, let the VRay dialog open, and use DialogMonotorOPS to initiate a new script run for custom settings

0 Likes
Message 3 of 5

inquestudios
Enthusiast
Enthusiast

Maybe there's another way to bring that window bypassing MAXscript?
Some ctypes mumbo-jumbo, maybe? 😄

0 Likes
Message 4 of 5

denisT.MaxDoctor
Advisor
Advisor

did you try vrayExportVRScene?

 

0 Likes
Message 5 of 5

inquestudios
Enthusiast
Enthusiast

vrayExportVRScene actually exports the .vrscene, while I need to use "Analyze" routine from dialog window,
and scrape results from log window.

0 Likes