Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I display the selection window in AutoCAD?

Status
Not open for further replies.

jrice174

Civil/Environmental
Nov 8, 2004
129
In AutoCAD, if you are going to select a group of objects to move/erase, an expanding selection window is displayed as you move the cursor from the first picked point to the second point to allow the user to visualize the entities that fall within the selected area. How do I get this expanding window for the user when programming in VBA?
 
Replies continue below

Recommended for you

Hi jrice174,

You'll want to check out the AcadSelectionSet to see how to use it, but in short:

Code:
Sub SelectStuff()
  Dim ss As AcadSelectionSet
  
  ss.SelectOnScreen
  ...
  ..
End Sub

HTH
Todd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor