Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! 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.