Creo Toolkit Notification just before switching windows
1. Describe your environment: What is your industry? What is your role in your organization? Describe your stakeholders.
Industry: Tolerance Analysis
Role: Developer
Stakeholders: Anyone performing a tolerance analysis
2. What version of Creo Parametric are you currently running?
9.0.0.0
3. Describe the problem you are trying to solve. Please include detailed documentation such as screenshots, images or video.
Our application puts Creo into new temporary states (e.g. temporarily moves the position of parts, etc). We need to know when the user switches models, enters new states, etc so we can revert our changes. We are using Creo events to detect this.
The one event that is missing that we really need is PRO_WINDOW_CHANGE_PRE (currently only PRO_WINDOW_CHANGE_POST exists).
4. What is the use case for your organization?
Step 1: User loads model 1
Step 2: User loads model 2
Step 3: User uses our software to move parts in model 2 into temporary position
Step 4: User switches windows back to model 1
Expected: Model 2 reverts to its original state
Actual: Model 2 stays in its temporary position. There is no way to detect the window change event before it happens.
Why it's a problem: This can cause major issues if Model 1 is a part contained in assembly Model 2, which means the user can modify it and throw off the state of our software. We really need to reset everything when the user switches models to prevent this.
5. What business value would your suggestion represent for your organization?
Our application, as well as any other application using Creo Toolkit, would be aware of when the user switches model windows before it happens. This allows them to revert states, clear caches, or anything else needed to prevent issues from occurring.
