This function is used in Python Scripting.

Description

When using the typical navigation strategy, this function will navigate to the "home" window. This is automatically detected as the first main screen window shown in a project. If you are using this system function with system.nav.openWindow(), your home window should be closed before navigating to it, or system.nav.goHome() may not work. 

Client Permission Restrictions

This scripting function has no Client Permission restrictions.

Syntax

system.nav.goHome()

  • Parameters

Nothing

  • Returns

WindowA reference to the home window that was navigated to. Refer to the list of window objects.

  • Scope

Vision Client

Code Examples
Code Snippet
# This code would go in a button to move to the home screen.
system.nav.goHome()
Keywords

system nav goHome, nav.goHome