Simulation Moldflow Insight

Reply
Active Contributor
toofewfish
Posts: 27
Registered: ‎03-19-2009

Macros

124 Views, 1 Replies
11-22-2013 07:29 AM

I have created a macro that copies the Pack/Hold profile from one study to another in a project. -That works correctly.

 

What I need to do now, is to remove results of a previously ran analysis so that the study is marked to "Start Analysis" as if a change was made manually thru the Process Settings window with wiping out the restart file and forcing a complete run from the start.My macro changes the process values, but it doesn't trigger the need for a rerun of the results because of a "change". Is the a flag that I can set thru the macro that will do this?

 

Thanks

 

Please use plain text.
Active Contributor
toofewfish
Posts: 27
Registered: ‎03-19-2009

Re: Macros

11-22-2013 10:45 AM in reply to: toofewfish

I tried using  Deleteresults, but that deletes the restart information as well... not what I want to do. I want the restart info available so that it can start rerunning from V/P switchover....

 

 DeleteResults ( long  aStartIndex  )   

Deletes results starting from the given index

Parameters:   aStartIndex  Start index of results to be deleted Returns: True if successful Example: This example deletes all results
  Set SD = Syn.StudyDoc
  SD.DeleteResults(0)



Please use plain text.