Automating export of data from sets of elements across multiple Load cases

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

Hi,

 

I'm a complete beginner but I've been given the task of using HyperView to export XX stress, YY Stres and XY Stress Ply 1 and Ply 3 for 8 load cases. 

 

To make things easier to manage I've groups together each component into sets. I've manually exported 1 of the 8 load cases by going:

 

(In the Query section of the results toolbar, below the Graphics window)

 

Selecting the Elements > By Sets

Selecting the desired set from the drop down list

Clicking 'Add'

Clicking 'Return'

Clicking 'Apply' in the 'Query' window

Clicking 'Export' and exporting the CSV file to the desired location.

 

I have to repeat this another 200 times and as you can imagine this is a very long repetitive task.

 

I've been trying to use the help files for over a day now to try and automate this process however I am having a lot of trouble understanding what I actually need to do to accomplish this.

 

I was hoping HyperView would have some kind of record function to allow me to repeat the above and process manually and see the code outputted from this process. I tried using the 'StartRecording' function but i am not yielding anything from doing this. Is there a function in HyperView that will allow me to do this?

 

I then tried using the code given in the scree n shot attached to get an understanding of how this is structured. I loaded this from a text file and it successfully outputted a text file with a column with a number of element ID's in and another column with 'N/A'. I tried varying some of the input to see what parameters controlled what in the CSV file but I was not successful. Every time i tried to run the code it would either error or output a blank CSV.

 

Can someone please explain to me how I can automate this process (If possible)

<?xml version="1.0" encoding="UTF-8"?>image.png

Tagged:

Answers

  • tinh
    tinh Altair Community Member
    edited October 2017

    Hi,

    searching output options in solver reference guide please.

    I think it is possible to export those data by solver instead of hyperview.