🎉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

Using Compose to write scripts for Simlab

User: "aashishahuja"
Altair Community Member

Hello,

I am trying to run a script for Simlab using the Python IDE in Compose. I run into issues with the very first line of code where I call: from hwx import simlab

I get an error in the Python window of Compose:

ImportError: cannot import name 'simlab' from 'hwx' (C:\Program Files\Altair\2025\Compose2025\hwx\scripts\python\hwx_init_.pyc)

Could you please suggest what could be the potential issue? I have Simlab and Compose 2025 installed on my system.

Thank you

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "Adriano_Koga"
    Altair Employee
    Accepted Answer

    i believe Compose does not have direct access to SimLab APIs. So you can use it to write the code, but not run it directly, except launching the code in SL directly.

    User: "manoj kandukuri"
    Altair Employee
    Accepted Answer

    @aashishahuja i assume you are using standalone compose and not from inside simlab? correct?

    if you are using standalone Compose, you wont be having Simlab Access to execute your python script.

    You can use Compose as an IDE from inside Simlab for creating,editing, debugging your simlab python script, here is the help pdf demonstrating steps on how to use.