rock1 Posted December 5, 2011 Share Posted December 5, 2011 I want to use BO command for vertically long and thin objects. When i zoom in and the object is not completely visible in the screen and i click inside the object , AutoCAD says , valid hatch boundary not found. Is there a way to join polylines of such objects using BO command. I have to eventually resort to Pedit command which is bit tedious to do. Quote Link to comment Share on other sites More sharing options...
rkent Posted December 5, 2011 Share Posted December 5, 2011 Pedit can be very fast with this macro I ran across. ^C^C_peditaccept;1;_select;_auto;\_Pedit;_m;_p;;_j;0.01;; Add that to your cui and a few picks and you are ready to move on. Quote Link to comment Share on other sites More sharing options...
rock1 Posted December 6, 2011 Author Share Posted December 6, 2011 that's uber geeky advanced stuff mano:). please upload screenshots/video to exactly explain how to do this Quote Link to comment Share on other sites More sharing options...
fuccaro Posted December 6, 2011 Share Posted December 6, 2011 I used to use some lisp expressions for similar problems while hatching. First I zoom in close enough and enter in the command line (setq a (getpoint)) . When AutoCAD prompts me I click inside the boundary. Doing that I picked a point and I named it A. Next I zoom out to see the shape on the screen and I start the Hatch (in your case: BOundary) command. When prompted for a point, I answer in the command line with !a Quote Link to comment Share on other sites More sharing options...
rkent Posted December 6, 2011 Share Posted December 6, 2011 (edited) that's uber geeky advanced stuff mano:). please upload screenshots/video to exactly explain how to do this Start CUI, it may open collapsed so be sure to hit the right pointing arrow at the lower right in the circle. Go to the lower left section, in the upper right quadrant you will see two stars, one with a magnifying glass for search, another one with an asterisk, pick that one to make a new command. This is for 2012, the new command may be different for your release. It will be named Command1. Pick on that, then look to the lower right of the CUI to see the details of that command. The first line is the name so highlight that and type over it the name you want, like PEDIT MACRO, now look below to the macro line it will show ^C^C so over write that with the line of macro code in my post. Now move to the upper right for a button image, find one that will work for now, you can add one later. Pick on that one and it will be assigned to your new command. Now move to the upper left section. You can open Toolbars section and go down to one of the tool bars you normally have on your screen. Lets assume the modify toolbar. Expand that (pick on the + sign), now go back to the lower left, find your new command and pick on it, hold the mouse button down and drag the command up into the modify section of the toolbar. Pick OK to save and close the CUI. Now go to the Modify toolbar and look for the icon you added, pick on that to start the macro, pick all of your plines, hit enter. Edited December 6, 2011 by rkent added image Quote Link to comment Share on other sites More sharing options...
rock1 Posted December 7, 2011 Author Share Posted December 7, 2011 :thumbsup:Whoa!!! Awesome man brilliant ..!! where did you learn this codey lang? Quote Link to comment Share on other sites More sharing options...
rkent Posted December 7, 2011 Share Posted December 7, 2011 I am pretty much an amateur at the "codey lang" but I learn bits on forums like this one and I buy books and ebooks to learn from, and read the help file in AutoCAD. Quote Link to comment Share on other sites More sharing options...
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.