How do you pause VBA execution for user mouse click?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
So I've developed a plugin that allows people to pull blocks from a menu. It works quite well aside from the fact that I've gotten feedback that the blocks are going to be disproportionate.
They are disproportionate because when you click on a menu item, the block is loaded onto the mouse cursor, allowing the user to click on anywhere to insert the block. However, AutoCAD then asks for X, Y factor and while I can tell them to press 1 enter, 1 enter to get the proper scaling, it is much better if I can automate this to make it seamless.
I programmed it like this to allow people at my workplace do their own thing because they know how to use AutoCAD, however people outside of my workplace may find the distortion strange. I have also tried to edit Block Definitions 'Scale Uniformly' but no matter what, when I pull it down from the menu item, it scales disproportionately.
Currently what I am doing:
[code]
ThisDrawing.SendCommand ("-insert" & vbCr & blockPath & vbCr)
[/code]
What I need it to do:
[code]
ThisDrawing.SendCommand ("-insert" & vbCr & blockPath & vbCr & *pause* & vbcr & "0 ")
[/code]
If there needs to be anymore clarity, I want something similar to the backslash '\' in lisp that waits for user input.