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

Pause macro execution

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 20, 2012, 14:58
Default Pause macro execution
  #1
Member
 
Ryan Coe
Join Date: Jun 2010
Location: Albuquerque, NM
Posts: 98
Rep Power: 15
ryancoe is on a distinguished road
Does anyone know how to pause the execution of a macro? I know you can hit the (x) button, but this kills it entirely.
__________________
Ryan
ryancoe is offline   Reply With Quote

Old   March 21, 2012, 04:28
Default
  #2
Senior Member
 
Join Date: Oct 2009
Location: Germany
Posts: 636
Rep Power: 21
abdul099 is on a distinguished road
Spontaneously I would put some Thread.sleep(x); statements at the point where you want the macro to pause and some if-clause to check when it should continue.
I don't think it's possible to pause it at an arbitrary position, but I really appreciate when I'm wrong!
abdul099 is offline   Reply With Quote

Old   March 21, 2012, 07:29
Default
  #3
Senior Member
 
Ryne Whitehill
Join Date: Aug 2009
Posts: 312
Rep Power: 18
rwryne is on a distinguished road
Quote:
Originally Posted by ryancoe View Post
Does anyone know how to pause the execution of a macro? I know you can hit the (x) button, but this kills it entirely.
<removed to prevent spread of misinformation>

Last edited by rwryne; March 26, 2012 at 14:20.
rwryne is offline   Reply With Quote

Old   March 26, 2012, 14:14
Default
  #4
Member
 
Ryan Coe
Join Date: Jun 2010
Location: Albuquerque, NM
Posts: 98
Rep Power: 15
ryancoe is on a distinguished road
Quote:
Originally Posted by rwryne View Post
There is a pause button in the CCM+ GUI, top left. It pauses after the current cmomand is executed,. If you are currently executing a .run() it wont pause until after that process.
I believe that is a pause in recording a macro?
__________________
Ryan
ryancoe is offline   Reply With Quote

Old   March 26, 2012, 14:19
Default
  #5
Senior Member
 
Ryne Whitehill
Join Date: Aug 2009
Posts: 312
Rep Power: 18
rwryne is on a distinguished road
Quote:
Originally Posted by ryancoe View Post
I believe that is a pause in recording a macro?

After review, you're right. Thanks for the correction.
rwryne is offline   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
Macro Heat Exchanger not selecting (Please help!) zdeth FLUENT 2 September 11, 2012 13:52
Macro Trouble -Winows Explorer Crashes with Macro Martin Castillo FLUENT 1 July 25, 2007 04:18
Macro problem cfddummy Siemens 1 April 9, 2007 12:37
macro not function! guang ai Siemens 0 July 25, 2004 18:53
Call a macro from a macro Flav Siemens 2 July 1, 2004 05:42


All times are GMT -4. The time now is 15:28.