Notifications
Clear all
[Closed] Press a button programmatically
Aug 24, 2010 12:38 am
I am trying to automate some texture baking within Max. I am using the render -> render to texture dialog which comes standard. This dialog is created via MaxScript (\ui\macroscripts\Macro_BakeTextures.mcr). After reading through this script, I have been able to programmatically set the settings found on the dialog, now it is just a matter of getting it to render in the same way that it would if you pressed the “render” button on the bottom left of the dialog. Is there a way to fake a button press event through code?
Thank you
2 Replies
Aug 24, 2010 12:38 am
[buttonName].pressed()
Most UI object events can be triggered like any other function.