🎉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

Dyna_Output

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

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 

Find more posts tagged with

Sort by:
1 - 6 of 61
    User: "QuyNguyenDai"
    Altair Community Member
    Updated by QuyNguyenDai

    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?

     

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

    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

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

    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. 

    User: "tinh"
    Altair Community Member
    Updated by tinh

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

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

    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. 

    User: "tinh"
    Altair Community Member
    Updated by tinh

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