Hi Frederic,
Thank you much for the prompt response! I guess I'd appreciate more of the Apprentice Service method, because it might be faster to open a document. My code is like below:
Inventor.ApprenticeServerDocument objApprenticeServerDocument;
//open the specified file
objApprenticeServerDocument = objapprenticeServerApp.Open(txtFileName.Text);
Inventor.ComponentDefinition definition1 = objApprenticeServerDocument.ComponentDefinition;
But Inventor.ComponentDefinition doesn't have IsiPartFactory property.
My C# project reference to Apprentice is C:\WINDOWS\assembly\GAC_MSIL\Autodesk.Inventor.Interop\16.0.0.0__d84147f8b4276564\Autodesk.Inventor.Interop.dll
I'd appreciate this "IsiPartFactory" property when I'm opening thousands of part files in batch process to re-organize the documents. I think to open these documents using Inventor API (not Apprentice) can be quite time consuming. But Apprentice seems to be much faster.
Thank you!
Jeff Yao