TheSwamp

CAD Forums => CAD General => Topic started by: Fabricio28 on November 30, 2012, 07:28:07 AM

Title: Set the default hatch pattern
Post by: Fabricio28 on November 30, 2012, 07:28:07 AM
Hi guys!!

How Can I add solid hatch in ALIASEDIT to use it as  shortcut key??

Thank you.
Regards
 :kewl:
Title: Re: SOLID HATCH
Post by: Fabricio28 on November 30, 2012, 08:56:51 AM
Hi guys,

How Can I change the hatch of the default??
I'd like to change ANGLE to SOLID.

Thanks.
Title: Re: SOLID HATCH
Post by: Krushert on November 30, 2012, 11:26:54 AM
What version of Autocad are you using?

Check out this for setting the hatch for 2012?
http://autocadtips.wordpress.com/2012/01/03/set-the-default-hatch-pattern/ (http://autocadtips.wordpress.com/2012/01/03/set-the-default-hatch-pattern/)
Title: Re: Set the default hatch pattern
Post by: Fabricio28 on November 30, 2012, 11:42:41 AM
What version of Autocad are you using?

Check out this for setting the hatch for 2012?
http://autocadtips.wordpress.com/2012/01/03/set-the-default-hatch-pattern/ (http://autocadtips.wordpress.com/2012/01/03/set-the-default-hatch-pattern/)

Thanks for replay, Krushert
I'm using AutoCad 2012.

This link above didn't help me, to be honest.
Because after I've set "SOLID" in HPNAME command, when I opened a new drawing I had to do it again.
Is there other alternative to set the default hatch pattern permanent?

Title: Re: Set the default hatch pattern
Post by: ronjonp on November 30, 2012, 12:09:03 PM
What version of Autocad are you using?

Check out this for setting the hatch for 2012?
http://autocadtips.wordpress.com/2012/01/03/set-the-default-hatch-pattern/ (http://autocadtips.wordpress.com/2012/01/03/set-the-default-hatch-pattern/)

Thanks for replay, Krushert
I'm using AutoCad 2012.

This link above didn't help me, to be honest.
Because after I've set "SOLID" in HPNAME command, when I opened a new drawing I had to do it again.
Is there other alternative to set the default hatch pattern permanent?

From the AutoCAD help:

HPNAME (System Variable)

Sets the default hatch pattern name.

Type:   String
Saved in:   Not-saved
Initial value:   ANSI31 (imperial) or ANGLE (metric)

If you have an acad*.lsp file just add (setvar 'hpname "solid") to it and you should be good.
Title: Re: Set the default hatch pattern
Post by: JNieman on November 30, 2012, 12:39:15 PM
That will only really work for the first time you call up the hatch routine, and so long as you only use solid hatches.

As soon as you use a different hatch pattern, that will be your new 'default hatch' - it seems the behavior of Autocad is to start with ANSI31, to start with, and then just "default to last pattern" after that.  Every time I call up the hatch command dialog, it defaults to the pattern I last selected with the hatch dialog.
Title: Re: Set the default hatch pattern
Post by: Fabricio28 on November 30, 2012, 12:53:03 PM
Thanks all of you, guys.

What version of Autocad are you using?

Check out this for setting the hatch for 2012?
http://autocadtips.wordpress.com/2012/01/03/set-the-default-hatch-pattern/ (http://autocadtips.wordpress.com/2012/01/03/set-the-default-hatch-pattern/)

Thanks for replay, Krushert
I'm using AutoCad 2012.

This link above didn't help me, to be honest.
Because after I've set "SOLID" in HPNAME command, when I opened a new drawing I had to do it again.
Is there other alternative to set the default hatch pattern permanent?

From the AutoCAD help:

HPNAME (System Variable)

Sets the default hatch pattern name.

Type:   String
Saved in:   Not-saved
Initial value:   ANSI31 (imperial) or ANGLE (metric)

If you have an acad*.lsp file just add (setvar 'hpname "solid") to it and you should be good.

I've added (setvar 'hpname "solid") into my acad*.lsp file.

Problem solved.
Thank you for the good explanation.
 :wink:
Title: Re: Set the default hatch pattern
Post by: ronjonp on November 30, 2012, 01:07:46 PM
Glad to help  8-)