CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens

Call a macro from a macro

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 30, 2004, 13:23
Default Call a macro from a macro
  #1
Flav
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
  Reply With Quote

Old   June 30, 2004, 14:16
Default Re: Call a macro from a macro
  #2
4xF
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.
  Reply With Quote

Old   July 1, 2004, 06:42
Default Re: Call a macro from a macro
  #3
Flav
Guest
 
Posts: n/a
Working with .inp files seems to be the good option. Thanks a lot for your quick answer !

Regards Flav
  Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 14:05.