How to call a function within another function

PaolaAG
Altair Employee

Hello! I am trying to call the Methodmenu function from the fatigue function so that I can select the desired material but I have that error
Thank you
0
Answers
-
Hi Paola,
"Methodmenu" "fatigue" are these gui callback functions? correct?
if so, you can use properties like tag, userdata along with findobj or using setappdata and getappdata commands.
Please refer to the article https://community.altair.com/community?id=kb_article_view&sysparm_article=KB0117100
this shows multiple ways to transfer the data between gui callbacks.
hope this helps!
Manoj
0 -
Hi Paola
you can have a look into these files (attached) or grab from the link
https://community.altair.com/community?id=kb_article&sysparm_article=KB0115790/Johan
0