PDA

View Full Version : 2017 create custom hatch patterns for Revit?



ctc
2017-04-07, 04:26 PM
I don't know how to create custom hatch patterns that are more complex than simple parallel lines and cross hatches. I've checked out hatchkit, but its makers tell me it is not compatible with Revit running on a parallels desktop virtual machine. I've seen old posts for Lisp routines, but I'm not sure I want to risk installing street software from an unknown source. I do not have AutoCAD. Has anyone figured out how to create custom hatch patterns for Revit?

sdarali
2017-04-08, 01:15 AM
If you can invest the time into it, you can check out how to create custom fill patterns using .PAT files, as described in the Revit help:
https://knowledge.autodesk.com/search-result/caas/CloudHelp/cloudhelp/2015/ENU/RevitLT-Customize/files/GUID-69192B73-394C-4EC6-B885-0A2945CBEB7A-htm.html

Also, you can check out the .PAT files that ship with Revit for examples to learn from. All you need is a free text editor such as windows notepad or notepad++.

ctc
2017-04-08, 02:00 AM
Thanks for the input.

info.159673
2017-04-08, 03:34 PM
I don't know how to create custom hatch patterns that are more complex than simple parallel lines and cross hatches. I've checked out hatchkit, but its makers tell me it is not compatible with Revit running on a parallels desktop virtual machine. I've seen old posts for Lisp routines, but I'm not sure I want to risk installing street software from an unknown source. I do not have AutoCAD. Has anyone figured out how to create custom hatch patterns for Revit?

Don't risk your sanity! Try out something like hatch22 http://mertens3d.com/tools/tools.php

ctc
2017-04-10, 02:36 AM
Don't risk your sanity! Try out something like hatch22 http://mertens3d.com/tools/tools.php
This looks like a nice tool. Well done. I didn't see any way to test this out before buying, do You think it'll work on my system that I described in the opening Post?

PijPiwo
2017-04-10, 02:54 AM
I didn't see any way to test this out before buying
...but you can try this one (http://www.hatchkit.com.au/index.php).

info.159673
2017-04-10, 04:30 AM
This looks like a nice tool. Well done. I didn't see any way to test this out before buying, do You think it'll work on my system that I described in the opening Post?

Let's find out. I'll work with you if there are problems and if we can't get it to work, I'll give you your hard earned dollars back. Smile.

sdarali
2017-04-11, 12:22 AM
We have the hatch22 in the office, and it's considerably easy to work with. It helps though to understand the logic of how .PAT files work in order to produce more complex patterns, or if you're finicky about getting the most optimized pattern (the most pattern lines with the least code), or a pattern that appears to be random instead of regular.

ctc
2017-04-12, 09:03 PM
I am impressed with the look, feel, and functionality of hatch22. It simply works in an easy to understand drafting view and it handles all of the coding seamlessly behind the scenes. I also found the tips and tricks on it's website valuable. Its documentation could use a bit of refreshing, but in this case that appears to be an indication that its author continues to improve and update its functionality. Well done!

hugh.69031
2017-04-13, 03:16 PM
There is a free pattern maker for Revit to be found within pyRrevit (http://eirannejad.github.io/pyRevit/) which, while being restricted to the same rectangular template arrangements of hatch22, will also handle fill templates containing curves and splines.

It is very capable and currently free of charge. The same package works for Revit versions from R2014 onwards. Installation is quite straightforward as all pyRevit scripts (the patternmaker being just one of many in the toolkit) are run from the pyRevit launcher using the mechanism described here (http://thebuildingcoder.typepad.com/blog/2016/04/the-pyrevit-ironpython-script-library.html) which simplifies add-in development in a remarkable way.

It is very simple to operate. Draw a template, pick two points to define a rectangle, supply a FilledRegionType name. That's it.

Unless you need to create skewed or layered fill patterns or edit existing patterns this is probably the custom fill generator to try first.

ctc
2017-04-15, 02:07 AM
Wow curves and splines. That's impressive.