PGia Posted Saturday at 12:08 AM Posted Saturday at 12:08 AM Hi I’ve run into this problem several times, but I was never able to understand why — until today. Sometimes I need to use the "boundary" command to obtain the perimeter of complex enclosed areas, but occasionally the area of the region returned by the command does not match the expected value. Today, I finally discovered why. In the image, I show an example of this. The thick yellow line is part of the original geometry, while the thinner dark-colored line is the one returned by "boundary". I repeated the command several times, but it always makes the same mistake. Does anyone understand why this happens? Is it possible to solve it somehow? Thanks in advance. Quote
BIGAL Posted Saturday at 01:18 AM Posted Saturday at 01:18 AM No idea what the thick yellow line is ? If its a pline with a width then boundary is correct, it does not recognise pline thickness. I am sure there is ways to make a outline of the plines can then run boundary. If it's a hatch then can get outlines of hatch's then should be able to do a boundary. Quote
hmspe Posted Saturday at 03:14 AM Posted Saturday at 03:14 AM https://lee-mac.com/polyoutline.html or https://lee-mac.com/advpolyoutline.html will outline a pline. https://jtbworld.com/autocad-hatchb-lsp willoutline a hatch. I can't tell what might be required to automate the process without a DWG of a full pline set or hatch set example. Quote
PGia Posted Saturday at 08:14 AM Author Posted Saturday at 08:14 AM I think I didn’t explain myself properly. The idea is to run "boundary" and click inside the largest closed area shown in the image. After checking the result — by zooming into the area indicated by the arrow — you’ll understand what the image in my previous message is referring to. I’ll attach a drawing. Boundary.dwg Quote
hmspe Posted Saturday at 05:39 PM Posted Saturday at 05:39 PM So the problem is that the darker lines should intersect in the top square glyph instead of the next to the top square glyph? Which CAD are you using? When I run BOUNDARY or HATCH here in Bricscad V26 the boundary is always to the upper square glyph, not to the next to the top square glyph as shown in your drawing. What are the parameters you are using for the BOUNDARY command? Do you get the same error if you explode the plines before you run BOUNDARY? Quote
mhupp Posted Saturday at 08:45 PM Posted Saturday at 08:45 PM (edited) Must be an AutoCAD thing works in BricsCAD. you could just join the other 3 polys and get the same effect. Edited Saturday at 08:46 PM by mhupp Quote
PGia Posted yesterday at 12:46 PM Author Posted yesterday at 12:46 PM I’m using AutoCAD 2015. "boundary" is supposed to return a perimeter exactly matching the geometry surrounding the point specified to the command. I run the command using the option to identify boundaries by 'pick' on screen. I haven’t tried exploding the polylines into lines yet. I’ll give it a try, but I suspect the result will be the same. 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.