*deletemodel Hypermesh 2023.1 in silent mode

Hypermesh 2023.1_Optistruct
Hypermesh 2023.1_Optistruct Altair Community Member
edited August 7 in Community Q&A

When I use the command "*deletemodel" in Hypermesh 2023.1 it pops up a message asking for manual input as shown below:

image

Is there a way to say "yes" through script or run in a silent mode so the popup won't ask for a manual input?

Answers

  • SunnyZhang
    SunnyZhang
    Altair Employee
    edited August 5
    Hi,
     
    In 2021.2 legacy GUI, adding command "hm_answernext yes" before "*deletemodel" helps. 
    You can try that in 2023.1. 
     
    Regards.
  • Hypermesh 2023.1_Optistruct
    Hypermesh 2023.1_Optistruct Altair Community Member
    edited August 7

    Hi,
     
    In 2021.2 legacy GUI, adding command "hm_answernext yes" before "*deletemodel" helps. 
    You can try that in 2023.1. 
     
    Regards.

    Thank you!

  • SunnyZhang
    SunnyZhang
    Altair Employee
    edited August 7

    Thank you!

    You're welcome. 

    Enjoy scripting!