.tcl Command to accept overwriting an existing file

User: "Manjunath0711"
Altair Community Member
Updated by Manjunath0711

Hi,

 

I would like to know if there are any tcl commands that I can use to select yes for overwriting a file instead of manually selecting it or is there any way I can switch off the overwrite warning option in Hyperworks.

 

TIA

Find more posts tagged with

Sort by:
1 - 3 of 31
    User: "QuyNguyenDai"
    Altair Community Member
    Updated by QuyNguyenDai

    I use :

     hm_answernext 'yes';

    within my Tcl scripts.

    User: "Manjunath0711"
    Altair Community Member
    OP
    Updated by Manjunath0711

    Thank you for the quick response, the command is working except for overwriting an .oss file. After the execution of the highlighted line in the screenshot( attached below) the overwriting window pops up. Can you help me with this?

     

    TIA

    <?xml version="1.0" encoding="UTF-8"?>sc.png

    User: "Adriano_Koga"
    Altair Employee
    Updated by Adriano_Koga

    as a workaround you could check for existance of this .oss file and if exists, delete or change your name...i don't know.

    This was covered in another topic in the forum..

     

    'file exist something'...