Posts

Showing posts with the label current

Showing Current Selection in a Modeless Form

Image
Showing Current Selection in a Modeless Form There is a question post in the AutoCAD .NET discussion forum here. I happened to have a similar requirement in one of my recent development projects. So, instead of post a reply in the discussion forum there, I though it would be easier to post a relatively simple and run-able project for the benefit of all readers. The project is fairly easy and is comprised of 3 classes. Class CurrentSelectionWatcher : using  System; using  Autodesk.AutoCAD.ApplicationServices; using  Autodesk.AutoCAD.EditorInput; using   CadApp  = Autodesk.AutoCAD.ApplicationServices. Application ; namespace  ShowSelectionChange {      public   class   CurrentSelectionWatcher     {          private   frmSelection  _view =  null ;          private   bool  _show =  false ...