Getting a Selection Set

This is a code block from my award winning BlockUtility static class.. But you would want to create the selectionFilter according to your own requirements – hence I have not used a static class for getting the selection filter. Apologies for the lack of readability in my code. The blog just kills the formatting.

What do we want to do?

  1. We want to prompt the user to select some objects on the screen.
  2. And we want to select only certain objects using a selection filter and
  3. we want to place all the filtered objects in a selection set.

 

 

And Viola! You now have your selection set which you can use to further read and manipulate Autocad objects!

 


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *