I'm having trouble defining a custom model hatch pattern for Revit 2017. What am I doing wrong?
Here's what I have:
;%UNITS=INCHES *Slate Roof Tile 1, Slate Roof Tile - 8"x8" - 2"x4" Bevel ;%TYPE=MODEL 090, 0,4, 8,4, 4,-12 000, 2,0, 4,8, 4,-4 116.56505118, 2,0, .89442719,7.15541753, 4.47213596,-4.47213596 63.43494882, 6,0, .89442719,7.15541753, 4.47213596,-4.47213596
Here's how it should look:Here's how it should look - drawn in AutoCAD.
Here's where I'm getting the numbers in the definition.
Here's what is showing in Revit with the above definition.
Gelöst! Gehe zur Lösung
Gelöst von FAIR59. Gehe zur Lösung
Try using an add-in. HatchKit is a great one. I hear that PyRevit performs a similar function.
I would also reorganize the lines of data in your pattern - start with the vertical lines, then Angle1, then Angle2, finally finishing with the horizontal linesThanks for the addin suggestion. I plan to use Hatchkit or something similar in the future, but I prefer to understand what the computer is doing behind the scenes before I rely on it. I've corrected one error in my definition which has nearly fixed the pattern, but one of the angled lines is still wrong and I cannot figure out why.
;%UNITS=INCHES *Slate Roof Tile 1, Dunbar Roof Tile - 8"x8" - 2"x4" Bevel ;%TYPE=MODEL 090, 0,4, 8,4, 4,-12 63.43494882, 6,0, 5.36656315,7.15541753, 4.47213596,-4.47213596 116.56505118, 2,0, 5.36656315,7.15541753, 4.47213596,-4.47213596 000, 2,0, 4,8, 4,-4
I have changed the x-delta value for lines 2 and 3 to what it should be for the on-axis translation of the pattern from one line to the next. As you can see, the hatch should be symmetrical over the line x=4, but somehow it is not. Why?
Angle 1 line is not a mirror of Angle 2 line.
Hi @Anonymous
Can you confirm if you are on the latest build for Revit 2017?
See here for more information.
(The 2017.2.3 update has bug fixes w.r.t dwg)
Can you also share the Revit file and .pat to test further? I can send you a private upload folder.
Regards,
Viveka CD
Designated Specialist - AEC, AR/VR Research
Autodesk playlists| Find Recommended Hardware| System requirements for Revit products| Contact Autodesk Support| Autodesk Virtual Agent| Browse Revit Ideas| Revit Tips/Tricks| Revit Help| Revit Books
the repetion displacement for the 116 degree line is negative.
;%UNITS=INCHES
*Slate Roof Tile 1, Dunbar Roof Tile - 8"x8" - 2"x4" Bevel
;%TYPE=MODEL
090, 0,4, 8,4, 4,-12
63.43494882, 6,0, 5.36656315,7.15541753, 4.47213596,-4.47213596
116.56505118, 2,0, -5.36656315,7.15541753, 4.47213596,-4.47213596
000, 2,0, 4,8, 4,-4
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.