system.util.retarget(project [, addresses] [, params] [, windows])
String project - The name of the project to retarget to.
String or List addresses - The address of the Gateway that the project resides on. If omitted, the current Gateway will be used. Format is: host:port. [optional]
The following feature is new in Ignition version 8.0.8
to check out the other new features
As of 8.0.8 this can be a list of strings. When using a list, the function will try each address in order, waiting for the timeout period between each address attempt.
PyDictionary params - A dictionary of parameters that will be passed to the new project. They will be set as global variables in the new project's Python scripting environment. [optional]
String windows - A list of window paths to use as the startup windows. If omitted, the project's normal startup windows will be opened. If specified, the project's normal startup windows will be ignored, and this list will be used instead. [optional]