×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Using a HATCH in a DXF block to do a Polygon Fill

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

you might try saving the file as dwg file, perform the hatch and, then use dxfout to recreate the dxf file.
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

(OP)
thanks.

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources