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
If-statement in Generate Attributes
marco_stuggi
Member Posts: 2 Contributor I
Hello Community,
I have a school/university project and I'm stuck. I also never really programmed but tried to search here and on Google and couldn't find a usefull (at least for me) solution.
The structure is the following:
T1Name T1Tag T2Name T2Tag ... T146Name T146Tag
x a y b x a
y b x a y b
I want to write an if statement within the Generate Attributes Function, if T* Tag=a then it should generate a new attribute with the Name given in T*Name. But I don't know how I can write that in Code.
I'm thankfull for every help!
Thanks
I have a school/university project and I'm stuck. I also never really programmed but tried to search here and on Google and couldn't find a usefull (at least for me) solution.
The structure is the following:
T1Name T1Tag T2Name T2Tag ... T146Name T146Tag
x a y b x a
y b x a y b
I want to write an if statement within the Generate Attributes Function, if T* Tag=a then it should generate a new attribute with the Name given in T*Name. But I don't know how I can write that in Code.
I'm thankfull for every help!
Thanks
Tagged:
0