VBA - Return selection to user for further manipulation

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I've tried hard to figure this out but to no avail. When you run an AutoCAD command that works on a selection (like `move`, `erase`, `mirror`, etc), it usually prompts you to make a selection. But if you have already selected some entities, it simply starts the `move`/`erase`/`mirror` operation.
I want to make a macro that would loop through every entity in `ModelSpace` and select some of them that fulfill a certain criteria (like maybe all lines that are horizontal or vertical). At this point I want the macro to end with the objects selected by the macro available for use by a regular AutoCAD command that the user can then run.
For instance:
1. The user runs the macro
2. Macro selects all lines having same X or Y coordinates and exits
3. The user then uses the PROPERTIES window to change some of their properties, or she could enter `E` to erase these lines, or `MI` to mirror them, etc.
Is this even possible? Cuz I have never come across a similar issue being brought up by ppl in the acad community,