Hatch issues
I have a lisp routine that allows me to quickly hatch buildings and other structures and I am having trouble getting it work. I have sent the drawing to other Bricscad users and they have no trouble with it.
To create the hatch I am promted to draw a polyline around the building and then it asks me what side I want the hatch on, I select the side and it then offsets the line and then is supposed to hatch inbetween the two lines (the one I drew and the offfset line). When I do it now to puts the hatch on the otherside of the line and not between the two lines.
I am wondering if there is a value I have to set to make the hatch go inside the lines and not on the outside.
Sorry if this is all a bit confusing, I am just hoping there is someone out there who may understand my dilemna and be able to help me out. Everything else works great so it is probably not due to any setup problems.
Comments
-
I'm just a newbie, but maybe it has got something to do with HPNAME ? (I saw it on http://docs.autodesk.com/ACD/2010/ENU/AutoCAD%202010%20User%20Documentation/index.html?url=WS1a9193826455f5ffa23ce210c4a30acaf-4af2.htm,topicNumber=d0e248064 )
0 -
The only thing I can think of is the HPSTYLE variable that governs how nested islands are handled.
I think I'll have to see the code to be of any help.
0 -
When you say:
> ... the otherside of the line ...
and:
> ... on the outside.Do you mean that the hatch is OUTSIDE the SECOND polyline, or INSIDE the FIRST polyline?
If you mean OUTSIDE the SECOND polyline:
Try picking the point closer to the first polyline. If the offset distance is X the point may have to be picked at a distance closer than X.But without the code this is of course guesswork.
0 -
@Yaacov: That was my first guess as well. But since this variable isn't stored that seems unlikely.
0 -
I have a lisp which draws an array of hor & vert lines within a pre-drawn polygon.
It is supposed to go bottom left to top right, but sometimes it places the arrayed lines left and down.
When I try to do the same manually, it will also head the wrong way.
Cut and paste the polygon to another file and it works fine.
I don't have any lisps to do hatching, but this sounds like a similar problem.
Sometimes I open a file and find hatching which was correct has now swapped to filling the islands and leaving the previously hatched areas empty.
You could try cutting and pasting everything into a fresh file.
0 -
Many thanks for your replies, it is a bit hard to describe my problem as I use an add on package called Survacad (Land Surveyors). I have sent the drawing to someone with the same software and he has no trouble hatching. I can do all other hatching no problems, so I will keep trying and if worse comes to worse I will do all the hatching manually.
Once again many thanks.
0 -
Have you tried intentionally clicking on the wrong side? I.e., draw the polyline and then click outside it instead of inside it?
0 -
Maybe the direction of the polyline influences the outcome. Try switching from CW to CCW or vice-versa.
0 -
Make sure the layer that the polyline is on is turned on before you start the command.
I think in surva cad its '0' or '00'. also sometimes it may be setting the hatch to associative by default, meaning that once the polyline is automatically removed, the hatch has no boundary. try do a manual hatch without using the survacad building command, then make sure associative in the bottom right corner is unticked. then delete the manual hatch you created (Don't undo or this may change whether or not associative is used), then try again in survacad.
Let me know if it works!
0