Capture Hypermesh Error message in a string variable

Dhairyasheel
Dhairyasheel Altair Community Member
edited October 2020 in Community Q&A

Hi All,

I am trying to capture error MESSAGE in hypermesh using TCL.

I have one model in which property is not referenced. But still its not showing using preview unused command. So when i isolate the same property it shows error.

I want to catch the error in hypermesh menu bar in a string variable

 

Can anyone please help me ?

 

Best Regards,

Dhairyasheel Desai

<?xml version="1.0" encoding="UTF-8"?>Capture.JPG

Answers

  • tinh
    tinh Altair Community Member
    edited July 2019

    I had a post answering this question.

    Can you look for it first

  • Dhairyasheel
    Dhairyasheel Altair Community Member
    edited August 2019

    Hi tinh,

     I was not able to find any post related to this.

     

    can you please help me out to get the error string from hypermesh ?

     

    Best Regards,

    Dhairya

  • llyle_20499
    llyle_20499 New Altair Community Member
    edited August 2019

    Hyperworks desktop:

    .mainFrame.bottom.leftfrm.label cget -text

     

    Hypermesh:

    .mainFrame.bottom.message_label cget -text

     

  • Dhairyasheel
    Dhairyasheel Altair Community Member
    edited August 2019

    Thanks Livil,

     

    This code was really helpful :):)

     

    Best Regards,

    Dhairyasheel Desai

    Tata Technologies