Problems with GetDEnabling and BITMAPBUTTON

  • 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?

  • On 16/12/2014 at 06:23, xxxxxxxx wrote:

    Oh, by the way, this only happens in R14, so it is not such a big deal ;-)
    At least I have been trying to reproduce this in R15 and R16 and it seems to be working fine.

  • On 17/12/2014 at 08:25, xxxxxxxx wrote:


    yes, this was a bug in R14 that was fixed with R15.

    Best wishes,

Log in to reply