pefi Posted January 16, 2014 Posted January 16, 2014 (edited) I can't find how to recreate boundary of hatch using command line only. I can do it from hatchedit, but it requires hitting "recreate boundary" button in the hatch edit window. Any advice what command can be used to make hatchedit command line only? I found it! It's HATCHGENERATEBOUNDARY I can't make command alias HGB to work as HATCHGENERATEBOUNDARY Express Tools gives warning that it's a new command, I can add it, but it doesn't work. lisp (command "HATCHGENERATEBOUNDARY") works fine Edited January 16, 2014 by pefi Found it!!! And more problems.. Quote
MSasu Posted January 16, 2014 Posted January 16, 2014 There is also BOUNDARY built-in command. To associate shortcuts to commands, please check the acad.pgp file (in user's Support folder). (startapp "NOTEPAD" (findfile "acad.pgp")) Quote
pefi Posted January 16, 2014 Author Posted January 16, 2014 Thanks! I got that HGB shortcurt working - looks like it was problem with reloading acad.pgp - autocad didn't do it, but it was claiming "Session has been updated". P.S. I'll be fan of startapp and findfile from now on (both are new for me) :-) Quote
MSasu Posted January 16, 2014 Posted January 16, 2014 That's true, after you make changes in acad.pgp file you need to re-initiate it either by restarting AutoCAD or by calling the REINIT command. Quote
pefi Posted January 16, 2014 Author Posted January 16, 2014 I'm using Express Tools aliasedit to make acad.pgp changes, so that shouldn't be required. I just made a test: I added alias "bbb" for "line" and it works without "reinit". Anyway, thanks and next time I'll try "reinit" as well. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.