How to get values using HWC In hyperview2021,

Jerry Qu
Jerry Qu Altair Community Member
edited August 2022 in Community Q&A

Maybe the value is dynamic Max. Value.

I find some informations in doc, like”annotation measure…” But, it’s just displayed in view.

I want to get this value, storage it, write to excel.

If HWC doesn’t have function, how do it using TCL.

Answers

  • Adriano_Koga
    Adriano_Koga
    Altair Employee
    edited August 2022

    as far as I know there's no function for exporting to excel in HWC right now.

    What kind of data do you need to extract from your model?

    If not 100% necessary to be a script, maybe advanced query could help.

    Otherwise, some TCL script might be necessary. Attached a sample TCL script to export Stress for All elements. This is an old script, and it is pure TCL. This would be much smaller using hybrid TCL and HWC commands.

  • Jerry Qu
    Jerry Qu Altair Community Member
    edited August 2022

    as far as I know there's no function for exporting to excel in HWC right now.

    What kind of data do you need to extract from your model?

    If not 100% necessary to be a script, maybe advanced query could help.

    Otherwise, some TCL script might be necessary. Attached a sample TCL script to export Stress for All elements. This is an old script, and it is pure TCL. This would be much smaller using hybrid TCL and HWC commands.

    Thank you very much, the scripts can be run in my model. But not perfect, 2 questions as shown in attachments: 1. Add “all” ,the output is all components in my model, but sometimes I want to single component by name or ID , and the max value were written in csv, if possible I prefer puts it directly, how to get it; 2.The get measure handle was shown in my draw, but it’s default font, how to change it and hide min measure value; Looking forward to your reply.