News: Need training? HyperSizer Training Videos are available now! Learn more here: https://hypersizer.com/trainingevents/e-learning/

Author Topic: Outputting multiple panel designs per component  (Read 1421 times)

Gawain

  • Client
  • **
  • Posts: 10
    •  
Outputting multiple panel designs per component
« on: January 15, 2019, 12:00:48 PM »
Within a component optimisation process, you can ask hypersizer to show you the top 10 or 100 etc designs for that component during a detailed sizing operation.  Is there a way for this data to be outputted into a spreadsheet or similar format? 

At the moment all I can find is the information within the .AOP file, but this does not seem to output the skin thickness, web thickness, stiffener height, weight etc for each design.  Is there any way to output this information for all designs required?

Stephen

  • Administrator
  • *****
  • Posts: 46
    •  
Re: Outputting multiple panel designs per component
« Reply #1 on: January 15, 2019, 12:48:47 PM »
Most likely the easiest way to accomplish this is through the scripting API. You can write a script (in VBA, Python, C#, etc.) that extracts the results for all designs of components. For this, use the Component.ResultVariable() method:

https://hypersizer.com/help_7.3/#COM/Object/Component-ResultVariable.php

You can see that it accepts the variable ID in question (corresponding to e.g. the skin, spacing, etc.), and optionally a solution ID. You'd need to have the script loop over the variables of concern in addition to looping through the solutions available.

-Stephen