Quantcast
Channel: Product Communities
Viewing all articles
Browse latest Browse all 105279

Forum Post: Re: Is it possible to query which Real DWG is loaded during a session?

$
0
0

FYI

I put together this quick VBA to use this information:

Sub checkRealDWGVersion()

   Dim RealDWGVersion As String

   Dim msgCenterResponseArray As Variant

   CadInputQueue.SendCommand ("Version")

   msgCenterResponseArray = Split(MicroStationDGN.MessageCenter.GetMessage(0).Message, ",", 2)

   RealDWGVersion = msgCenterResponseArray(1)

   MsgBox "MicroStation is " & RealDWGVersion, vbInformation + vbOKOnly, "RealDWG Version"

End Sub

I have bigger plans, but this is the start.


Viewing all articles
Browse latest Browse all 105279

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>