Message 1 of 1
Forcing selection during PromptingForEntity
Not applicable
11-21-2005
09:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
How can you trick AutoCAD and programmatically "select" an entity while waiting for the user input (PromptingForEntity or some other event of this type) so that PromptedForEntity (or analogous) event is fired? How do you simulate a selection when the user is prompted to select something?
I've found a way to trigger the multiline edit operation without using SendStringToExecute and executing MLEDIT command,
but rather performing a specific operation over multilines (Open Tee, Closed Cross etc.) but it still generates a prompt for the user to select 1st and 2nd multiline, and I need to sort of override this and pick the multilines internally. Any ideas?
Thanks,
Janko Jerinic
I've found a way to trigger the multiline edit operation without using SendStringToExecute and executing MLEDIT command,
but rather performing a specific operation over multilines (Open Tee, Closed Cross etc.) but it still generates a prompt for the user to select 1st and 2nd multiline, and I need to sort of override this and pick the multilines internally. Any ideas?
Thanks,
Janko Jerinic