🎉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

Overwrite in batchmesh

Find more posts tagged with

Sort by:
31 - 34 of 342
    tinhUser: "tinh"
    Altair Community Member
    Updated by tinh

    Hi Samraj,

    how did you run it successfully last time?

    Hello Tinh,

     

    I tried the following code and it seems to work fine. Just one more doubt. I had wanted the script to print 'normal termination' at the end of the file. You had suggested to include it in the 'exportdynamesh.tcl' fine which worked. But i would like to include that in the .bat file which i tried now is working. Could you please suggest a method?

     

    The following code is the latest one i tried from the command line to ivoke the batchmesher


     

     set SW_DIR=C:\FK-Programme\Altair\hm\batchmesh set MODEL_DIR=E:\Datei\Results\Optimization\Schweller_Optimization  %SW_DIR%/hw_batchmesh.bat -nogui -cad_translator step -cad_model_file E:\Datei\Results\Optimization\Schweller_Optimization\Schweller.stp -criteria_file C:\FK-Programme\Altair\hm\batchmesh\crash_5mm.criteria -param_file C:\FK-Programme\Altair\hm\batchmesh\crash_5mm.param -user_procedure POST_BATCHMESH C:\FK-Programme\Altair\hm\batchmesh\exportdynamesh.tcl exportmesh 'dyna'  -work_dir E:\Datei\Results\Optimization\Schweller_Optimization

    Thank you

    tinhUser: "tinh"
    Altair Community Member
    Updated by tinh

    Hi Samraj

    I don't think bat file can return a string

    instead it can return an integer indicating error code

     

    Hello Tinh,

     

    THank you very much. I will look into that now.

31 - 34 of 342