|
[Sponsors] |
June 30, 2004, 13:23 |
Call a macro from a macro
|
#1 |
Guest
Posts: n/a
|
Hi all, I'd like to know if it is possible to call a macro from another macro. I have the feeling that it stops after executing the second macro...
Thanks in advance Flav |
|
June 30, 2004, 14:16 |
Re: Call a macro from a macro
|
#2 |
Guest
Posts: n/a
|
Actually, you cannot call a macro from within a macro . How should a macro know after it's execution it has to come back to the location from where it has been called??? A macro is not a subroutine and does not contain a return statement (I tapped also in this booby trap...) Workaround: write your second macro to a file and use the IFILE command.
|
|
July 1, 2004, 06:42 |
Re: Call a macro from a macro
|
#3 |
Guest
Posts: n/a
|
Working with .inp files seems to be the good option. Thanks a lot for your quick answer !
Regards Flav |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
what is the macro ? | rr | FLUENT | 0 | May 21, 2008 05:43 |
load sheme macro (Solv Execute Command macro) | manu | FLUENT | 2 | March 13, 2008 02:00 |
Macro Trouble -Winows Explorer Crashes with Macro | Martin Castillo | FLUENT | 1 | July 25, 2007 05:18 |
UDS macro | Vidya | FLUENT | 0 | August 9, 2006 23:27 |
UDF switch macro vs. call Law | Christian | FLUENT | 4 | November 24, 2002 02:15 |