PDA

View Full Version : Error: Hatch spacing too dense or hatch size too small



Rico
2006-11-16, 06:00 PM
So I create a hatch .... DOTS at 50 scale around a rectangular border .....

I try to create another hatch around a larger border, same hatch and scale ....

Error: Hatch spacing too dense or hatch size too small ..... WTF?!?!?

I JUST created a hatch using that scale and hatch style ....

What gives?

arshiel88
2006-11-16, 06:16 PM
Have you tried increasing the limits of objects in a Hatch pattern?

(setenv "MaxHatch" "n")
where n is the limit. ranges from 100 to 10000000 (ten million)

MaxHatch is case sensitive

Rico
2006-11-16, 06:25 PM
Have you tried increasing the limits of objects in a Hatch pattern?

(setenv "MaxHatch" "n")
where n is the limit. ranges from 100 to 10000000 (ten million)

MaxHatch is case sensitive
That was it. Thank you!

Now ....

Does anyone know what the default value for MaxHatch is?

arshiel88
2006-11-16, 06:37 PM
You're welcome. default is 10,000.

smooth shoes
2006-11-16, 06:46 PM
Have you tried increasing the limits of objects in a Hatch pattern?

(setenv "MaxHatch" "n")
where n is the limit. ranges from 100 to 10000000 (ten million)

MaxHatch is case sensitive

What is MaxHatch?

arshiel88
2006-11-16, 06:58 PM
MaxHatch is an environment setting that determines the number of objects limited for a Hatch object. A dot is an object in a DOT pattern. The higher the limit, the more dots are permitted to be created in a single hatch object. If you do not want to change this setting, you may divide your area to be hatched into smaller boundaries to avoid the error.

smooth shoes
2006-11-16, 07:13 PM
MaxHatch is an environment setting that determines the number of objects limited for a Hatch object. A dot is an object in a DOT pattern. The higher the limit, the more dots are permitted to be created in a single hatch object. If you do not want to change this setting, you may divide your area to be hatched into smaller boundaries to avoid the error.

Ah, so if the area picked was too large for the dots, or objects, to fill up that space, it wouldn't let ya. Gotcha. Thanks

jgrande26
2006-11-16, 07:16 PM
I just tried (setenv "MaxHatch" "10000000")
and got this resopnse:
; error: bad argument type: stringp nil

what did I do wrong?

Opie
2006-11-16, 07:36 PM
I just tried (setenv "MaxHatch" "10000000")
and got this resopnse:
; error: bad argument type: stringp nil

what did I do wrong?
Take out the quotes around the integer.

(setenv "MaxHatch" 10000000)

Rico
2006-11-16, 07:38 PM
MaxHatch is an environment setting that determines the number of objects limited for a Hatch object. A dot is an object in a DOT pattern. The higher the limit, the more dots are permitted to be created in a single hatch object. If you do not want to change this setting, you may divide your area to be hatched into smaller boundaries to avoid the error.
That's great. I needed that description too ...

jgrande26
2006-11-16, 07:39 PM
Take out the quotes around the integer.

(setenv "MaxHatch" 10000000)
Now I got this:
; error: bad argument type: stringp 10000000

Opie
2006-11-16, 07:42 PM
Now I got this:
; error: bad argument type: stringp 10000000
I don't work on that one often. It should be a string, so your first attempt should work. I copied it verbatim and pasted to my command line and it worked.

Rico
2006-11-16, 07:46 PM
I don't work on that one often. It should be a string, so your first attempt should work. I copied it verbatim and pasted to my command line and it worked.
same thing here. copy and paste and then edit the pasted object.

However, it SHOULD also work if being typed in ....... I just tried it and it's good here .....

jgrande26
2006-11-16, 07:57 PM
I tried copy & paste and typing it in with the same results. http://smileys.smileycentral.com/cat/4/4_6_201.gif (http://www.smileycentral.com/?partner=ZSzeb001_ZNxdm801YYUS)

Opie
2006-11-16, 07:59 PM
I tried copy & paste and typing it in with the same results. http://smileys.smileycentral.com/cat/4/4_6_201.gif (http://www.smileycentral.com/?partner=ZSzeb001_ZNxdm801YYUS)
Not sure. Nice image. ;)

Mike.Perry
2006-11-17, 06:07 AM
Hi

You may wish to browse the following thread in the AutoCAD FAQ (Read only) (http://forums.augi.com/forumdisplay.php?f=189) forum, contains lots of helpful / useful information relating to Hatch...

Hatch patterns playing you up

Have a good one, Mike

mert523
2009-04-01, 05:49 PM
Take out the quotes around the integer.

(setenv "MaxHatch" 10000000)

I get the error when I try to change this, no matter what number I use. What am I doing wrong?