Tiger Posted January 7, 2010 Posted January 7, 2010 funny....I can't find it in either AutoCAD Help or Express on 2008 - but it does recognize it as a command... Quote
Lee Mac Posted January 7, 2010 Posted January 7, 2010 The link asks for a password/username.. ah, yeah, you would need to be a member of theSwamp. Found the code on here, but not sure if its the latest version... http://www.cadtutor.net/forum/showpost.php?p=148120&postcount=6 Quote
lpseifert Posted January 7, 2010 Posted January 7, 2010 The actual command is Boundary, bpoly is an alias. Quote
ReMark Posted January 7, 2010 Posted January 7, 2010 Well as it turns out the OP wasn't talking about Bpoly either. Go figure. Don't you just love these vague questions? Quote
Lee Mac Posted January 7, 2010 Posted January 7, 2010 Well as it turns out the OP wasn't talking about Bpoly either. Go figure. Don't you just love these vague questions? I feel the posted drawing was a good explanation of his/her goal. Quote
Tiger Posted January 7, 2010 Posted January 7, 2010 I feel the posted drawing was a good explanation of his/her goal. If you are right, then the lisp you posted should work. Quote
M76 Posted January 7, 2010 Author Posted January 7, 2010 I've found the solution. 1: run a region command on all drawing objects (lines/polylines) 2: take the union of the created regions The result will be one single region object which is the peremiter of the drawing even if it consists of multiple subparts. Quote
lpseifert Posted January 7, 2010 Posted January 7, 2010 Civil 3D (maybe other verticals?) has a command _AecLineworkShrinkwrap that does what he wants to accomplish... real similar to ECO. Quote
M76 Posted January 7, 2010 Author Posted January 7, 2010 MAP 3D doesn't have the shrinkwrap command. I've tried ECO but it didn't do anything, possible it only works on closed objects? Quote
ReMark Posted January 7, 2010 Posted January 7, 2010 Lee: get your glasses. Compared to the examples over at the Swamp (see reference to eco 1.1.lsp) the posted image doesn't reflect nearly the same thing. You have been out too late partying. LOL Quote
M76 Posted January 7, 2010 Author Posted January 7, 2010 Now that I have the solution I want to do it in a script, because its needs to be done on about 4000 dwg files. The problem that I have, is I can't get autocad to close a drawing file without saving. I've tried: (vla-close (vla-get-activedocument (vlax-get-acad-object))) result: error drawing is active simple close command: it overwrites the drawing without question (command "_VBASTMT" "ThisDrawing.Close") it overwrites the drawing without question (command "_VBASTMT" "ThisDrawing.Close, false") it doesn't overwrite the drawing but still saves it as 0.dwg Quote
Lee Mac Posted January 7, 2010 Posted January 7, 2010 Lee: get your glasses. Compared to the examples over at the Swamp (see reference to eco 1.1.lsp) the posted image doesn't reflect nearly the same thing. You have been out too late partying. LOL I'm not sure that I agree with that - the image depicts the retrieval of the outlying perimeter, and that is the purpose of ECO. Quote
ReMark Posted January 7, 2010 Posted January 7, 2010 Then I misunderstood its purpose as demonstrated. I thought I saw an animation that depicted various shapes overlapping one another and the user picks a point inside and the program trims the shapes out to leave a boundary. My mistake. Quote
Lee Mac Posted January 7, 2010 Posted January 7, 2010 The ECO program will just retrieve the continuous polyline that bounds the selected shapes (assuming there is one), whether the original shapes are deleted is left to the user. 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.