HATCH PROBLEM IN 2017

HATCH PROBLEM IN 2017

Draftdoug5610
Contributor Contributor
2,449 Views
9 Replies
Message 1 of 10

HATCH PROBLEM IN 2017

Draftdoug5610
Contributor
Contributor

 Recently a custom stone hatch that I got from a vender ,stopped working right.  I have been using it for years.  In a small area it shows up fine. In a larger area it doesn't show up.  If i try to grab a grip on a small one and stretch it larger it disapears. The pat file is in the correct folder. I have been using this hatch previous in the year.  Did a update screw this up?  The standard hatches all work fine by the way.

0 Likes
Accepted solutions (1)
2,450 Views
9 Replies
Replies (9)
Message 2 of 10

David_W_Koch
Mentor
Mentor

Check your setting for the HPMAXLINES system variable.  Stone patterns can be complex, with a lot of small line segments.  Once your hatch has more lines than the value set in HPMAXLINES, the hatch will not be generated.  Valid values are between 100 to 10,000,000, inclusive.

 

Read more about this setting here.


David Koch
AutoCAD Architecture and Revit User
Blog | LinkedIn
EESignature

0 Likes
Message 3 of 10

Draftdoug5610
Contributor
Contributor
That didn't do anything. I changed it to 10,000,000 from 40,000. Nothing


Douglas Hogan

[abp-logo-1]
http://www.abetterplaninc.com
A Better Plan Inc.
P.O. Box 60455
Palm Bay, FL 32906-0455
O: 321.255.6475
C: 321.258.0443
0 Likes
Message 4 of 10

David_W_Koch
Mentor
Mentor
Accepted solution

By nothing, you mean that if you take a "small" hatch that was working when HPMAXLINES was set to 40000 and made it slightly larger, it still does not work with HPMAXLINES set to 10000000?

 

Can you share the hatch pattern file, so that others can try to reproduce your problem?  It will also be helpful to know what scale factor you have applied to the hatch pattern and how large an area you are able to successfully hatch, as well as how large an area you would like to hatch.


David Koch
AutoCAD Architecture and Revit User
Blog | LinkedIn
EESignature

Message 5 of 10

Draftdoug5610
Contributor
Contributor
Never mind, now It seems that when i set HPMAXLINES at 3,000,000 the hatch works at scale 1, thanks


Douglas Hogan

[abp-logo-1]
http://www.abetterplaninc.com
A Better Plan Inc.
P.O. Box 60455
Palm Bay, FL 32906-0455
O: 321.255.6475
C: 321.258.0443
0 Likes
Message 6 of 10

cninoEXPNV
Explorer
Explorer

Hi, I tried the above and I can't get hatches to work in my 2017. If I do honeycomb, it shows a bunch of angled lines if I use 10 scale, If I use scale 20 then it adds a second set of lines at 30 degrees completing 3 thirds of the hexagons. If I enter scale 24 it finally shows the full hexagons. It is frustrating and it can't be my video card because I used to see full hatches before.

I am frustrated, I have played with most of the HPxxxx variables to no avail. I appreciate any help anyone can give me please.

0 Likes
Message 7 of 10

David_W_Koch
Mentor
Mentor

I am not able to reproduce your results, in a relatively small hatch area (10'x10'), using either HONEY or GENERAL_HONEYCOMB.

 

Are you hatching a really large area?  Is that area located a very, very long way from 0,0,0 in the current coordinate system?


David Koch
AutoCAD Architecture and Revit User
Blog | LinkedIn
EESignature

0 Likes
Message 8 of 10

cninoEXPNV
Explorer
Explorer

My hatches might be far from the origin.. see attached.

0 Likes
Message 9 of 10

cninoEXPNV
Explorer
Explorer

I think I found the solution to the hatch visualization:

Select the hatch

Hover over the center dot of it until the pop up menu appears

Click on "Origin Point" and select a point nearby, in the boundary or in the hatch 

 

In order to set an origin point by default that is nearby the Hatch the variable HPORIGINMODE wants to be set to 5 is my best guess.

 

The question remains for me: why the sawtoothing on the shape of the last hatch on the file attached above

0 Likes
Message 10 of 10

David_W_Koch
Mentor
Mentor

The graphics in your sample file are nearly 467,000,000 feet from 0,0,0.  At that distance, non-orthogonal patterns like HONEY are going to have issues due to rounding errors, as there are limits to how many decimal places can be included in the pattern.

*HONEY, Honeycomb pattern
0, 0,0, .1875,0.10825317547305483084546539634412, .125,-.25
120, 0,0, .1875,0.10825317547305483084546539634412, .125,-.25
60, 0,0, .1875,0.10825317547305483084546539634412, -.25,.125

Honey has a lot more decimal places than most of the other non-orthogonal patterns, most likely because only one number needs more than four decimal places.  At the distance you are from 0,0,0, I am surprised that the 24 scale comes out relatively well.  As you have discovered, setting the hatch origin closer to the actual hatch, when you cannot move the graphics closer to 0,0,0, will reduce issues with rounded values.

 

I am not certain about the ragged hatch boundaries, but I imagine it is also due to the great distance from 0,0,0.


David Koch
AutoCAD Architecture and Revit User
Blog | LinkedIn
EESignature

0 Likes