Code to automatically invoke simlab and run the python script

AjayBorah
AjayBorah Altair Community Member
edited July 2021 in Community Q&A

Hello All,

I am looking for python code to automatically invoke Simlab and run the FE modeling script .

Thank you

Answers

  • Adriano_Koga
    Adriano_Koga
    Altair Employee
    edited June 2021

    If you go to SimLab help, you will find the options for 'batch' execution.

     

    How to execute Python script?
     image

     

  • AjayBorah
    AjayBorah Altair Community Member
    edited June 2021

    Hi Adriano,

    Thank you for the reply..

    I have learned new thing with this..

    But I am looking for invoking SimLab using compose and running my FE modeling process 

    I have some manual work in between so using compose I can run my scripts step by step.

    Kindly help me with a code can be used to invoke SimLab from compose and executing the remaining script.

    Thank you

     

  • Adriano_Koga
    Adriano_Koga
    Altair Employee
    edited June 2021
    AjayBorah said:

    Hi Adriano,

    Thank you for the reply..

    I have learned new thing with this..

    But I am looking for invoking SimLab using compose and running my FE modeling process 

    I have some manual work in between so using compose I can run my scripts step by step.

    Kindly help me with a code can be used to invoke SimLab from compose and executing the remaining script.

    Thank you

     

    you can simply use 'dos' command in compose to call the command window and execute command lines just like in windwos 'cmd'

    image

     

    if you want to use python command, then

    https://datatofish.com/command-prompt-python/

  • Hakan_20716
    Hakan_20716 Altair Community Member
    edited July 2021

    You can watch the 90-minute conference presentation below.

     

    Using Altair Compose Calculations & Scripts to Improve and Accelerate CAE Processes

    https://www.altair.com/resource/using-altair-compose-calculations-scripts-to-improve-accelerate-cae-processes-playlist