Cannot access operators

Forums 💬 NodeCanvas ⚙️ Support Cannot access operators

  • This topic has 0 replies, 2 voices, and was last updated 7 years ago by Gavalakis.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #17256
    bcristian
    Participant

      Hello
      The way Internal_GetMethodSelectionMenu is written there is no way to access operators, because it considers any method with IsSpecialName true to be a property.
      So the ExecuteFunction action filters them out because of the special name, and the GetProperty action also filters them out because the operators have arguments.
      A work-around is to comment out that test.

      #17257
      Gavalakis
      Keymaster

        Hey,

        Hmm..I didn’t thought that people would want to use operators via the reflection tasks to be honest, but I could add them up to show in the Execute Function methods list if that is something needed. (I will use a different (better) way to determine if it’s a property or not).

        Thanks for suggestion!

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.