Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
Good day.
I am working with the VB API in C# with Visual Studio 2015 and so far I have been successful in starting a new AsyncConnection, loading some models, adding a couple Action Listeners, etc.
However, I have never been able to properly end a connection:
Every time I call IpfcAsyncConnection.End() . the Creo Parametric session simply crashes, and I have to force close it.
This seems so simple but I can't get it to work. I have tried closing windows, disconecting first, etc.
Has anyone experienced the same? Any sugestions?
Thanks,
Pedro.
Hi,
IpfcAsyncConnectiion.End() - Command will force close all the process related to the Creo.
Use the following commands for Asynchronous application with COM connection
1. To start Creo
CCpfcAsyncConnection.Start()
2. To Connect with existing session
CCpfcAsyncConnection.Connect()
3. To continue with Connected session
CCpfcAsyncConnection.GetActiveConnection()
4. To Stop / Disconnect the Current session
IpfcAsyncConnection.Disconnect()
5. To End the Creo session
IpfcAsyncConnection.End()
Moved to unique thread as this thread is quite dated.
Can you some example code how to load model in asyn model?
I have been trying to code but every time it returns nothing.
Please help.