Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
I trying to run multiple sessions with the reference of VB API, but not able to do.
I just want to know, Does VB API support multiple sessions??
Solved! Go to Solution.
😉 You need process to process communication in my point of view. So messaging via sockets.
The server starts the client. The client connects to the server and waits for instructions from the server. If the client works he informs the server how he is doing.
Threads may an option as well, but similar message handling.
Dependent on your experience it may a long way to go 😩
Please specify what software you are using.
Hi @VladimirN
I am using Creo 4.0 paramatic.exe . Basically i have a C# Tool which opens the creo session and load the assembly. Now am trying to implement to open multiple session in a single machine and load .asm file into it parallelly.
Articles:
As far I know „No“ for Toolkit, because that would imply to get a session handle and each function must be called with this handle. Create your own server process which will open different clients, talk to them and communicate with any amount of connected Clients/Creo sessions. Else the session communication could be a nightmare if one handle does no longer respond.
Thanks @RPN ,
It would be very helpful if you please share some examples of server process.
😉 You need process to process communication in my point of view. So messaging via sockets.
The server starts the client. The client connects to the server and waits for instructions from the server. If the client works he informs the server how he is doing.
Threads may an option as well, but similar message handling.
Dependent on your experience it may a long way to go 😩
Hello @swayam,
It looks like you have some responses from some community members. If any of these replies helped you solve your question please mark the appropriate reply as the Accepted Solution.
Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.
Thanks,
Community Moderation Team.