ansys.mapdl.core.Mapdl.replot#

Mapdl.replot(label='', **kwargs)#

Reissues the last display command.

Mechanical APDL Command: /REPLOT

Parameters:
labelstr

Controls the type of replot.

  • RESIZE - Issued internally when a graphics window resize occurs (Default).

  • FAST - Only applicable for 3D devices that allow a fast redisplay for changes in the view characteristics only.

Notes

Reissues the last display command ( nplot, eplot, kplot, plnsol, plvar, etc.), along with its parameters, for convenience. The current display specifications are used.

When the last display command is invalid in a given processor, replot is also invalid in that processor. However, if you attempt a replot and the last display command is invalid in the current processor, Mechanical APDL generates an element display ( eplot ) instead, as long as the last display command was plnsol, plesol, or pldisp.

Example: replot Replaced by eplot Automatically

plnsol, used to display solution results as continuous contours, is a valid command in the POST1 general postprocessor.

If you issue plnsol followed by replot while in POST1, replot effectively reissues your earlier plnsol command, along with its parameters.

If you then exit POST1, enter the PREP7 preprocessor, and again issue replot, the program uses eplot internally instead.

The command substitution occurs because plnsol is not a valid command in PREP7.

When you click one of the buttons on the Pan, Zoom, Rotate dialog box to manipulate the view of a model, replot is issued internally. Thus, the substitution of replot with eplot as described above may also occur for operations that you perform via with the Pan, Zoom, Rotate dialog box.

replot does not show boundary conditions if they are applied only to a solid model and the last display command (such as eplot ) displays the finite element model. To show boundary conditions, the following options are available:

  • Issue replot after you issue sbctran to transfer solid model boundary conditions to the finite element model.

  • Issue replot after you issue a solid model display command (such as vplot ).

This command is valid in any processor (except as noted above).