Can someone please show me how to pass variables in a string. I'm using the following with SendCommand() method but I want the coordinate and the Attribute to be values I collected. Thanks!
string strSend = "-insert ELVTAG \n 0,0 1 45 \n ";
If you followed the advice that Gile offered in another thread regarding using the Editor's RunCommand() method, you wouldn't have this problem because unlike SendCommand(), RunCommand() doesn't require you to convert command input to strings.
The RunCommand() method is the direct equivalent of the LISP (command) function, and like the latter, it accepts numbers, points, selection sets, entity names (ObjectIds in managed code), and so on.