I am wanting to iterate through all the models in my active design file in C++. Note that I am using V8i.
The "MDL Function Reference" says I need a DgnFileP in order to create this iterator. Is there a simple way to obtain a pointer to this file object?
Something like
DgnModelRefP model = mdlModelRef_getActive();
But for the active design file.
Thank you for your help,
Unknown said:I am wanting to iterate through all the models in my active design file in C++. Note that I am using V8i
#include <msdgnmodelref.fdf> DgnFileObjP oDgnFile = mdlModelRef_getDgnFile (mdlModelRef_getActive ());
However, when you want to enumerate the models contained in a DGN file, you should take another approach. Read about that on our web site.
Regards, Jon Summers LA Solutions
Answer Verified By: HDR_Coder