• RE: [CONNECT C++] How do you get an MSWindowP to the main CONNECT application window?

    Jon Summers
    Jon Summers
    C++ Wrapper for mdlNativeWindow_api In the absence of a MicroStationAPI NativeWindow class, you can write your own wrapper class to help in this situation. Put the initialiser in your class construction, then add methods that wrap the MDL functions…
    • over 6 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • RAII applied to MDL memory allocation/deallocation

    Jon Summers
    Jon Summers
    Resource Acquisition Is Initialisation ( RAII ) is a C++ idiom. You'll find it referenced on many web sites. Here's an example applied to MicroStation using the MDL and the mdlModelRefIterator_api . This API lets you iterate a DGN model's attachments…
    • over 11 years ago
    • MicroStation Programming
    • MicroStation Programming Blog
  • Re: Usage of mdlMaterial_functions

    Jon Summers
    Jon Summers
    Saxon: After setting ... Pass zero ... No need to call mdlLinkage_extractUsingDescr() or mdlLinkage_deleteUsingDescr(). Call mdlElmdscr_rewrite() ... A call to mdlMaterial_cleanup() ... The material library is tortuous…
    • over 13 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8i Programming Forum