Open DGN File Read-Only with MDL

Open DGN File Read-Only

In olden days you could do this to open a DGN file read-only:


mgds_modes.dgn_read_only	= TRUE;
mdlSystem_newDesignFile ("file spec");

However, that member of struct Mgds_modes is deprecated in V8i. How do I open a DGN file read-only using MDL?  My goal is to eliminate irritating message boxes that ask if I really want to open this read-only file.  Setting the DgnModelRefP to read-only post-opening is therefore not a solution.

Regards, Jon Summers
LA Solutions

Parents Reply Children