Forums >> Revit Building >> Technical Support >> Exporting hatch pattern
|
|
active
Joined: Wed, Oct 12, 2005
1 Posts No Rating |
Hi All, Does anyone know of a way to export or extract a drafting hatch pattern out of a project so that a .pat file can be created and re-imported to change the scale? We are using 2008 and can't find an original .pat file to scale up a hatch pattern. Thanks in advance.
|
This user is offline |
|
|
|
active
Joined: Tue, Jun 12, 2007
15 Posts
|
all standard hatch patterns in revit are in one file revit.pat or revit metric.pat in your Revit directory (mine is C:/Program Files/Revit Architecture 2008/Data). Just open this file and look for a hatch pattern that you need.
|
This user is offline |
|
|
active
Joined: Wed, Apr 25, 2007
14 Posts No Rating |
What if the hatch pattern you want to extract is not part of the Revit default library? I'd like to get at a hatch pattern that I recieved from elsewhere, and edit it. How can I extract it from Revit?
|
This user is offline |
|
|
active
Joined: Tue, Jan 27, 2004
80 Posts
|
Either - Export drawing as an AutoCAD DXF file
- Open DXF file with HatchKit
- Find custom pattern in HatchKit pattern dropdown
- Edit the pattern graphically
- Assign a pattern name and description
- Save in appropriate Revit pattern file format.
or - Export drawing as an AutoCAD DWG
- Open file with AutoCAD
- Load GETPAT (search the web)
- follow prompts
- edit .PAT file with text editor to add Revit embellishments and alter pattern geometry
Hope this helps.
-----------------------------------
Hugh Adamson
www.hatchkit.com.au |
This user is offline |
View Website
|
|
active
Joined: Wed, Nov 19, 2008
8 Posts No Rating |
I have found a workaround to export your hatches, when you export to DWG you will notice Revit temporarilly make .pat files for compling the DWG, if you have the folder your exporting to open in windows exporer you can see it make these file and then delete them.
the trick is to quickly cut and past the .pat files into the same folder before Revit deletes them.
then you just add the ;%TYPE=MODEL at the begining of the pattern and your all set to import at a different scale.
you do have to be fast thou, if you mis it the first time just re-export and have another go.
also make sure the hatch you want is visible in the sheet/view you are exporting or it won't be in there.
|
This user is offline |
View Website
|
|
site moderator|||
Joined: Tue, May 16, 2006
13079 Posts
|
The easiest way is to create a filled region using the hatch and the copy paste this region from one project to another.
|
This user is offline |
|
|
active
Joined: Mon, Oct 31, 2011
8 Posts No Rating |
Good on ya Develocon! Your advice worked out perfectly for extracting the hatch pattern for use in AutoCAD, not Revit. A simple copy and paste of an element is pretty elementary for Revit to Revit, but for an embedded hatch pattern in a .rvt file I'd stick to Develocon's method if you don't want to pay for a license for Hatchkit, or run a lisp routine (my CAD manager would kill me if I changed/added to any scripts). So, thanks all!
|
This user is offline |
|
|
active
Joined: Sun, Feb 15, 2009
5 Posts No Rating |
There has to be fairly easy to automate this through the API?? has anyone tried this?"
I have found a workaround to export your hatches, when you export to DWG you will notice Revit temporarilly make .pat files for compling the DWG, if you have the folder your exporting to open in windows exporer you can see it make these file and then delete them.
the trick is to quickly cut and past the .pat files into the same folder before Revit deletes them.
then you just add the ;%TYPE=MODEL at the begining of the pattern and your all set to import at a different scale.
you do have to be fast thou, if you mis it the first time just re-export and have another go.
also make sure the hatch you want is visible in the sheet/view you are exporting or it won't be in there.
"
|
This user is offline |
View Website
|
|
active
Joined: Tue, Jan 27, 2004
80 Posts
|
Our HatchKit Add-In for Revit when combined with HatchKit 2014 for Revit, HatchKitSV 2014 or HatchKit 2014 Professional exports fill patterns to external .PAT files.
A demonstration is available from our website or from the Autodesk Revit Exchange.
-----------------------------------
Hugh Adamson
www.hatchkit.com.au |
This user is offline |
View Website
|
|
|
Similar Threads |
hatch pattern not printing |
Revit Building >> Technical Support
|
Mon, May 8, 2017 at 12:56:51 PM
|
5
|
Hatch pattern |
Revit Building >> Technical Support
|
Tue, Jan 13, 2009 at 10:23:47 AM
|
3
|
Hatch 22- Curve Pattern |
Revit Structure >> Technical Support
|
Wed, May 30, 2018 at 4:07:07 PM
|
1
|
custom hatch pattern without hatch editor |
Revit Building >> Technical Support
|
Wed, Jan 28, 2015 at 8:46:58 PM
|
1
|
Fill Pattern/Hatch Pattern are not coherent in different views |
Revit Building >> Technical Support
|
Thu, Feb 16, 2012 at 7:20:52 AM
|
1
|
|