Announcements

Starting in December, we will archive content from the community that is 10 years and older. This FAQ provides more information.

.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Editor.Command equivalent for pre-2015?

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
mhillis
409 Views, 2 Replies

Editor.Command equivalent for pre-2015?

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! 

2 REPLIES 2
Message 2 of 3
_gile
in reply to: mhillis

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

Message 3 of 3
mhillis
in reply to: _gile

Gile,

 

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report