🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Read subcase / request from TXT-file and apply Report Template including creation of math based attached curves

User: "Sebastian_Karp"
Altair Employee
Updated by Sebastian_Karp

Overview

Refers to script version v3

 

This script:

  • loads request-list from TXT-file
        TXT-Format: one request each line, no empty lines
  • loads subcase-list from TXT-file
        TXT-Format: one subcase each line, no empty lines
        pay attention to exact subcase naming in OS-input compared to HG-reader / H3D >> difference in brackets
  • loops over requests and subcases and applies report each time
  • creates second page with attached curves  >> one curve for each request for all its subcases

 

Resulting Page 1:

 

image

 

 

 Resulting Page 2 with attached curves:

 

image

 

 

Pre-Requisite

-------------------------------------------------------------------------------------------------------------------------------------------------------------

 

User input:

  • set request-file / result-file / subcase-file / report-file / report-name in header lines 23 - 27
        full path is required for some of these parameters (could be handled by more logic through file / join commands etc.)
  • set Report Template options in header lines 31 - 33

 

 

Usage/Installation Instructions

-------------------------------------------------------------------------------------------------------------------------------------------------------------

 

Execution:

  • open empty HyperWorks session and run script from DropDown  File > Load > Script

 

image

 

 

Post-Requisite

-------------------------------------------------------------------------------------------------------------------------------------------------------------

Find more posts tagged with

Comments

No comments on this post.

Share projects with the Community

Share your models, scripts, workspaces, and more with the Altair Community.
New Exchange Project