hwISession ApplyReport

Applies a report.

Syntax

hwISession_handle ApplyReport report_name, mode, autofit, report_colors, num_params, params

Application

HyperWorks Tcl Query

Inputs

report_name
The name of the report (for example, "rep_def_1").
mode
overlay
Overlay the report onto the current session.
append
Append the report to the current session.
replace
Replace the current report.
autofit
true
Autofit plots.
false
Do not autofit plots.
report_colors
true
Use report colors.
false
Do not use report colors.
num_params
The number of parameters.
params
Additional argument for each *Parameter() statement in the report (report_name).

Example

To load and append a report with one parameter:
sess1 LoadReport bumper.tpl 
set autofit false 
set report_colors true 
sess1 ApplyReport "rep_def_1" append $autofit $report_colors 1 bumper.d3plot

Error

Success (0) or an error code.