3.6. Dynamic Substitution of Numeric or Character Parameters

Dynamic substitution of parameters occurs for the following commands: /TITLE, /STITLE, *ABBR, /AN3D, and /TLABEL. Dynamic substitution allows the revised value of a parameter to be used, even if the command which uses the parameter value has not been reissued.

Example:

XYZ='CASE 1'
/TITLE,This is %XYZ% 
APLOT

The title "This is CASE 1" appears on the area plot.

You can then change the value of XYZ and the new title appears on subsequent plots, even though you did not reissue /TITLE.

XYZ='CASE 2'

The title "This is CASE 2" appears on subsequent plots.


Release 18.2 - © ANSYS, Inc. All rights reserved.