Simlab Automation

AjayBorah
AjayBorah Altair Community Member
edited October 2020 in Community Q&A

Hi All,

I am preparing a script for an assembly FE modeling and i want to add pause and play button within the script so as to perform manual operation and than again switching to the script.

 

I have got some example from tutorial like below

 

1. SimLabUtility.CommentMessagePopUp('Check Aspect Ratio (< 20) quality for Tri element. If failed element present, clean up and continue.');..This is an comment msg pop up 

 

2.bStatus = True
msgBox = simlab.pauseprocess('Do group transfer. Incase of any failure, please do manual cleanup.\n Click \'Yes\' to continue the process \n or click \'No\' to stop the script execution.',title='SimLab',Button1='Yes',Button2='No')
if msgBox.status == False:
    bStatus = False

#if user click 'Yes' continue the script.
if bStatus == True:

 

But i am unable to frame those into my script.

 

Any help will be more appreciated..

 

Thanks

Tagged: