Using a HATCH in a DXF block to do a Polygon Fill
Using a HATCH in a DXF block to do a Polygon Fill
(OP)
OK, here's my problem.
I need to do a simple polygon "fill" in a DXF file. The only DXF object that I can find that will take a "fill" is a HATCH. I cannot seem to get the HATCH object to work in my DXF file. I am using closed Polylines with a set of vertex points. These polylines are all in a block structure. I substitute the HATCH command in the place of the Polyline since it has it's own set of vertex points. When I implement the HATCH command I get the following errors:
"Undefined group code 10 for object on line 10520.
Invalid or incomplete DXF input -- drawing discarded."
Group 10 is an obvious requirement of HATCH. this makes me think that perhaps there is a DXF-AC version mismatch.
any help would really be appreciated.
thanks in advance.
jimMont





RE: Using a HATCH in a DXF block to do a Polygon Fill
Make sure when you perform the hatch that you are zoomed out enough to see the entire area you are hatching. Use pic points and, pic inside the boundry area, this should do the trick.
RE: Using a HATCH in a DXF block to do a Polygon Fill
I already tried this and cut-n-paste the hatch section from the DXFOUT DXF file to my DXF and I get the error I mentioned above. an error on the first Group 10 after the HATCH. which is strange to me - because a Group 10 is required in a HATCH object.
jm