TCL/HWC commands for advanced result query

Leon_21463
Leon_21463 Altair Community Member
edited August 2022 in Community Q&A

Hello everybody,

I am perfoming the same analysis with different models again and again. In my current workflow I open the results in Hyperview and query the top 10 results for each load case and for each node of specified element sets. I then export the results into a .csv file. Since I have quite a view element sets this takes some time and a lot of click-work.

I'd like to automate this process so I get the .csv files for each element set without to many additional interactions with the programm.

I know that I can have a look at the HWC console to see the corresponding HWC commands for my workflow. But these commands don't seem to get really far.

I'd appreciate any suggestions.

Thanks a lot and best wishes

Leon

 

Here is an overview over the HWC console commands that I get when performing the steps manually:

image

Answers

  • Adriano_Koga
    Adriano_Koga
    Altair Employee
    edited August 2022

    i'm not sure what version you're using, but you can do this in 2022, and loop through your results by marking the elements/nodes in a sset and then applying contour. The only thing i'm not sure if you can do is to export data directly only by using HWC commands. Maybe some extra TCL code would be needed.

    Just as a side note, remember ading 'hwc' before your commands if you're going to save it as a TCL script.

     

    image

     

    The HWC commands available are showed in the documentation

    image