hatch with variable spaces

hatch with variable spaces

Irreb
Enthusiast Enthusiast
5,266 Views
9 Replies
Message 1 of 10

hatch with variable spaces

Irreb
Enthusiast
Enthusiast

hi,

how can i create a hatch with a custom pattern made up of horizontal lines (with infinite length) at different steps from each other using the txt file.

i searched about in the help.autodesk but it doesn't explain this particular about different steps.

example i need something like this:

 

________

________

 

________

 

________

 

 

is it possible to do?

0 Likes
Accepted solutions (1)
5,267 Views
9 Replies
Replies (9)
Message 2 of 10

Sahay_R
Mentor
Mentor
Accepted solution

Look for the .pat file on your machine. Open it in Notepad, save a copy of it. This gives detailed instructions about how to do this.

 

What I do is take a pattern which is similar to the one I want.Save the file, remove what you don't want. Follow the syntax correctly. Your hatch pattern will be made out of 4 lines = 4 families. Each line will be something like this - 

 

0,         0,         0,         0,        1

0,         0,         0,         0,        2

0,         0,         0,         0,        3

0,         0,         0,         0,        4

 

the last number  = the distance between the lines. So this will vary.

the first 0 = the angle that the lines are at. So if your pattern runs at an angle of 45, then the first 0 will be replaced by 45.

 

When you are editing the hatch patterns, go into Custom, load your new file. Test it until it works. This would be a fairly simple pattern, so it should not be too much of a big deal. Good luck!

 

 


Rina Sahay
Autodesk Expert Elite
Revit Architecture Certified Professional

If you find my post interesting, feel free to give a Kudo.
If it solves your problem, please click Accept to enhance the Forum.
0 Likes
Message 3 of 10

hugha
Collaborator
Collaborator

HI, this pattern has four unbroken horizontal lines at varying spacings with an overall pattern repetition cadence of 100".

 

;-------------------------------------------------------------------------------
;        Written by HatchKit for Revit
;        HatchKit for Revit (c)1990-2017 Cadro Pty Ltd
;        www.hatchkit.com.au/
;-------------------------------------------------------------------------------
;-Date                                   : 2017-03-05
;-Time                                   : 7:20:10 PM
;-HatchKit Version                       : 3.1.10.2719
;-HatchKit Output Filetype               : Revit with HatchKit Add-In
;-------------------------------------------------------------------------------
;%VERSION=3.0
;%UNITS=INCH
*vaying
;%TYPE=MODEL
0,0,12,0,100
0,0,25,0,100
0,0,50,0,100
0,0,87,0,100

 

if that is too regular then you can mix it up further by individually altering that 100" spacing:

 

;-------------------------------------------------------------------------------
;        Written by HatchKit for Revit
;        HatchKit for Revit (c)1990-2017 Cadro Pty Ltd
;        www.hatchkit.com.au/
;-------------------------------------------------------------------------------
;-Date                                   : 2017-03-05
;-Time                                   : 7:20:10 PM
;-HatchKit Version                       : 3.1.10.2719
;-HatchKit Output Filetype               : Revit with HatchKit Add-In
;-------------------------------------------------------------------------------
;%VERSION=3.0
;%UNITS=INCH
*vayingmore
;%TYPE=MODEL
0,0,12,0,95
0,0,25,0,107
0,0,50,0,113
0,0,87,0,133

 

 

Add even more lines if you wish.

 

BTW the free HatchKit Add-In for Revit will allow the specification of this simple style of pattern entirely within Revit.

 

http://hatchkit.com.au/files/file/hatchkitaddinforrevit.zip

 

hope this helps,

 

Hugh Adamson

www.hatchkit.comn.au

 

 

 

0 Likes
Message 4 of 10

Anonymous
Not applicable

i need a hatch patter with two  lines (one is half of the other) in a rectangle which will gradually tapers two zero.

0 Likes
Message 5 of 10

semhustej
Advocate
Advocate

You can watch first few minutes of this tutorial, it explains the basics of hatch creation:

https://www.youtube.com/watch?v=bh9yhiKohlo&t=2046s

0 Likes
Message 6 of 10

Anonymous
Not applicable

Pl. see the attachment.

Kindly suggest the remedy.

0 Likes
Message 7 of 10

Anonymous
Not applicable

pl. find the attachment.

Kindly suggest the remedy.

0 Likes
Message 8 of 10

hugha
Collaborator
Collaborator

That cannot be readily done by simply hatching within AutoCAD.

 

IIRC there is a tool in Civil3D that handles such markup for slopes and batters.

 

hth,

Hugh Adamson

 

0 Likes
Message 9 of 10

Sahay_R
Mentor
Mentor

Also - try using PyRevit. It’s a free Revit add in that allows you to create ANY. kind of fill pattern. And it has a bunch of other cool tools as well. 


Rina Sahay
Autodesk Expert Elite
Revit Architecture Certified Professional

If you find my post interesting, feel free to give a Kudo.
If it solves your problem, please click Accept to enhance the Forum.
0 Likes
Message 10 of 10

_Vijay
Collaborator
Collaborator

Or you can create custom pattern in Revit with help of pyrevit.

Vijayakumar
Head of BIM
Did you find this post helpful? Feel free to like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


0 Likes