See the top rated post in this thread. Click here

Results 1 to 9 of 9

Thread: Custom Hatching

  1. #1
    AUGI Addict .chad's Avatar
    Join Date
    2006-04
    Location
    is it lunch time yet?
    Posts
    1,129
    Login to Give a bone
    0

    Default Custom Hatching

    we received a file from a sub with a hatch pattern in it that we will need to access on a number of future projects. how can i get the hatch from the drawing into a .pat file so we can drop it into the hatch directory so it is accessible from every computer without copying and pasting the pattern every time we need it?

    edit: to make it more interesting i cant match properties of the hatch to another hatch object, except layer. the pattern doesnt change.
    Last edited by .chad; 2007-08-29 at 06:55 PM.

  2. #2
    ACA/AMEP Community Chair stelthorst's Avatar
    Join Date
    2003-10
    Location
    San Francisco CA
    Posts
    1,190
    Login to Give a bone
    0

    Default Re: Custom Hatching

    Quote Originally Posted by .chad View Post
    we received a file from a sub with a hatch pattern in it that we will need to access on a number of future projects. how can i get the hatch from the drawing into a .pat file so we can drop it into the hatch directory so it is accessible from every computer without copying and pasting the pattern every time we need it?

    edit: to make it more interesting i cant match properties of the hatch to another hatch object, except layer. the pattern doesnt change.
    Hi Chad,

    Did you try dragging the hatch into your tool palette? I know that may not make it accessible to everyone but you may be able to manipulate it from there.

    Just a thought.
    Scott Telthorst
    Quality Control Manager
    Helix Electric, Inc.
    www.helixelectric.com

    Some see the glass as half full, others as half empty. As an engineer I see the glass as twice as big as it needs to be. ~Unknown~

  3. #3
    AUGI Addict .chad's Avatar
    Join Date
    2006-04
    Location
    is it lunch time yet?
    Posts
    1,129
    Login to Give a bone
    0

    Default Re: Custom Hatching

    Quote Originally Posted by stelthorst View Post
    Hi Chad,

    Did you try dragging the hatch into your tool palette? I know that may not make it accessible to everyone but you may be able to manipulate it from there.

    Just a thought.
    no luck. came up with this error:
    Attached Images Attached Images

  4. #4
    I could stop if I wanted to hugh.69031's Avatar
    Join Date
    2016-01
    Location
    Melbourne, Australia
    Posts
    360
    Login to Give a bone
    1

    Default Re: Custom Hatching

    Search for GETPAT.LSP on the WWW.

    Alternatively WBLOCK the hatched item to a DXF file then use HatchKit to save the pattern to a .PAT file.

    hth

    Hugh Adamson
    Cadro Pty Ltd

  5. #5
    AUGI Addict .chad's Avatar
    Join Date
    2006-04
    Location
    is it lunch time yet?
    Posts
    1,129
    Login to Give a bone
    0

    Default Re: Custom Hatching

    Quote Originally Posted by hugh.69031 View Post
    Search for GETPAT.LSP on the WWW.

    Alternatively WBLOCK the hatched item to a DXF file then use HatchKit to save the pattern to a .PAT file.
    that got it into the hatch dialog for that drawing, now how do i extract the .pat file so i can drop it on the network?

    thanks

  6. #6
    I could stop if I wanted to hugh.69031's Avatar
    Join Date
    2016-01
    Location
    Melbourne, Australia
    Posts
    360
    Login to Give a bone
    0

    Default Re: Custom Hatching

    Either approach should have saved the pattern definition to a .PAT file that you can copy to your shared hatch directory.

    Hugh Adamson
    Cadro Pty Ltd

  7. #7
    AUGI Addict .chad's Avatar
    Join Date
    2006-04
    Location
    is it lunch time yet?
    Posts
    1,129
    Login to Give a bone
    0

    Default Re: Custom Hatching

    Quote Originally Posted by hugh.69031 View Post
    Either approach should have saved the pattern definition to a .PAT file that you can copy to your shared hatch directory.
    right, i ran the lsp and it said it created [pattern name].pat

    in the file that it did that in i can use it as a hatch pattern, match properties and the like. i cant find the .pat file to move though. i did a search on my computer for it and it came up empty.

    sorry for being slow on this one... ive never done this before

  8. #8
    I could stop if I wanted to hugh.69031's Avatar
    Join Date
    2016-01
    Location
    Melbourne, Australia
    Posts
    360
    Login to Give a bone
    0

    Default Re: Custom Hatching

    That's odd. I take it you tried GETPAT.LSP from here:
    http://www.turvill.com/t2/free_stuff/getpat.lsp
    which has considerable longevity.

    That macro should offer to replace or append to the target .PAT file if you run it again and nominate the same destination. I suggest doing just that and watching where it is putting the output file - which may be in a location that Windows Search won't reveal to you because of some Windows setting.

    Alternatively just type (findfile "yourpatname.PAT") at the ACAD Command prompt and see what that tells you - if the pat file is accessible to ACAD it will be in a folder listed under the ACAD Support FIle Search Path controlled by Tools>Options>Files from the menu.

    Hugh Adamson
    Cadro Pty Ltd

  9. #9
    AUGI Addict .chad's Avatar
    Join Date
    2006-04
    Location
    is it lunch time yet?
    Posts
    1,129
    Login to Give a bone
    0

    Default Re: Custom Hatching

    i found it. it wrote the file to the project folder, which for some reason it didnt occur to me to look there for it in the first place.

    thank you for the help

Similar Threads

  1. 2014: Creating Custom Pull-Down Menu With Custom Blocks
    By CSIMS in forum AutoCAD CUI Menus
    Replies: 7
    Last Post: 2015-02-23, 05:53 PM
  2. hatching
    By Dianmed in forum AutoCAD General
    Replies: 2
    Last Post: 2009-07-02, 05:20 PM
  3. Custom Schematic Styles into Custom Tool Palettes
    By paul_mep in forum AMEP General
    Replies: 5
    Last Post: 2008-02-08, 04:53 AM
  4. help with saving custom Hatching
    By architectural-designer in forum AutoCAD General
    Replies: 3
    Last Post: 2007-10-29, 02:34 PM
  5. hatching
    By HollandArc in forum AutoCAD LT - General
    Replies: 2
    Last Post: 2004-11-23, 02:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •