Announcements

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Custom slate hatch doesn't look right in AutoCAD Architecture

lee.reierson
Participant

Custom slate hatch doesn't look right in AutoCAD Architecture

lee.reierson
Participant
Participant

Hello,

I'm trying to make a custom slate pattern that we use frequently.  When I hatch an area it doesn't look right, so i explode to try and figure out where it's wrong, then it appears correctly.  Not sure where I went wrong, any help would be appreciated

00, 0,0, 48,48, 8,-24,16
00, 0,8, 48,48, 32,-16
00, 0,16, 48,48, -16,32
00, 0,24, 48,48, 24,-24
00, 0,32, 48,48, 8,-32,8
00, 0,40, 48,48, -8,32,-8
90, 0,0, 48,48, 32,-16
90, 8,0, 48,48, 8,-16,24
90, 16,0, 48,48, -8,16,-24
90, 24,0, 48,48, -16,24,-8
90, 32,0, 48,48, 16,-24,8
90, 40,0, 48,48, -16,32

left: hatch                          right: exploded hatchleft: hatch right: exploded hatch

 

 

 

 

 

 

 

 

 

@lee.reierson for clarity VStudley edited the original subject: Custom Hatch dosn't look right

0 Likes
Reply
Accepted solutions (1)
1,014 Views
10 Replies
Replies (10)

Kent1Cooper
Consultant
Consultant

It works for me, and looks the same after Exploding.  Are you by any chance extremely far from the drawing origin?  That is known to cause certain problems, though I wouldn't expect it to in a simple rectilinear Hatch pattern where you wouldn't get "drift" at large distances [because of rounded decimal values for dashes and gaps in diagonal line sets].

 

The pattern definition is a little bit different, but makes the same resulting "French" pattern as >this<.  I can't say why yours isn't working right for you, but you could try the other one.

Kent Cooper, AIA
0 Likes

lee.reierson
Participant
Participant

Thanks for looking!  Could there be system variables that could be interfering with the hatch?

 

0 Likes

Kent1Cooper
Consultant
Consultant

@lee.reierson wrote:

...  Could there be system variables that could be interfering with the hatch?


 

I doubt it.  But open up Help, and look through the System Variable names starting with HP that are about Hatch Patterns.  [There are more of them in more recent versions than in older versions, so your results may vary.]  I didn't see anything that sounded like it would have that kind of effect.

 

Another thing you might try is to turn off Hardware Acceleration [GRAPHICSCONFIG command].  In some setups having that on causes display peculiarities, though I don't recall this particular effect coming up before.

Kent Cooper, AIA
0 Likes

scot-65
Advisor
Advisor

Because of the simplicity of the pattern (no decimal places) I do not
think the far away origin is the issue.

To further investigate, highlight the hatch and in the properties
window change the scale/spacing (whichever is not grayed out).
If you get an error, then the hatch definition in the file is bad and
the pattern file is not in your support path/pattern in acad.pat file.

Do a search in this form for "GETPAT" and extract the hatch pattern
from the file and compare it to the actual file?

???


Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.


0 Likes

lee.reierson
Participant
Participant

I should have noted before that the origin is in the bottom left corner, not far away.

I tried changing the scale in properties, and I didn't get any kind of an error message.

I'll have to get approval from our IT department and run the GETPAT lisp routine.

 

I appreciate the continued support.

0 Likes

lee.reierson
Participant
Participant

a little more information:

I'm using AutoCAD Architecture 2019.  I tried using this hatch pattern in AutoCAD 2013, and it worked properly.  Is there something about 2019 that causes this hatch to not work?

thanks!

0 Likes

David_W_Koch
Mentor
Mentor

Not certain that the updates would fix this, but do you have both the 2019.0.1 Update for AutoCAD and the 2019.0.1 Update for AutoCAD Architecture installed?  (Those are two separate updates.  The AutoCAD Architecture updates no longer include the AutoCAD updates; you have to install both.)


David Koch
AutoCAD Architecture and Revit User
Blog | LinkedIn
EESignature

dbroad
Mentor
Mentor

Thanks for reporting this.  I can verify that "new behavior" that has existed since at least AutoCAD 2018.  AutoCAD 2017 shows it correctly.  There are technical issues with with the hatch pattern definition though.  Hatch pattern lines that are non-continuous should always end in a negative number, not a positive number.  Your lines 1, 3, 5, 8, 11, and 12 all end in a postive number, which creates an unpredictable pattern.   If you correct the hatch pattern and still have the issues, then it would likely be a bug.  It is strange that an explode would have changed the display.

Architect, Registered NC, VA, SC, & GA.
0 Likes

dbroad
Mentor
Mentor
Accepted solution

As a followup, the way to fix the hatch pattern is to start each pattern line with a postive number and end with a negative one. Each pattern line has a total length of 48".  Instead of using a negative line to start some lines, change the origin of the line.  Multiple positive numbers together lead to more lines drawn.

0, -16,0, 48,48, 24,-24
0, 0,8, 48,48, 32,-16
0, 16,16, 48,48, 32,-16
0, 0,24, 48,48, 24,-24
0, -8,32, 48,48, 16,-32
0, 8,40, 48,48, 32,-16
90, 0,0, 48,48, 32,-16
90, 8,-24, 48,48, 32,-16
90, 16,8, 48,48, 16,-32
90, 24,16, 48,48,24,-24
90, 32,-8, 48,48,24,-24
90, 40,16, 48,48, 32,-16

 

Architect, Registered NC, VA, SC, & GA.

lee.reierson
Participant
Participant

This looks perfect, thanks for all the help!