nicnicman Posted October 6, 2009 Share Posted October 6, 2009 Is there a background mask option for objects such as a block or polygon? I would like to insert windows and doors into blueprints without having to trim the wall lines after. Thanks for any suggestions. Quote Link to comment Share on other sites More sharing options...
ScribbleJ Posted October 6, 2009 Share Posted October 6, 2009 Yeah it would be the 'Wipeout' command. Give it a shot. Quote Link to comment Share on other sites More sharing options...
nicnicman Posted October 6, 2009 Author Share Posted October 6, 2009 That seems to get the job done but it is still a little tedious. Wouldn't I have to draw the wipeout block to match the window or door block? I was hoping for something you could apply directly to a block like the background mask property for text. Although this option definitely seems better than trimming the lines manually afterward. Thanks for the suggestion. Quote Link to comment Share on other sites More sharing options...
ScribbleJ Posted October 6, 2009 Share Posted October 6, 2009 I wished I could tell you what you want to hear but that is the only option you have. I have actually for hoped for something simpler myself doing similar task. Quote Link to comment Share on other sites More sharing options...
nicnicman Posted October 6, 2009 Author Share Posted October 6, 2009 Maybe this'll be added in future versions of autocad. Anyway thanks again. Quote Link to comment Share on other sites More sharing options...
alanjt Posted October 7, 2009 Share Posted October 7, 2009 Interesting idea. Actually, would be pretty easy if you have shrinkwrap.... (defun c:TEST (/ #SS #Temp #Entlast) (and (setq #SS (ssget)) (setq #Temp (entlast)) (vl-cmdf "_.aeclineworkshrinkwrap" #SS "") (not (equal #Temp (setq #Entlast (entlast)))) (vl-cmdf "_.wipeout" "_polyline" #Entlast "_yes") ) ;_ and (princ) ) ;_ defun Quote Link to comment Share on other sites More sharing options...
alanjt Posted October 7, 2009 Share Posted October 7, 2009 It's too many variables to worry with, but you can easily accomplish this by: 1. Drawing a rectangle around the objects. 2. Execute BPOLY and pick a point inside the newly drawn rectangle, but outside of objects. A new polyline will be drawn around the rectangle and another will be drawn around the objects. 3. Convert the polyline around objects to a wipeout (execute wipeout, specify polyline, select and say yes to delete). Wa-Lah a wipeout created. Quote Link to comment Share on other sites More sharing options...
Krztoff Posted October 7, 2009 Share Posted October 7, 2009 You can use a white solid hatch as the background of the block? Quote Link to comment Share on other sites More sharing options...
ReMark Posted October 7, 2009 Share Posted October 7, 2009 Maybe WIPE.LSP at this website would work? http://www.turvill.com/t2/free_stuff/ It's the last LISP routine listed. Quote Link to comment Share on other sites More sharing options...
Doove Posted October 7, 2009 Share Posted October 7, 2009 It's too many variables to worry with, but you can easily accomplish this by:1. Drawing a rectangle around the objects. 2. Execute BPOLY and pick a point inside the newly drawn rectangle, but outside of objects. A new polyline will be drawn around the rectangle and another will be drawn around the objects. 3. Convert the polyline around objects to a wipeout (execute wipeout, specify polyline, select and say yes to delete). Wa-Lah a wipeout created. Doesn't BPOLY create polylines with arcs? WIPEOUT will only work with straight line segments. I use WIPEOUTs a lot to save trimming etc. I put them on their own layer and this layer will need to be on, unfrozen and set to plot, use 32 side polygons to approximate any curves. Add them to blocks and use visibility states to turn 'mask' on or off. To trun off display of frames for plotting: WIPEOUT -> Frames controls display of (guess what!) the wipeout frames, unfortunately there is no "display but don't plot" option like IMAGEFRAME = 2. Something I would dearly love. I draw a lot of pipe and have dynamic streching pipe blocks with wipeouts underneath in the block. Wipeouts can be controlled by dynamic functions and together with using draworder a lot this saves loads of time trimming and extending as the design changes. Quote Link to comment Share on other sites More sharing options...
alanjt Posted October 7, 2009 Share Posted October 7, 2009 I didn't say it was perfect. I was just trying to help. Doesn't BPOLY create polylines with arcs? WIPEOUT will only work with straight line segments. I use WIPEOUTs a lot to save trimming etc. I put them on their own layer and this layer will need to be on, unfrozen and set to plot, use 32 side polygons to approximate any curves. Add them to blocks and use visibility states to turn 'mask' on or off. To trun off display of frames for plotting: WIPEOUT -> Frames controls display of (guess what!) the wipeout frames, unfortunately there is no "display but don't plot" option like IMAGEFRAME = 2. Something I would dearly love. I draw a lot of pipe and have dynamic streching pipe blocks with wipeouts underneath in the block. Wipeouts can be controlled by dynamic functions and together with using draworder a lot this saves loads of time trimming and extending as the design changes. Quote Link to comment Share on other sites More sharing options...
Doove Posted October 8, 2009 Share Posted October 8, 2009 sorry alanjt, I wasn't having a poke, I get a bit defensive about my wipeout usage as it isn't universally popular amongst my colleagues! As is my obsession with dynamic blocks and paperspace dimensions... Quote Link to comment Share on other sites More sharing options...
alanjt Posted October 8, 2009 Share Posted October 8, 2009 sorry alanjt, I wasn't having a poke, I get a bit defensive about my wipeout usage as it isn't universally popular amongst my colleagues! As is my obsession with dynamic blocks and paperspace dimensions... Not a big deal. I can understand your colleagues' dislike for them since they look like crap if you plot to PDF. You could use a piece of solid hatch with true color 0,0,0. Quote Link to comment Share on other sites More sharing options...
Doove Posted October 9, 2009 Share Posted October 9, 2009 Not a big deal.I can understand your colleagues' dislike for them since they look like crap if you plot to PDF. You could use a piece of solid hatch with true color 0,0,0. One of my colleagues does suffer from the 'black filled wipeout - pdf' problem. Actually your suggestion of solid hatch is a lot better than a wipeout; you avoid the 'no arcs' problem plus you can place the hatch boundary on a seperate layer and turn it to non plotting. Nice one, I will try that. Have you ever used the trace command? I have been wondering if anyone uses it and if so what for? Quote Link to comment Share on other sites More sharing options...
alanjt Posted October 9, 2009 Share Posted October 9, 2009 One of my colleagues does suffer from the 'black filled wipeout - pdf' problem. Actually your suggestion of solid hatch is a lot better than a wipeout; you avoid the 'no arcs' problem plus you can place the hatch boundary on a seperate layer and turn it to non plotting. Nice one, I will try that. Have you ever used the trace command? I have been wondering if anyone uses it and if so what for? I never thought of it until I exploded a C3D label. I've only seen trace used once - 24" Stop Bar - but I could never figure out why that was a better option than just using a polyline with a set width Quote Link to comment Share on other sites More sharing options...
Jerry200 Posted March 3, 2010 Share Posted March 3, 2010 If you guys are still around, could you post the steps you use in more detail. I have an object with a hatch on a separate layer under the object (draworder) with the hatch layer set to not print. Visually, the object masks the line drawn across it. However, the line prints out through the object as if there is no mask! (ACAD2010) Quote Link to comment Share on other sites More sharing options...
alanjt Posted March 3, 2010 Share Posted March 3, 2010 If you guys are still around, could you post the steps you use in more detail. I have an object with a hatch on a separate layer under the object (draworder) with the hatch layer set to not print. Visually, the object masks the line drawn across it. However, the line prints out through the object as if there is no mask! (ACAD2010) It's not going to cover anything because you have it set to a non-plottable layer. Quote Link to comment Share on other sites More sharing options...
Krztoff Posted March 3, 2010 Share Posted March 3, 2010 If you guys are still around, could you post the steps you use in more detail. I have an object with a hatch on a separate layer under the object (draworder) with the hatch layer set to not print. Visually, the object masks the line drawn across it. However, the line prints out through the object as if there is no mask! (ACAD2010) You don't need to set the hatch to a no-print layer, you simply make it really dense by adjusting the scale, and once it is so dense that you can not see through it, set the hatch color to white, and if you print on white paper, you will not see anything, because white color can't be printed. Quote Link to comment Share on other sites More sharing options...
Jerry200 Posted March 3, 2010 Share Posted March 3, 2010 Thanks guys, that helps. I initially was using draworder in the block only, but then I realized that I also needed to use it on the block & lines after inserting the block into a drawing. Now, if I can just get it so that the block is always on top - any additional lines (last drawn) still display/print unless I send them to the back with draworder. Seems that I've heard that one before. I suspect that will always be the case. (I used 'solid' for the hatch) Quote Link to comment Share on other sites More sharing options...
Krztoff Posted March 3, 2010 Share Posted March 3, 2010 Good to hear! A solid hatch is even better! I was not sure weather 2000Lt had solid hatches I always try to add a solid background to my blocks when I make them, if I don't need it later, then it is always easy to remove it afterwards. I like it better when I can't see through them. 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.