title: AutoCad NET Send String to Execute Synchronously
body: <p>In my AutoCad addon I have been using the Document.SendStringToExecute function to execute Lisp commands, manually concatenating the commands into strings. However, I now want to have my addon apply to multiple drawings, which becomes awkward when using the asynchronous command.</p>
  
  <p>I now want to make these commands synchronous. All of them call the sub LispCommand() so I could change the method afterwards.</p>
  
  <pre><code>Sub LispCommand(cmd as String)
  doc.SendStringToExecute(cmd, False, False, True)
  End Sub
  </code></pre>
  
  <p>I have tried P/Invoking acedCmd, however it appears you can only pass an argument array to it, and I want (if possible) to be able to use my existing full string, e.g. "(c:ace_new_wiretype "RED" (list) "")"</p>
  
  <p>Is there any way to send a contatenated string command to AutoCad synchronously?</p>