🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

"OperatorSelector does not work with Macro Definition"

User: "steffen"
New Altair Community Member
Updated by Jocelyn
Hello

Using OperatorSelector with MacroDefiniton I got an NumberFormatError. Diving into the code I found that you have fixed the problem of Integer-Parameters-do-not-use-macros, but not problem of the MacroHandler itself: (i.e. it also occurs in the Zaniah Branch)

Since OperatorSelector try to access the macro BEFORE the process is executed, it gets an error since this macros have not been defined yet. At this step, MacroHandler has only access to predefined macros, the Map "macroMap" is empty. I choose not to add a note in the bugtracker, because this is a quite architectural (does this word exist) problem which may affect other operators, too.

affected methods of OperatorSelector
  • getInputClasses()
  • getOutputClasses()
  • getInnerOperatorCondition()
...maybe you are already aware of this problem ;)

regards,

Steffen

Find more posts tagged with