The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
[SOLVED] Operator Branch
AreliBallina
Member Posts: 8 Contributor II
Hello everybody.
I have one simple question, Is it possible to have a branch into another branch?
I can run my process with one branch into other branch in the part "else", but when I try to put it in the side of "Then", says the attribute that goes inside the branch does not exist.
So, if I need have two Macros as filter inside of the branch, how I can do that??
I hope you can help me, thanks!!
I have one simple question, Is it possible to have a branch into another branch?
I can run my process with one branch into other branch in the part "else", but when I try to put it in the side of "Then", says the attribute that goes inside the branch does not exist.
So, if I need have two Macros as filter inside of the branch, how I can do that??
I hope you can help me, thanks!!
Tagged:
0
Answers
Scott
The process that I need is: filter by attribute called "Channel" for it I used the "Branch" because I would like choose all available canales with a Macro, and then I would like choose by single month (I mean to only Jan or Feb or May) or the same way all available months, for both (Canal & Month).
I have this possible options:
[Channel][/Month]
A 1,2,3,..,12
B 1,2,3,..,12
A&B 1,2,3,...,12 (single month)
A 1&2&3..&12 (all months)
B 1&2&3..&12 (all months)
A&B 1&2&3..&12 (all months)
But when I run it, there are some missing information
I hope you understood me...
Thanks!!
Does this help?
Scott
If you use the Branch operator and the condition type "attribute_value_filter", you will find that the last example in an example set is used for the comparison. The Branch operator does not do a For Loop that looks at each example one by one. A Loop operator and a suitable selection would be needed.
I don't understand the details of the requirement but you might find that using the Generate Attributes operator with a nested if function would be the way to go. Generate Attributes does implement an implied For Loop over all the examples and the values of attributes correspond to the values of single examples.
regards
Andrew
I'll try to use your advice.
Thank you and regards!!
Areli