我在这里有一个帖子
帮助屏幕一直是正确的; 这是我的大脑不对
,好吧,好吧!
在 acadstartup 中没有 sendcommand
所以,在我的 Acadstartup 宏中,
我有:
- Sub Acadstartup()
- Set AutoCAD = ThisDrawing.Application
- Dim Preferences As AcadPreferences
- Dim CurrMenuFile As String
- Set Preferences = ThisDrawing.Application.Preferences
- CurrMenuFile = Preferences.Files.MenuFile
- Select Case CurrMenuFile
- Case Is = "Land"
- ThisDrawing.SetVariable "wscurrent", "Land Destop Complete"
- Case Else
- ThisDrawing.SetVariable "wscurrent", "Map Classic"
- End Select
- End Sub
一切似乎都运行良好
感谢您的线索 Matt!
马克 |