On 18/05/2016 at 15:57, xxxxxxxx wrote:
Sorry if this is a newbie question. I'm making a python exporter and I'd like to show version of the plugin in the header and also a name of the object the user is exporting.
For example: "You are exporting object: " + op.GetName()
In script it was easy, I used a global variable, but now I'm trying to rework the script into a plugin and I don't understand how to get it into the . res file.
The string part comes from a .str resource, I got that... but where do I append the variable? I'm new to python modules as well and I guess the answer lies there somewhere.
Thank you.