ProEngineer session taking few seconds to refresh after model load
I am opening a big drawing structure into ProE session using an external application. Once all the models are fetched and opened into the ProE session, it is taking few seconds to refresh the structure completely.
Before the structure is properly refreshed, few hatches and tolerances are missing in the structure. It is shown only after 2-3 seconds in the ProE session.
This behaviour I have seen with File->Open also.
The problem I am facing now is I am creating a CGM file once or after the models are loaded in ProE session and at times or rarely the CGM is getting generated without hatches and plusminus tolerances. Next time when I repeat the process, it works fine.
Is there any way to check if the models are loaded completely into the ProE session before starting any opertaion?
Load:
proeModel = proeSession.RetrieveModelWithOpts(proeModelDescriptor, opts);
proeModel.display();
CGM creation:
Drawing drawing = (Drawing)proeModel;
drawing.Regenerate();
...............................
drawing.RegenerateSheet();
.................
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.

