Admin
Administrator
652 Posts |
Posted - January 08 2007 : 8:13:27 PM
|
Hi mbicm,
Here is something I cooked up.
Download Attachment: StopOnBlock.zip 22.47 KB
Copy/Extract the StopOnBlock.dvb file into your /LISP/ directory and then cut/paste this script into your Hurricane User Script window. (Don't forget to save it once you are done)
quote: ;START OF SCRIPT -VBALOAD "$HUR_PATH$/LISP/StopOnBlock.dvb" -VBARUN STOPONBLOCK BLOCKNAME <----Edit this line to be your blockname VBAUNLOAD "$HUR_PATH$/LISP/StopOnBlock.dvb" ;------------- ZOOM E ;END OF SCRIPT
Select the files you want this to run on, and run the batch with script above.
In the event it finds the block you have specified, it will stop with a DIALOG box. At this point you must hit OK on the dialog box and then hit ESC on your keyboard to stop the script in it's tracks. I've messed about trying to get the VBA to stop the batch script automatically, to no avail. (If someone knows how to do this, please let me know).
If you have any questions, don't hesitate to write!
Regards, Bill |
Hurricane for AutoCAD http://www.74mph.com FAQ at http://www.74mph.com/faq/faq.html Tutorials at http://www.74mph.com/tutorials.html |
|
|