HyperWorks Desktop

Report Template Parameterization

Report Template Parameterization

Previous topic Next topic No expanding text in this topic  

Report Template Parameterization

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

The Parameter Browser allows you to customize and automate the repeatable process of generating entire analysis sessions in HyperWorks Desktop.  The reality of automation is that it's not always desirable to re-apply automation scripts exactly as they were originally defined.  To remedy this, the Parameter Browser includes a graphical user interface for defining parameters that can be changed when an automation script is executed.  After the parameters are defined, you can save the automation script and run it from the Reports panel. To display the browser, select Browsers > HyperWorks > Parameter from the View menu.

Below is a list of available report template parameters which can now be parameterized in HyperView.

Parameter list:

Contour Control Data Component

Contour Control Data Type

Contour Control Legend Position

Legend Footer Font Name

Legend Footer Font Size

Legend Footer Text

Legend Header Font Name

Legend Header Font Size

Legend Header Text

Measure Label

Measure Locator Locator1

Measure Locator Locator2

Measure Locator Locator3

Measure Visibility

Model Simulation Index

Model Subcase ID

Model Title

Model Meshmode

Model Polygonmode

Note Anchor To Screen

Note Auto Hide

Note Border Width

Note Color

Note Fill Color

Note Font Name

Note Font Size

Note Font Slant

Note Font Weight

Note Horizontal Alignment

Note Label

Note Locator

Note Text

Note Transparency

Note X-Coordinates

Note Y-Coordinates

Note Z-Coordinates

Note X-Position

Note Y-Position

Note Visibility

Scale Control Data Type

Scale Control Scale Factors

Scale Control Scale Mode

Scale Control Undeformed Color

Scale Control Undeformed Mode

Section Base Coordinate Sx

Section Base Coordinate Sy

Section Base Coordinate Sz

Section Color

Section Cross Section Width

Section Label

Section Visibility

Tracing Control Line Color

Tracing Control Line Width

Tracing Control Tracing Mode

Tracing Control Tracing Steps

Tracking Control Label

Tracking Control Locator1 Locator1

Tracking Control Locator1 Locator2

Tracking Control Locator1 Locator3

View Fit

View Standardview

Example

The information below displays the commands, as well as outlines the steps in the Report panel, which are needed to parameterize the model title:

*DefineReport(model_title, GRAPHIC_FILE_1, RESULT_FILE_1, MODEL_TITLE)

     ...    

     ...    

*Parameter(MODEL_TITLE, "Model title", STRING, "My model title")

          ...    

          ...    

*BeginModel(GRAPHIC_FILE_1, "MADYMO KIN3 File Reader", MODEL_TITLE)

1.Access the Reports panel by either clicking the Reports panel button report-24 on the Report toolbar.
2.Click Add under the report definition list.

The file browser is displayed.

3.Select the model title report template (for example, "model_title.tpl") from the file browser.
4.Click Open.
5.The model title report template is added to the Report Definitions list.

The data required to complete the report are listed in the Parameter field.

A browser is displayed when the required data is in the form of a file.

6.Click in the Parameter field and enter in the name of the new model title that you desire.

The current text/title "My model title" is deleted and is replaced by the new text/title.

7.Under Mode, verify that the Append option is turned on.
8.Click Apply.

The new model title is now displayed in the graphics area.

 

 

See also

Report Parameters Supported in HyperView

HyperView Report Definition Statements