system.util.retarget(projectName [, gatewayAddress] [, params] [, startupWindows])
String projectName - The name of the project to retarget to.
String gatewayAddress - The address of the Gateway that the project resides on. If omitted, the current Gateway will be used. Format is: "host:httpPort:sslPort/main" [optional]
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 startupWindows - 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]