vidIViewControl R2

Sets the current view to the view memorized with M2.

Syntax

hwIViewControl_handle R2

Application

HyperWorks Tcl Modify

Description

This command calls the view memorized with M2 and sets the current view to the memorized view. The M1 and R1 functions work similarly.

Example

hwi GetSessionHandle sess;
sess GetProjectHandle proj;
proj GetPageHandle p1 1;
p1 GetWindowHandle w1 1;
w1 GetViewControlHandle vc;
vc R2

Errors

Returns a success (0) or an error code.

Keywords

  • HyperWorks
  • Tcl
  • Video
  • Modify