On 25/12/2015 at 07:38, xxxxxxxx wrote:
here is my problem:
I have made an object and in the .res file I made a button that should, when pushed, open a seperate plugin, and I don't really know how to do that. Do I have to write the code into the ObjectData's Execute method or where do I have to write my code?
hopefully everything is clear ^^
(sorry fo my bad english)
wish you guys a nice Chtistmas day!
On 25/12/2015 at 12:52, xxxxxxxx wrote:
No, in the "Message" method. Straight from the python doc:
def Message(self, node, type, data) :
print "Pushed button with command ID", THE_BUTTON_ID
The method "Message" is inherited from NodeData.
On 04/01/2016 at 01:50, xxxxxxxx wrote:
as Cairyn shows, the button is catched in NodeData.Message().
On 15/01/2016 at 09:20, xxxxxxxx wrote:
was your question answered?
On 20/01/2016 at 08:36, xxxxxxxx wrote:
sorry for the late answer, I had to much work to do for school, that I could't even take a look in the forum and wrire a reply, really sry for that!
But yes, my question was answered, thank you two ^^