HyperWorks Desktop

*Parameter()

Specifies the label, variable type, and optional default for a report parameter.

*Parameter()

Specifies the label, variable type, and optional default for a report parameter.

Previous topic Next topic No expanding text in this topic  

*Parameter()

Specifies the label, variable type, and optional default for a report parameter.

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

Syntax

*Parameter(var_name, label,
          filename|string|double|integer,
          ["extension"], ["default"])

Arguments

Name

Description

 

var_name

The variable name of the report parameter.

 

label

The descriptive label of the parameter.

 

filename|string|
double|integer

A filename, string, double, or integer data type.

 

"extension"

The extension of the file when filename is used for type.

 

"default"

The default value for the parameter.

Example

*DefineReport(page_set_def_2, plt_fname, curve_label)

  *Parameter(plt_fname, "ADAMS request file",
            filename, "*.req", "indy.req")

  *Parameter(curve_label, "Curve label", string",

             "Filtered curve")

  *Page("Page 1", page_def_1, plt_fname)

  *Page("Page 2", page_def_2, curve_label)

*EndDefine()

Application

MotionView, HyperView, HyperGraph, TextView.

Context

*BeginPlotMacros()

*DefineReport()

Comments

Parameters are variables inside the report definition that can hold string or numeric data. The parameters in a report are entered in the Reports panel in the interface.

See also

 

*DefineReport()

List of Report Statements