Skip to content

hfVisualizer Remote Control Undo And Redo

undo

hfVisualizer --remote [--target <id>] undo
  • Applies the same model-history operation as the GUI Undo action.
  • undo runs only in preprocessing mode.
  • It uses the current in-memory preprocessing model-history stack of the target session.
  • undo fails with NOTHING_TO_UNDO when no earlier snapshot is available.
  • Successful execution records the canonical undo tail into Remote Control History and script-save.
  • Successful result JSON includes canUndo and canRedo after the operation.
  • The GUI Undo action records the same canonical tail in Remote Control History.

redo

hfVisualizer --remote [--target <id>] redo
  • Applies the same model-history operation as the GUI Redo action.
  • redo runs only in preprocessing mode.
  • It uses the current in-memory preprocessing model-history stack of the target session.
  • redo fails with NOTHING_TO_REDO when no redo snapshot is available.
  • Successful execution records the canonical redo tail into Remote Control History and script-save.
  • Successful result JSON includes canUndo and canRedo after the operation.
  • The GUI Redo action records the same canonical tail in Remote Control History.

Example:

hfVisualizer --remote node 1 0,0,0
hfVisualizer --remote undo
hfVisualizer --remote redo