Hi Jon,
Thanks for the quick response and for confirming that the OpenDesignFileForProgram (ODFFP) method cannot be used to manipulate Levels, Views, etc. To answer your question, "Why not use OpenDesignFile (ODF)?" I guess I have two answers. 1) I was hoping to maximize speed. ODFFP is much faster than ODF. 2) Well, I suppose I really don't have a choice. For what I want to achieve, it looks like only ODF will work. Period. End of story.
Okay. I accept and will proceed to use the ODF method for my VBA program. However, here is probably a stupid follow-on question. Are there any options you would recommend for "speeding up" the opening of a DGN file with the ODF method? For example, is it possible to "suspend" the displaying of the model graphics, or the loading of reference attachments, or something completely different that I haven't thought of?
Thanks,
Matt
Thanks for the quick response and for confirming that the OpenDesignFileForProgram (ODFFP) method cannot be used to manipulate Levels, Views, etc. To answer your question, "Why not use OpenDesignFile (ODF)?" I guess I have two answers. 1) I was hoping to maximize speed. ODFFP is much faster than ODF. 2) Well, I suppose I really don't have a choice. For what I want to achieve, it looks like only ODF will work. Period. End of story.
Okay. I accept and will proceed to use the ODF method for my VBA program. However, here is probably a stupid follow-on question. Are there any options you would recommend for "speeding up" the opening of a DGN file with the ODF method? For example, is it possible to "suspend" the displaying of the model graphics, or the loading of reference attachments, or something completely different that I haven't thought of?
Thanks,
Matt