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] catch the attribute name to a macro"
Hi everybody!
Is there any way to get the 'attribute name' of a example set (to put for example in a macro) to use later in a 'set data' operator ?
In middle of my process I have one example set with only 1 example and 1 attribute (1 cell), but the attribute is not the same. I need to catch the name of that attribute to use later as parameter in the 'set data' operator.
Thanks for the help
Regards
Sérgio Morais
Is there any way to get the 'attribute name' of a example set (to put for example in a macro) to use later in a 'set data' operator ?
In middle of my process I have one example set with only 1 example and 1 attribute (1 cell), but the attribute is not the same. I need to catch the name of that attribute to use later as parameter in the 'set data' operator.
Thanks for the help
Regards
Sérgio Morais
0
Answers
There may well be other ways, but you can loop through the attributes, like this.. Check out the text view of the log to see the results.
Good luck.
Ok! Thanks. The example helped me.