Go to: Synopsis. Return value. Related. Flags. MEL examples.

Synopsis

refresh [-currentView] [-force]

refresh is undoable, queryable, and editable.

This command is used to force a redraw during script execution. Normally, redraw is suspended while scripts are executing but sometimes it is useful to show intermediate results for purposes such as capturing images from the screen.

If the -cv flag is specified, then only the current active view is redrawn.

Return value

None

In query mode, return type is based on queried flag.

Related

currentUnit, displayAffected, displayColor, displayCull, displayLevelOfDetail, displayPref, displayRGBColor, displaySmoothness, displayStats, displaySurface, hide, showHidden, toggle

Flags

currentView, force
Long name (short name) argument types Properties
-currentView(-cv) create
Redraw only the current view (default redraws all views).
-force(-f) create
Force the refresh regardless of the state of the model.

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command

MEL examples

refresh;