API in Creo Parametric TOOLKIT to detect if "Replace in Session" dialog appears and auto-confirm
1. Describe the Problem
If an active server connection to a Windchill 12 system exists from Creo Parametric and the common name is changed for a newly created part/assembly using the Pro/TOOLKIT function ProMdlCommonnameSet, sometimes the "Replace in Session" dialog appears (even if the part/assembly doesn't have been uploaded or checked-in into the Windchill common space).
This behavior is unwanted from within our TOOLKIT application and it would be very helpful if there would be an option to automatically confirm this window (e.g. config-option) or would have a possibility (something like a notification) on which we can listen on, when the window occurs and do a auto-confirmation by a programmatic selection with "yes" or "no".
2. Are you using a workaround?
No workaround available. Possible workaround: Do not work with the common-name but with an user-defined parameter (consequences: Adaption of several Pro/TOOLKIT applications, CREO detail symbols that are used on drawings, adaptions in Windchill because of subsequent processes, ...)
3. What is the use case for your organization?
High advantage for our existing processes by our Pro/TOOLKIT applications.
4. What impact does this problem currently have on your organization?
Bad-User experience during our process to create new objects.
