why does this code work
<CommandMethod("TestSimple")> _
Public Shared Sub TestSimple()
Dim ed As Editor = Application.DocumentManager.MdiActiveDocument.Editor
'call Editor.Command to send command directly
ed.Command("Line", "0,0,0", "10,10,0", "20,50,0", "")
End Sub
and this won't, getting einvalidinput
<CommandMethod("TestSimple2")> _
Public Shared Sub TestSimple2()
Dim ed As Editor = Application.DocumentManager.MdiActiveDocument.Editor
'call Editor.Command to send command directly
Dim savepath As String = "c:\temp\output.zip"
ed.Command("-etransmit", "c", savepath)
End Sub