Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I'm trying to run a DIMLAYER command on AutoCAD. After I put a layer name it does not execute.
I run this line:
Application.DocumentManager.MdiActiveDocument.SendStringToExecute("._DIMLAYER 0 ", True, False, False)
but I end up with this:
Also, I tried to use Editor.command method, bet all i get is einvalidInput error.
Application.DocumentManager.MdiActiveDocument.Editor.Command("DIMLAYER", "0", "")
Solved! Go to Solution.