Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
with the VB API on Creo 5
I am using model.Erase()
followed by
window.Close()
But the window remains open, though the model is erased.
Is there a solution for this?
Q: What is the equivalent API for 'Erase not Displayed'?
I also tried window.Clear()
but that was of no use.
Regards,
~Tushar
Solved! Go to Solution.
As said in documentation:
If the model is displayed in a window, the model is marked to be erased when control returns the Creo Parametric UI from the application. It is not erased immediately.
So window need to be closed first.
As said in documentation:
If the model is displayed in a window, the model is marked to be erased when control returns the Creo Parametric UI from the application. It is not erased immediately.
So window need to be closed first.
