Notifications
Clear all

[Closed] Get data from Render to Texture Dialog

Can I somehow get the output path, the element name and file extension from the Render to Texture dialog into my utility script? I’d like those values to automatically populate a couple of edittext boxes in my rollout.

I think I can call the values by using something like:

myvalue = bakedialog.theirvalue

But, I can’t figure out the syntax.

1 Reply

I got it. I can either get the value from the open window by doing somehting like:


myscript.mapPath.text = gTextureBakeDialog.rollouts.commonBakeProps.eFilePath.text

or I can access the RTT_data array directly. Render to texture stores all it’s settings in a global set of variables called RTT_data

Hoorah.