hi,
I am trying to send the below commands to AutoCAD, it says invalid input. Ca anybody correct me.
// Old Method //acNewDoc.SendStringToExecute("\x1B\x1B_.PASTECLIP ", true, false, true); // Replacing with new ed.Command("\x1B\x1B_.PASTECLIP ");
And also
// Old Method //doc.SendStringToExecute("_.COPYCLIP ", true, false, true); // Replacing with new ed.Command("_.COPYCLIP ");
Is there any mistake. The send string to execute works fine. Now i get invlid input.
Solved! Go to Solution.
Solved by _gile. Go to Solution.
I think you have to remove the space at the end of ed.Command("_.COPYCLIP");
ed.Command("_.COPYCLIP");
ed.Command("\x1B\x1B_.PASTECLIP ");
I didnt understand \x1B in here, are you using as escape characters ?
Can't find what you're looking for? Ask the community or share your knowledge.