Introduced
5.0
Description
Sets the focused view pane ("A", "B", "C" or "D") in the view manager (the view with focus indicated by a light gray border).
Scripting Syntax
SetFocusedViewport( Viewport )
Parameters
|
Parameter |
Type |
Description |
|
Viewport |
The viewport in the view manager which you want to have the focus |
Examples
VBScript Example
' Get the current viewport which has the focus set oVM = Application.Desktop.ActiveLayout.Views.Find("View Manager") set oView = oVM.Views(GetFocusedViewport) LogMessage oView.FullName & ", " & oView.Type ' Then set the focus to viewport "A" SetFocusedViewport "A" ' Get the focused viewport again set oView = oVM.Views(GetFocusedViewport) LogMessage oView.FullName & ", " & oView.Type
See Also
Autodesk Softimage v7.5