Browse By Tags

  • mdlScan_xxx using C++ API?

    I'm needing to search for certain element types in the active drawing. I see the sample code for cell libraries that uses the mdlScan_xxx routines. But I can't find an equivalent in the C++ API. Is there something newer / better / shinier than mdlScan_xxx…
  • Change the design file from another thread (C++, V8i)

    I'm running a TCP server that communicates with another program in a second thread (boost). I'm trying to open a new design file from that thread by using the next command but it fails with an access violation. Opening files works from the main thread…
  • Re: error C3861 : 'DrawLineString3d': Identifier not found.

    C++ Namespaces Unknown said: error C3861 : 'DrawLineString3d': Identifier not found. Examine the MicroStationAPI documentation carefully. Note that DrawLineString3d lives in namespace Bentley::Ustn::IDrawGeom . To use an object in a namespace…
  • Re: Trouble Compiling MDL to V8i

    C++ does not require you to use Visual Studio Marcos: I will keep using the original MicroStation tools for years to come, apart of Visual Studio ... For many reasons it's worthwhile moving to C++ for MicroStation application development…
  • C++ Precompiled Headers

    C++ Precompiled Headers The notes in MicroStationAPI.h include the following suggestion: If you have more than one source file linked into a single .dll, you should definitely use precompiled header files. How do we tell C++ to use…