TheSwamp

Code Red => .NET => Topic started by: BlackBox on January 15, 2013, 05:20:51 PM

Title: SendStringToExecute() & Repeating Last Command
Post by: BlackBox on January 15, 2013, 05:20:51 PM
Spawned by this thread (http://www.theswamp.org/index.php?topic=42158.0), I am relegated to using SendStringToExecute() to invoke an undocumented Civil 3D Command, from an Event handler.

From Object Browser:
Code - C#: [Select]
  1. public void SendStringToExecute(string command, bool activate, bool wrapUpInactiveDoc, bool echoCommand)
  2.     Member of Autodesk.AutoCAD.ApplicationServices.Document
  3.  

... But am seeking a means by which to ignore this Command call (if possible?), so that when one issues a right click, or hits Enter the last Command invoked by the user (not my Event handler) is called.

Is this possible?