Editor.Command equivalent for pre-2015?

mhillis
Advocate
Advocate

Editor.Command equivalent for pre-2015?

mhillis
Advocate
Advocate

Hello all,

 

Quick question - is there an equivalent function to Editor.Command in pre-2015 version of AutoCAD?  The routine is nifty and I love it, but unfortunately, being restricted to 2015+ has its own issues.

 

I've tried using Document.SendStringToExecute for the particular application I'm needing it for; however, that does not work since I'm needing to do something in the middle of a routine.

 

Anyone have any suggestions?

 

Thanks! 

0 Likes
Reply
Accepted solutions (1)
426 Views
2 Replies
Replies (2)

_gile
Mentor
Mentor
Accepted solution

Hi,

 

You can use Tony "DiningPhilosopher" Tanzillo's wrapper for the non-public RunCommand() method (second reply of this thread).



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

mhillis
Advocate
Advocate

Gile,

 

That was it, on the nose I might add.  Thank you! 

0 Likes