Implementation of a TCL-Script in HyperMesh

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Hey guys,

 

I created a .tcl-script, which I normally open with the active-tcl program. The script works as it is supposed to be and opens a GUI, where several buttons can used to do calculations etc..

In the next step, I created a button in HyperMesh and want my .tcl-script to be started by pressing this button.

 

The problem is that the window I used to have when I've started the script by active-tcl doesn't appear when I use HyperMesh.

Can you help me out with this problem?

 

Thanks in advance, kind regards and greetings from Germany

Simon

 

You can find the script here:

Unable to find an attachment - read this blog

Answers

  • llyle_20499
    llyle_20499 New Altair Community Member
    edited November 2018

    Hi Bachelor,

     

    I fixed the part to show up the dialog. Please find attachment. 

     

    Unable to find an attachment - read this blog

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited November 2018

    Thank you!

    Even though the dialog is now showing up, an error occurs saying we got a bad window path name after pressing the search button.

    Do you have an idea what's wrong here?

     

    Kind regards,

    Simon

     

    Please find the screenshot attached.

     

    <?xml version="1.0" encoding="UTF-8"?>Error_Bad_Window_Path_Name.PNG

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited November 2018

    I fixed the problem by myself.

    Thanks again for your help!