Dyna_Output

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

Hello everyone, 

 

I am building a python script to invoke HM to mesh the input file (.stp file in this case) and give .key file as output (for ls-dyna). I couldn't find Dynaoutput.tcl file and DynaOutputwithNewName.tcl in the installation folder. Could someone please share it here if possible? 

 

Thank you very much 

Tagged:

Answers

  • QuyNguyenDai
    QuyNguyenDai Altair Community Member
    edited March 2018

    Hello everyone, 

     

    I am building a python script to invoke HM to mesh the input file (.stp file in this case) and give .key file as output (for ls-dyna). I couldn't find Dynaoutput.tcl file and DynaOutputwithNewName.tcl in the installation folder. Could someone please share it here if possible? 

     

    Thank you very much 

     

    That's strange! You're building 'python' script and you're looking for *.tcl files?

     

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

    Thank you very much for your response. I am trying two methods. one is to use python where I combine CATIA and HM interface and second is to use them separately. I have attached the python file which I used. In that, under HM part, the default folders, were tcl file was mentioned. If not, in other case, I have also created a batch script file in .txt format. can I use hm.batch.exe under cmd line to execute the file?

     

    I really appreciate your help and looking forward to hear from you. 

    Unable to find an attachment - read this blog

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited March 2018

    hello again, 

     

    I tried to run the script (attached picture) from command line. I get the some errors. could someone please help me how to deal with it? Unbenannt.PNG.95dde13611cbd3dd591388e00983a20b.PNG

     

    Thank you and looking forward to hear from you. 

  • tinh
    tinh Altair Community Member
    edited April 2018

    I see -run_results is a folder. should it be a file instead?

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited April 2018

    Hello, 

     

    Thank you very much for your feedback. Actually I don't know what I did. Honestly I just tried adding and deleting different syntax such as run and now the script works. :)/emoticons/default_smile.png' srcset='/emoticons/smile@2x.png 2x' title=':)' width='20' />. I used like this    -nogui - cad_translator -crit -param -userprocedure -work_dir.  now it works perfectly fine. 

     

    Thank you. 

  • tinh
    tinh Altair Community Member
    edited April 2018

    If you don't know but it works => be careful :wacko:/emoticons/default_wacko.png' title=':wacko:' />