Author Topic: SendStringToExecute() & Repeating Last Command  (Read 1899 times)

0 Members and 1 Guest are viewing this topic.

BlackBox

  • King Gator
  • Posts: 3770
SendStringToExecute() & Repeating Last Command
« on: January 15, 2013, 05:20:51 PM »
Spawned by this thread, 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?

"How we think determines what we do, and what we do determines what we get."