On 15/12/2014 at 13:18, xxxxxxxx wrote:
If I add a BITMAPBUTTON to my container description, I always get an error if I overload the GetDEnabling method.
It can be something as simple as:
def GetDEnabling(self, node, id, t_data, flags, itemdesc) :
return True
But when I deselect my object (the one with BITMAPBUTTON gadgets in its description), I always get this error in the Console:
AttributeError: Parameter value not accessible (object unknown in Python)
Is there any way to prevent this error from happening?