How to unassign .property constants?

  • RamenNoods
    14th Apr 2023 Member 0 Permalink

    Scripting an element. Assigned an element with PROP_LIFE_DEC constant, and now don't need it. How do I unassign this constant?

  • RebMiami
    16th Apr 2023 Member 0 Permalink

    Can you show the code? I'm not entirely sure what you mean

  • catLoveChips_2
    15th May 2023 Member 0 Permalink

    you can just make its property to nil with another line of code like:

    elem.property(EXPL, "Temperature", 373.15)

    now to delete this property:

    elem.property(EXPL, "Temperature", nil)

     

    where EXPL is your element id