Valued Contributor
Posts: 51
Registered: ‎10-31-2005
Message 1 of 1 (50 Views)

Forcing selection during PromptingForEntity

50 Views, 0 Replies
11-21-2005 09:02 AM
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?

Janko Jerinic
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.