Auto save

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

Hello,

 

I am having below questions.

 

1) Is there any shortcut key to save HM?

 

2) Is there any process or any script to auto saving HM file? that could help to save the file at regular interval.

 

Thanks in advance,

Sandeep

Tagged:

Answers

  • Q.Nguyen-Dai
    Q.Nguyen-Dai Altair Community Member
    edited March 2017

    Maybe: 

     

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited March 2017

    Hello,

     

    thank you. how can i get this script.

     

    Sandeep

  • Q.Nguyen-Dai
    Q.Nguyen-Dai Altair Community Member
    edited March 2017

    Script is always downloadable on this page. The link is just below of picture.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited March 2017

    Hi Sandeep,

    For autosave option, please follow this link: http://www.altairuniversity.com/wp-content/uploads/2017/01/AutoSave.pdf

  • tinh
    tinh Altair Community Member
    edited March 2017

    Hi Sandeep,

    For autosave option, please follow this link: http://www.altairuniversity.com/wp-content/uploads/2017/01/AutoSave.pdf

     

    Hi,

    Is there any function that Hypermesh just save file without geometry data?

    so autosave will not be lag when process big file. 

    I thought about export solver deck when autosave, but it still costs much time with big file, because of writing as text data

    So I've been searching a function to write binary data...

     

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited March 2017

    Hi Tinh,

    Autosave saves all the details in .hm file.

    Can you try with entity state browser?. The export/do not export option in entity state browser determines whether entities are to be exported or not. Using this, user can export only the required data.

  • tinh
    tinh Altair Community Member
    edited March 2017

    Hi Sir, I found a way

    entity state browser control import/export but as I say, exporting to text data still cost much time

    I found in HM14 a function named *filewriteentities that can save binary FEM data only

    the only an inconvenience that I have to organize FEM and GEOM data in different comps which are stored in different modules, too

    another function, *filewritecomponentgeometry can save a component to hm file. but it is save only GEOM

    hoping there is a function named *filewritecomponentfem ... in future versions

     

     

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited March 2017

    Hi Sandeep,

    For autosave option, please follow this link: http://www.altairuniversity.com/wp-content/uploads/2017/01/AutoSave.pdf

    Hello George,

     

    i followed the procedure as given in pdf. but it is unable to on autosave. no one popup window opening. 

     

    is it working for HM13 vesrion?

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited March 2017

    Hi Sandeep,

    Its working for 13 version.

    Type as in the pdf and please send a screenshot of the command window

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited November 2020

    Hi Sandeep,

    Its working for 13 version.

    Type as in the pdf and please send a screenshot of the command window

    pls see snapshot below

    Unable to find an attachment - read this blog

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited March 2017

    Hi Sandeep,

    After source, put a space and provide the path directory and try.

    That is source {C:\Program Files\Altair\13.0\hm\scripts\autosave.tcl}

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited March 2017

    Hi Sandeep,

    After source, put a space and provide the path directory and try.

    That is source {C:\Program Files\Altair\13.0\hm\scripts\autosave.tcl}

    Hello sir,

     

    now its working fine. thank you so much...

     

    one more doubt regarding the same.

     

    it saves extension as  .hmbackup, if unfortunately file corrupted i can open the .hmbackup & can work on it.

     

    but while working on .hmbackup file i am unable to save the file manually. is it again automatically saving the iterations or i have to save .hm file separately ? 

     

    sandeep

     

     

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited March 2017

    Hi Sandeep,

    You will have to save the file separately.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited March 2017

    Script is always downloadable on this page. The link is just below of picture.

    Hello Sir,

     

    the zip file contains extension .tbc. & it is not taking this format.

     

     .tcl can be open i think in keyboard settings? pls help

     

    Sandeep

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited March 2017

    Hi Sandeep,

    To create a shortcut for saving as .hm file in HyperMesh use  eval [[. cget -menu].file invoke 2] command in the keyboard shortcut menu.

    <?xml version="1.0" encoding="UTF-8"?>Capture.PNG

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited March 2017

    Hi Sandeep,

    To create a shortcut for saving as .hm file in HyperMesh use  eval [[. cget -menu].file invoke 2] command in the keyboard shortcut menu.

    <?xml version="1.0" encoding="UTF-8"?>Capture.PNG

    ok sir i will try this.

     

    regarding autosave script. one thing i want to share. we can change extension .hmbackup to .hm & its working fine

     

    can refer below image.1.png.313acc6eee5d3bdd04d6dcfced0f6334.png