Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Hello all,
When i use openfile() to open a drawing the drawing tree and model tree are not opened in PROE.
I use the following statement:
var Descr = MdlDescrFactory.Create (pfcCreate("pfcModelType").MDL_DRAWING, Filedrawing, null);
var Mdl = oSession.OpenFile(Descr);
I hope somebody can help me.
Many thx in advance.
Greetings from Alwin
Thx for the response i indeed had to use the activate() method to get the model and drawing tree.