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
"Select Attribute After Loop Attribute"
I would like to use the Select Attribute operator to pick out those that ran through the function inside the Loop Attribute operator(containing Generate Attributes operator).
However, under the attribute filter type 'Subset', I'm unable to find any of the rename attributes that were created by the Loop Attributes operator. It only contains the original attributes that was before running into the loop.
Any idea on how I can select my attributes using Select Attribute operator ?
Thanks!
Regards,
AY
However, under the attribute filter type 'Subset', I'm unable to find any of the rename attributes that were created by the Loop Attributes operator. It only contains the original attributes that was before running into the loop.
Any idea on how I can select my attributes using Select Attribute operator ?
Thanks!
Regards,
AY
Tagged:
0
Answers
If I make the link with your other thread, your created (inside the Loop Attributes operator) attributes are named "2-Speed_New"
and more generally "xxxx_New".
So you can use Select Attributes operator with the attribute filter type = regular_expression :
Hope it helps,
Regards,
Lionel
It worked! Only after I checked the "invert selection" box. However, my original attributes are still there.
Regards,
AY
Mmmh, I think you have not been rigorous...
The exact syntax of the regular expression is : .*_new [don't forget the "point" at the first place] (or .*_New or .*_NEW according to the name you gave to your created attributes)
Regards,
Lionel