Jump to content

Recommended Posts

Posted

Can anybody tell where the standard hatches that come with AutoCad 2009. Where are they on the computer. EG: If I am in explorer where are the standard hatches .pat files stored. Where do I look? It's like a maze in there.:oops:

Can somebody who is using 2009 check in explorer and give me a break down on how to fine the .pat folder.

Cheers Guys

Dodge

Posted

Open Autocad and go into your Options. Click on the "Files" tab and then Expand the "Support File Search Path". The first line in that section should tell you where your acad.pat file is located on your computer.

Untitled-1.jpg

Posted

Thanks Cad

I notice on your options you have as your last item files\hatch

I don't have this, I have nothing after support\colour

Can you tell me where mine is??

Dodge

Posted

Don't sweat it, you hatches will be in the place Cad64 described.

 

Cad64 must have some extra non-standard hatches. Rather than save them into Autocad's support folder, he has added an extra search path...

Posted

Cad64 must have some extra non-standard hatches. Rather than save them into Autocad's support folder, he has added an extra search path...

 

That's correct. I added that search path so Autocad can find my custom hatch patterns. I keep them outside of Autocad's support folder so they won't get wiped out if I ever need to re-install.

Posted
That's correct. I added that search path so Autocad can find my custom hatch patterns. I keep them outside of Autocad's support folder so they won't get wiped out if I ever need to re-install.

 

Thanks for that guys.

Can you tell me step by step how to add another seperate search path like that. This is whats been happening each time I re install or upgrade I wipe out my hatches. Is it possible to also add a search path for a lisp. I have a numbering lisp I use and each time I go to use it it's not there so I have to reload it in Autocad each time by typing APPLOAD etc. When I start a new job I have to to reload it again.

So if you can give me real simple step by step how to add a search path like you do, it would be a big help.

Cheers Dodge.

Posted
Thanks for that guys.

Can you tell me step by step how to add another seperate search path like that.

 

1. OPTIONS, "Files" tab, click "Support File Search Path" so that it's highlighted

2. Click the "Add" button

3. Click the "Browse" button

4. Navigate to the folder where your custom patterns are saved

5. Click "OK" to accept the new support path

6. Click "OK" to to save changes and exit Options

 

Is it possible to also add a search path for a lisp.

 

You can't add a search path for lisp routines because they actually have to be loaded into Autocad in order for them to run. So you have to tell Autocad to load them, either by adding them to your APPLOAD "Startup Suite" or by creating an acaddoc.lsp file. Adding them to your Startup Suite is the easiest way, but it's not always the most reliable. The acaddoc.lsp is a better way to go.

 

To create an acaddoc.lsp file, just open notepad and then add a line of code for each routine you want to load whenever you start or open a drawing. The code should look something like this: (load "C:/Program Files/Lisp/LISPNAME.lsp"). The path will be different for you, depending on where you have your routines saved. And LISPNAME should be replaced with whatever lisp you want to load. You will need a separate line of code for each routine.

 

Save the file as acaddoc.lsp and stick it in your Autocad 2009 Support folder. Then open a drawing and see if your lisp routines are loading. Once you see that it's working, save a copy of this file someplace safe in case you need to reinstall Autocad.

Posted
Can anybody tell where the standard hatches that come with AutoCad 2009. Where are they on the computer. .

 

If you are running AutoCAD 2009 use the (findfile ...) function, eg:

 

(findfile "ACAD.pat")

 

The function returns the file path as a string if the file is on the support file path. It doesn't search the entire filesystem, just the support path.

 

e.g.

Command: (findfile "ACAD.pat")

"C:\\Documents and Settings\\ ... \\support\\ACAD.pat"

Command: (findfile "limestone.pat")

"C:\\Documents and Settings\\ ...\\Desktop\\limestone.pat"

 

The path varies by operating system, AutoCAD version, release number etc, etc.

 

To find other pat files, search your file system for files named *.pat which can take a while to run but will locate other files with the .pat file extension.

 

 

hth,

 

Hugh Adamson

www.hatchkit.com.au

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...