🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Automating *ossmooth_12

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

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

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "tinh"
    Altair Community Member
    Updated by tinh

    Hi

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

    *ossmooth_savesurf 1 '$newfile' $unit 7

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    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.