LastUsedDwg Example
Sub Example_LastUsedDwg()
' This example returns the LastUsedDwg setting.
Dim prefUser As AeccPreferencesUser
Set prefUser = AeccApplication.Preferences.User
MsgBox "The current value for LastUsedDrawing is: " & prefUser.LastUsedDwg, _
vbInformation, "LastUsedDwg Example"
End Sub