Hi guys,
I have a doubt in the retargeting function, also a general question.
Is it possible to open another vision client without closing the present. like a new vision client should have to be opened while retargeting in a new client. Is this possible and if so how can we do that.
Retargeting only replaces the current client project with a different project. You can execute an external executable (via system.util.execute or java’s ProcessBuilder) to launch another separate client, but you won’t be able to preload any authentication.
Thanks for the reply, can you provide me a solution little bit more specific. I hope you understand my question,
like a retargeting function rather than opening the new project in the same window I need it in additional client window. Is there a way to do that. new project should be opened in a separate client.
Also can you please provide me with an example if possible.
I do not have an example handy. But there are examples for system.util.execute()
at the link. Look at the shortcut for launching a Vision Client and do the same with system.util.execute
.
It will not be the same as retargeting.
But will that open the project that we are expecting to launch, it will open a vision client only. Am I right?
My requirement is little bit different as I need to open that project also.
please consider I have 3 projects --Project A, Project B, Project C.
Project A is my main Navigation project, So from here I can access the other 2 projects. So if I click on a button , it should launch a new vision client suppose Project B is launching, then It should have to open it in another vision client and the project A shouldn’t have to close, Also the Project b should have to be directly open, rather than just a client window. Is this possible with the method that you have mentioned. If so please help me in this.
Shortcuts to launch a Vision Client include a project to load. You obviously have such a shortcut that launches Project A. Make shortcuts for projects B and C. Use their command line arguments in system.util.execute
.