Automating *ossmooth_12

Altair Forum User
Altair Forum User
Altair Employee
edited November 2020 in Community Q&A

Hello,

 

I am trying to automate the process of exporting optimized shapes to IGES files through Hypermesh TCL scripts.  Everything runs in the script, but when it gets to the *ossmooth_12 command it prompts the user to click yes or no to overwrite the oss file.  I have 'hm_answernext yes' before the command but it does not automatically select yes.  Is there a command that will allow the yes to be automatically chosen?

 

Thanks,

Kaitlyn

Unable to find an attachment - read this blog

Tagged:

Answers

  • tinh
    tinh Altair Community Member
    edited August 2018

    Hi

    before this last command, you need hm_answernext yes , too:

    *ossmooth_savesurf 1 '$newfile' $unit 7

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited August 2018

    Hi,

    Thanks for the reply.  I have tried that and it still prompts the user to select yes or no to overwrite the file.  The only way I have found to bypass that user input is to delete the current oss file right before calling *ossmooth_12.