chulse Posted July 13, 2011 Posted July 13, 2011 How can it be that a hatch object has no area property? Using the AREA command, it says the object has no area. None shown in properties. None listed using vlisp (vla-get-Area Obj). I have seen this before, but could never figure out why or how it happens. Any thoughts? Quote
rkmcswain Posted July 13, 2011 Posted July 13, 2011 Does the hatch boundary self intersect? IIRC - this will cause the area property to be null. Quote
chulse Posted July 13, 2011 Author Posted July 13, 2011 Not sure about self-intersecting. Here it is. bad_hatch.dwgFetching info... Quote
Tyke Posted July 13, 2011 Posted July 13, 2011 There's a loop in the outer boundary halfway down the right hand side. If you move your hatch and the cyan line crossing the road and then get rid of the loop in the boundary you can create the hatch again and it does have an area this time. I'm not sure if it was the loop or the cyan line that was causing the problem. Quote
chulse Posted July 13, 2011 Author Posted July 13, 2011 well I'll be... so there's no way to force something like this, just fix it manually? Quote
Tyke Posted July 13, 2011 Posted July 13, 2011 rkmcswain gave the clue and I just followed it up. I didn't know about the problem caused when the boundary intersects itself, thanks for that rkms Quote
rkmcswain Posted July 13, 2011 Posted July 13, 2011 Tyke said: rkmcswain gave the clue and I just followed it up. I didn't know about the problem caused when the boundary intersects itself, thanks for that rkms I think I ran across that one time - something like this: That could be two separate hatches, or in this case a single object was selected, which is the polyline that crosses itself. An exaggerated example of course.... Quote
chulse Posted July 14, 2011 Author Posted July 14, 2011 Thanks guys, makes sense now. aside from fixing this sort of thing manually, there is no way to resolve it (programmatically I mean)? 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.