Problem with creating TCL scripts in HyperMesh

juliuus_
juliuus_ Altair Community Member
edited November 2020 in Community Q&A

Hello!

I´m new to scripting in HyperMesh and want to learn a bit more about it.

My problem is: When I want to create a new TCL/TK script from "Create New TCL/TK Script" in the HyperMesh scripting toolbar, nothing happens. I can see a starting window (I guess it´s from HyperMath) and then receive the following error message:

"Unable to create proper channel. HyperMath may not work as desired."

Do you have any idea how to fix this problem and start scripting in HyperMesh?

Thank you!

Greetings from Germany!

Answers

  • tinh
    tinh Altair Community Member
    edited November 2020

    Hi,

    I got the same error.

    You can use a text editor (like Notepad++) to write your scripts, and run it from hypermesh menu File>Run>Tcl Script

    Or even use hypermesh command window to write and run scripts:

    image

  • juliuus_
    juliuus_ Altair Community Member
    edited November 2020

    ok, thank you tinh. Are there any other options too solve this problem? have you asked the customer support yet?

  • tinh
    tinh Altair Community Member
    edited November 2020
    juliuus_ said:

    ok, thank you tinh. Are there any other options too solve this problem? have you asked the customer support yet?

    Hi,

    I don't know how to solve this problem. Because I didn't use that toolbar, never use it so I don't ask customer support.