In a recent foray into RealDWG issues, I ended up with a session that was not set properly for the version of DWG opened. I needed a file to be opened with RealDWG 2012 but MicroStation was still in RealDWG 2013. There is a variable that can be used to set the RealDWG version, but to change versions you must set the variable and restart MicroStation. Since querying the variable will only let you know its value, not necessarily what version of RealDWG is actually in use, I needed more.
In the Interoperability forum, I found out that the Version key-in will report, at the end of the response string, the version of RealDWG in use. Sadly, the Application.Version property does not return this additional information. So I think my only option is to send the Version key-in and then to use VBA to read the message center message.
So, before I dive in, I thought I ask if anyone has already written some code that does this that they are willing to share? TIA.