hatch22-2012 has been released. You can find it here.
hatch22-2012 is a ‘pay as you like’ addin utility (dll) for Autodesk’s Revit 2012/ 2013.
It helps you create model and drafting fill patterns (hatch patterns) by drawing a template for the pattern directly in Revit.
future/ to-do
- automatically check for the existence of the hatch22 line styles and prompt if needed
- error check – make sure a max of 4 lines (creating a rectangle) are used for the boundary. No irregular shapes.
- name the ‘make subcategories’ button something more legible
- incorporate metric units
- create example videos
- force client use of drafting views (if not already done)
- create videos
- demonstrate how to debug drafting patterns with scale set to full
- warn for saving empty pat files
- warn that the routine is cancelling when lines are too short
- fix type “Continous” in hatch pattern (typo)
- on lines too short warning (and others), let the user know that the restriction is imposed by Revit, not hatch22.
- add error checking for. “Autodesk.revit.exceptions.invalidObjectException: The referenced object is not valid, …” – this error is triggered by opening a rvt file, starting hatching hatch22, closing the rvt file but leave hatch22 open, then reopening the original file and selecting ‘make hatch from selection’. If users get this error they can simply close and restart hatch22 to fix.
- add error check for: “system.nullReferenceException: Object reference not set to an instance of an object”. This is similar to the error above. It is triggered by launching hatch22 from one rvt, then changing the active file and trying to run via “make hatch from selection”. Work around: close and restart hatch22
Sorry for mistake in spelling ,Are there any plans to release a version for Revit 2014?
Yep. When I find the time.
Are there any plans to release a version for Revit 2013?
Just for clarity, 2013 is currently supported
Gregory,
I am using Revit 2013 on windows 8. Revit is functioning fine. I am able to create the hatch using your plugin. However it seems to be overlapping the pattern on top of itself shifted by some amount. I can’t debug why it would be doing this.
Any thoughts?
Mark,
Can you email me your rvt ? Info at mertens3d
(copy of email reply back to mark)
Mark,
All of those ‘hatch22 – continuous’ lines should be ‘hatch22 – dashed’
please look at the examples file located here. It will help a lot.
Examples
The pattern worked fine but the lineweight seems to be way too thick, even though the subcategories shows a lineweight 1.
Any idea how to resolve this as the pattern just appears as a hatch once the lineweight is turned on ?
Rushda,
I’m pretty sure there is only one revit subcategory (line type) that controls the line weight of fill patterns. (You said
Subcategories…plural). Hatch22 does not change that at all. I would double check that revit setting and also check if other ‘out of the box’ hatch patterns are too heavy.
In your instructions you mention that EVERY pattern can fit in an equal sided box. (I mostly agree) but I have a pattern that is 2 feet wide and repeats vertically, and then repeats in a vertically offset manner, in the next two feet. there is never a horizontal continuous line. How would you make this pattern?
I say “this method works for every hatch pattern that I’ve ever needed”.
There are probably a couple different ways to approach your situation. If you can send me a drawing of what you mean, I can probably help. info@mertens3d.com
How do you import the hatch22 line styles into Revit?
Kingsley,
There is a button in hatch22 that says ‘create subcategories’. That will create the line styles for you.
Hi Gregory,
another annoying ‘can’t get it working’ message for you…
I’m on Revit 2013, Windows 7. I’ve put the file in both locations…
C:\ProgramData\Autodesk\Revit\Addins\2013 and
C:\Users\(my name)\AppData\Roaming\Autodesk\Revit\Addins\2013
checked that none of the files were blocked, and it still doesn’t come up. Other add-ins are working, from the same location.
Quite strange. I had it working on my old machine, but just swapped to a new computer and now can’t make it go, despite the image being exactly the same.
Thanks in advance for any help!
Stephan,
1) are you putting it in both locations at the same time? That might cause problems. Just use one and delete it from the other.
2) try unblocking the zip file before extracting
3) are you getting any error messages?
4) does the mertens 3d menu show up in add-ins?
5) you might look at your revit journal file. Search the latest one for the word hatch22. That might give us a clue.
Thanks! Solved, unblocked the .zip file first, and then made sure it was only in only one of the two locations. It didn’t previously give me any errors or show the Mertens3D folder.
Journal file had the error
-hatch22-2012.addin- in current user folder is duplicated with the one in internal addin foler
(typo by Revit)
Thanks again.
Glad it’s working.
hi there,
thanks for the great tool!
I was hoping you could point me out to a solution for a little problem with assigning a created PAT file.
when loading the PAT file in revit, the program says:
“no MODEL pattern types found”.
I tried it with drafting and it generates same kind of a message.
the PAT definition was done in a separate RVT file, in a drafting view, using an imported and exploded DWG content, whose dimensions are 100cm x 40cm.
I then drew a boundary and assigned all other entities as dotted. when creating the hatch, your warning about lines that are too short appeared. a bit of them were too short and I chose “do not include”.
any thoughts as to what causes that will be very appreciated – and again – thanks for that very important tool.
Ishay,
1) Does it actually create any pattern text in the white window of Hatch22?
2) Can you email me a copy of your rvt file with the hatch pattern master? Send it to info@mertens3d.com
I’m including this so that others may benifit.
Ishay wrote back:
——–
Hello Gregory, thank you for your reply.
1) Does it actually create any pattern text in the white window of Hatch22?
It doesn’t; after the warning appears, nothing happens following to that (either if I choose YES or NO to the inclusion of the short lines).
2) Can you email me a copy of your rvt file with the hatch pattern master?
I included the rvt file and a screen capture of the warning that prompts when clicking “Make Hatch From Selection”.
EDIT:
this is now solved – I think the problem was that I didnt explode little circles there.
yet still, for some reason it didn’t manage with model hatch and goes only for drafting. what I did is copy to clipboard, changed myself the type to MODEL.
I must say the result isn’t good – it’s not showing the graphic up until a very close zoom. I probably chose linework that is too elaborate.
I included the result if you are somehow interested.
thanks again,
Ishay
Ishay,
1) When you get the error messages about lines being too short, the routine does not finish running and therefor never creates a hatch pattern. That’s probably why you received the error from revit “no MODEL pattern types found”. I’ll make a note to add more feedback on that.
2) You must select “Model Hatch” or “Drafting Hatch” as appropriate when you create the hatch pattern. Revit has two different tolerances for Model and Drafting Hatches.
3) In your case, you need to select “Model Hatch” and either delete those lines that are too short or make them at least the minimum legal length. I did that and the hatch pattern came out just fine.
Let me know if that doesn’t clear it up for you.
Hey Gregory,
Is there any chance of adding a metric/imperial button?
We use millimetres here in NZ and it would very cool. Otherwise I have to use excel to convert and re-round numbers.
Cheers
Tim,
This has been asked for and discussed on this page. You should be able to do a text search for ‘metric’ to find it. I’m on my phone and can’t easily do so right now. The gist of it is, yes I can and will. I’m not sure when though.
Also, it doesn’t really matter much (except in the small cases…as pointed out below…I don’t recall their reason, but it was a valid one).
You shouldn’t have to convert in excel. Just use it as is, with your crazy non-’merican units and everything should work out with more than enough accuracy (for hatches ).
Let me know if it doesn’t.
Hi gregory.
Having the same issue as a few people when trying to load the add-in into Revit 2013. I followed the steps to unblock the .dll file, but that was not an option.
Any other ideas?
nevermind! i had to first go to the .txt file and unblock… which then activated the block on the .dll… which i then unblocked.
all’s well…
thanks for creating such an awesome tool.
i love your brain!
Erin,
Glad you got it to work.
Are you saying the dll was not blocked until you unblocked the txt?
Hi Gregory,
This looks like a great program that will inevitably save me a tonne of time – as soon as I can get it working;) I’m having trouble loading my pat file into Revit. I’ve made a test hatch pattern, something very simple, and have been able to produce a successful hatch pattern definition in the white window – now how do I get this into Revit? I’ve saved the pat file to my computer but can’t figure out how to ‘import’ it. Do I need to save the code for this hatch to Revit’s already existing pat file?
I’m running Revit 2011. Thanks for any help you can provide.
Nelson,
http://docs.autodesk.com/REVIT/2010/ENU/Revit%20Architecture%202010%20Users%20Guide/RAC/index.html?url=WS46b90c3cb2c58cad1cb25f1fc7fa49ed4-7fe5.htm,topicNumber=d0e36638
That’s for 2012, but the concept is the same.
Great! Thanks Gregory. I hope to use this as soon as I have an opportunity.
Hi Gregory.
I’ve been trying to create a drafting hatch for glulam beams where the horizontals appear every 1 1/2″. I have drafted them at this spacing but when I import the .pat file into my Revit project the spacing comes in at a different spacing depending on the scale of the view. I’m obviously not understanding a fundamental aspect of how the program works but I thought if you draft hatch lines at a certain ‘real world’ spacing then they should appear at that spacing no matter what scale you view it at. I can send you a screen shot of the hatch routine if you like.
Nelson,
It sounds like you are creating a drafting pattern rather than a model pattern.
Look here
Let me know if that doesn’t clear it up for you.
Man, you are on it! Thanks for the quick reply. I think I’ve got it now. I purposely saved the .pat file as a drafting hatch rather than a model hatch because I didn’t realize I could use model hatch patterns in filled regions in 2D drafting views! This is B-E-A-UTIFUL! Since drafting patterns are purely symbolic, is there any advantage to using them over model patterns? It seems as though you would want to use model patterns all the time because of their versatility.
Glad that cleared it up.
You’ll find there are distinct uses for each.
Generally, anything that is modular or dimensional will generally require a model hatch. (brick, pavers, fencing, wall patterns, etc.). On model patterns you want the dimension between patterns lines to always be the same…regardless of the scale.
Most other things will generally require a drafting pattern. (concrete, stippling, dirt, etc.). On drafting patterns you don’t really care about the spacing between lines. You just want your concrete pattern to look the same regardless of the detail scale.
If you search around on the google web, you’ll find much more in depth discussions of the this.
Oh. There are some cases (in Revit) where you can’t use model hatches and have to use drafting. I don’t remember them off had, but I think some section views are that way. I don’t know why this is so.
Restarted Revit and it now works. I shall start testing it out.
Paul,
Can you send me answers to the questions (about your version, etc) anyway?
Also, do you remember what steps you took from download to the point where you got it working? I would like to be able to reproduce this and figure out what went wrong.
Thanks.
I have loaded the software and the addin button is there but it comes up with an error message when I click on the button. I can send you a screen capture if you like.
Paul,
What language is your Revit for?
Also,
1) what version of revit?
2) what flavor (mechanical, architectural)?
3) does it work if you start with one of my samples?
4) if your revit file is small enough, can you email a copy to info@mertens3d.com. I’ll see if I can reproduce it.
Oh, small chance here. Had you saved your file yet (before running hatch22)?
Hi Gregory,
Great add-in you’ve got here, I would love to try it, except I can’t get it to work!
I noticed a similar comment early on by Jason regarding
the error “At least two detail lines with the line style:
‘hatch22 – Boundary’are required”
What does this mean?
The post indicates he got past the error message because he “forgot to save before launching” but I don’t really know what this means as I have tried saving my Revit file, but this did not help. I am in 2013, thanks for any assistance you can provide.
p.s. should i be drawing this in a drafting view?
damien
Damien,
Have you looked at the samples file?
http://mertens3d.com/tools/revit/2012/hatch22-2012/hatch22-2012-examples.php
That is probably the best way to get an idea of how to use hatch22.
The boundary lines are at least two lines that represent size of the repeating pattern. They are drawn with the line style ‘hatch22-boundary’. They are the red lines you will see in the samples file.
The boundary line style and the other hatch22 line styles are created via the button labeled “Make Subcategories” in hatch22. Hmmm…it just occurred to me that I could have named that better.
I don’t think I require you to be in a drafting view (although I probably will at some point if I haven’t already…I don’t remember). But you will find it easier if you are in a drafting view with the scale set to full.
Hope that helps.
Hi Greg,
Yes the sample file is great, but this is the file I am still having trouble, hmm perhaps I have had a bad install.
If i am inside your sample file, and i run hatch22, I should get the code for the pattern you have created shouldn’t I so I can save it in a pat. file?
Damien,
You are actually selecting the lines to use for the hatch pattern before running hatch22 correct?
Are you getting any error messages?
Thanks for your assistance Greg, I restarted Revit with a fresh install and all appears to be OK now!
Works great!
Glad to hear.
I have been testing out Catch22. Love it. Really simplifies the process. I would love to see a metric feature though. I cannot get my .pat files to import as metric, only inches. They inches is grayed out and I am not sure why. Is it something on your end? It might have to be with our template control but I don’t see how those setting got locked down yet.
Thanks!
Jake
Jake,
Currently I’m only storing the data in imperial units (inches). But, unless you plan on modifying the .pat file directly, it shouldn’t matter. Draw your pattern in metric, run the routine (it will store as inches), import as inches and then use in your metric file. All should be good.
I do plan on modifying the routine to write out in metric units….’someday’
Gregory sorry, but also with me hatch22 for revit 2013 is not working. I unziped and unblocked the files and put them on the location as mentioned. But there is no button showing up at the add ins toolbar.
or did i missed something maybe?.
Greetings Frank
Frank,
What is the exact path that you put the files into?
If you can, send me a screen shot of it to info@mertens3d.com
My need is to make custom hatch patterns for brick tile that will be applied to exterior wall panels. The panel to panel layout causes us to vary the coursing size for each brick panel. So not only do we have to produce a repeating pattern we also have to calculate the coursing size being used. Would there be any way we could do that using Hatch 22? If not could we or you code the API to do it?
Joe,
You could use hatch22, but not in an automated way. You’re still going to have to do the math for each panel, draw up thy spacing for hatch22, create a custom hatch for that panel spacing, create a custom material with that hatch and then apply as necessary. That’s going to be a pain.
Instead, i wonder if you couldn’t create a single curtain wall panel that has the brick pattern drawn in it. I’m not sure what would happen at openings. (I’m going to have to experiment with that)
The API wouldn’t be much help here either since Autodesk has not exposed custom hatching yet.
nope. the curtain panel method does not work
Another thing that might work.
You could manually set up x number of walls types. One for each brick pattern you want. Then you _might_ be able use the api to loop though all the walls in your project and assign them the correct type based on their length.
hi,
…
…
first i want to show my appreciation for such a great tool, it has helped us alot in our work with Revit
2nd, i need to ask something urgently, how can i add a solid fill area in my hatch with this tool ?!
Thank you again
Ola,
Thanks. I’m glad you’re finding it useful.
Strictly speaking you can’t add a solid area to a hatch pattern. However, you could create a bunch of lines that are so close together that it appears solid. I haven’t tried this in revit, but that is the way I used to do it in autocad. Unfortunately you won’t be able to assign it a gray scale or color different from the rest of your hatch.
fantastic plug in! works perfectly and your directions were super clear. i almost ended it all when i tried to teach my self how to write a .pat for a complex Royal Mosa floor tile pattern.
Life Saver! good job
p.s. i added the plug-in to Revit 2013 and it works
Glad it helped Dave. Thanks for the feedback.
I’ve used this before and has worked perfectly, But now i cant get anything to work even when i try and copy an example. How do i change it so that my repeat count x and y are the same size, my tile is a neat 400×400 square but my the y is always half x so my pattern overlaps
Adam,
Sorry for the late response. Can you email me your file? info@mertens3d.com
Hey,
Just wanted to say thanks heaps for this awesome little add-in. It works so well and is very useful!
Tahnee,
You’re welcome. I’m glad you’ve found it
Helpful.
I need this add in to work in 2013. I cannot get it to work. What do I need to do?
Did you follow all of the install instructions including unblocking the dll/zip?
Are you receiving any error messages?
Gregory
Ive managed to corrupt my SP file.
Is there a way where I can restore a supplemental backup to look like a regular SP file????
HELP!!!
Kane,
Both files are just text files. You can just remove your corrupt one and then rename the extension of the backup to match the master.
Let me know if that is not clear enough. (I’m not at my computer right now and don’t recall what the specific file extensions are).
Also, you might be able to just manually edit the ‘corrupt’ file with a text editor to fix. If you don’t my mind, email me the corrupt file before you do. Is like to see what went wrong. Also, let me now hat you did that corrupted it to begin with.
Info@mertens3d.com
…Gregory
I am trying to create a fire tape pattern and just cannot seem to get it to show up in Revit. It generates the pattern file which looks ok, but when I import the pattern to Revit the result is blank. I am trying to make a legible version of a simple dash pattern from CAD. I have tried continuous and dashed lines.
Michael,
1) make sure you are using detail hatches, not model hatch.
2) refer to my sampled file. I think I have a fire tape sample in there. (not certain)
3) check out the forums, there has been a lot of discussion about how to approach fire tape walls in revit. You probably can’t do it the same as you did in acad.
…Gregory
I created detail lines in a drafting view as in the example file. When I import the pat file and change the scale from 1.0 to .005208 it appears as drawn. That value is 1/192.
1) did you select ‘detail hatch’ and not ‘model hatch’ in the hatch22 dialog?
2) is your view scale set to full 1:1?
I am using Drafting Hatch not Model Hatch. I have tried creating the hatch from a 1/16″ scale and 1:1 drafting view. I need to eventually use the pattern in a 1/16 to 1/32 inch scale.
Michael,
I’m confused. Can you email me the revit file your using for hatch22 ?
Info@mertens3d.com
…gregory
Hi,
I got the error message – command failure for external command. I have tried the step number 2 to unblock the .dll files and it still gives me the error.
Any help would be great! Thanks!
Amy,
What is the exact error message? Is it the same one I indicated on the install page (related to unblocking)?
Try unblocking the zip file instead of the dll, then extract the dll. Does that work?
What version of Revit?
What version of Windows?
…gregory
I am trying to create a custom 18×36 in. running bond tile pattern. I am unsure how to draw it so that it repeats correctly. Is it possible to have overlapping boundry and continuous lines? That seems to be the issue I am running into when I try to draw the pattern.
Yes, any of the lines can overlap the boundary. The boundary just defines how often the lines are repeated.
Have you looked the samples file? It has some masonry samples in that might help you out.
…gregory
I am unable to open the sample file, “the file you are are trying to open was saved in a later version of revit and can not be retrieved”. I am running 2011, is there a sample file from 2011 that I can view? Thanks for the help.
Kyle, I’ve posted a PDF version.
http://mertens3d.com/tools/revit/2012/hatch22-2012/hatch22-2012-examples.php
Hope that helps.
…gregory
For one reason or another, I followed one of the methods to produce a running bond pattern and it still did not work. If I can email you a PDF / screen shot of what I am drawing vs what is showing up then maybe you would be able to give some feedback that way. let me know where I can send it to.
Sure. Info@mertens3d.com
If your file is small, send the rvt file.
The most common mistake is using the hatch22 continuous line style instead of using the hatch22 dashed.
…gregory
Greg,
Thank you for all of the help, I was not aware of the difference between Dashed and Continuous but I have changed the line types and it now works. Thanks again for all of the help.
Hi, thanks for this addin i wish i was have knowledge on how to create this addin?
If you would like to share to us the code VB of how you made this addin custom hatch that composed DLL as a result that will be great as knowledge.
What i know is how to create manifest file .addin
If you do not like it that is ok and thanks for making me happy with this addin.
Ahmed,
There are several resources out there that will get you started with creating your own dll’s. Check on autodesk’s site for the Revit SDK. That contains some help files and some info on getting started. Also Jeremy Tammik has a great blog with a lot of info on programming in the Revit SDK environment.
http://thebuildingcoder.typepad.com/
As far as releasing my code of hatch22. I do not have any plans to do that right now, although I have thought about it and may do so in the future.
Feel free to ask me questions you may have once you dive into the SDK.
…gregory
Just a terrific program. Thank you for making this!
You’re welcome Jon.
…gregory
Is there a way to create a dashed line style. I really don’t want to draw a bunch of small lines. I do a lot of renovation work, and webb you demo a ceiling the lines on the outside show up dashed but not the pattern inside the ceiling. Any ideas would be appreciated.
There are no ‘linestyles’ within pat files. You will have to build a simple/ small portion of say a 2×2 ceiling with dashed lines. From that create a hatch pattern and assign that to your ceiling. That is the approach one of my clients took and it’s pretty easy to do.
Gregory, I found a link to Hatch-22 and happy I did. I don’t have alot of experience using add-in’s; so I have a few questions. First, I don’t know where to find the “Add-In Manager” as a commenter mentioned. Lastly, I’m not sure how to use Hatch-22. Would I sketch a boundary on a wall and that’s it? Instructions would be great, I’ll check Youtube just for grins. Thanks again, Dan
Dan,
You don’t need to use the add-in manager. Just place the files you downloaded in the appropriate spot
You can find installation and use pages on my site.
http://mertens3d.com/tools/revit/2012/hatch22-2012/hatch22-2012.php
There is also an examples file for you to refer to.
…gregory
Gregory,
By “appropriate spot”, do you mean the Revit folder in my hard drive? Sorry for the elementary nature of my question.
I used the sample files to create a perforated wall, using the model arabic hatch. I included both in-place solid and void extrusions; not too shabby. I can forsee creating a Wrightian textile block hatch.
Thanks again,
dan
Gregory,
When in doubt, read directions.
My bad.
Thanks again, Dan
…gregory
Hi
Its great application. I just have one issue, m wondering if its possible to increase the max diagonal to 37m
I have this hatch pattern as model which we intend to use as carpet tiles 500×500 but it offsets 110 in every row. Could you please help?
Sharin,
The max/min restrictions are imposed by Revit. If I increase them the hatch pattern will no longer be ‘legal’ to Revit and Revit will reject it with an error.
Can you email me your revit file that is being used to generate the pattern? I’ll check if there is a workaround.
info@mertens3d.com
….gregory
Right now I’m having problems setting up the hatches. It seems to not correctly scale what has been drawn correctly. What am I doing wrong?
John,
Without seeing what you’ve done I don’t know.
Did you set your scale to full scale?
Did you look at the way the samples are setup in the examples file?
You can try to send me the Revit file and I’ll take a look at it when I get a chance. Please indicate how/where it’s going wrong.
info@mertens3d.com
…gregory
10+ years of frustration in CAD and now REVIT trying to figure out how to make a freakin’ hatch. The ease and simplicity of your program brought tears to my eyes the first time I used it. Now it’s on every machine here in our office in Shanghai. Great program – thanks so much for your priceless gift to humanity (or at least for the CAD-savvy portion of the world).
You’re welcome Ry. Thanks for the glowing compliment.
…gregory
Thanks a lot for this very useful tool!
You’re welcome Antoine. Glad you’ve found it useful.
…gregory
I am trying to create a tin ceiling pattern, which I have done successfully with Hatch22, however I want the 2×2 border to actually show up. How can I do this?
Thank you!
Are you saying that you have one hatch pattern in the middle of your ceiling and you want a different one around the border?
If so, you can’t do that with a single hatch pattern. You’ll have to have at least two…which means you will probably want to have at least two different ceilings.
Does this answer your question?
If not, sketch up what you mean and send me an image. info@mertens3d.com
…gregory
I’ve updated hatch22-2012.
It is now compatible with 2013.
I’ve also added a sample Revit file with a bunch of hatch pattern templates and filled regions with the resulting hatch pattern that hatch22 created.
Please let me know of any bugs or problems.
…gregory
Hi there,
We’re wanting to have a ceiling tile that (in plan) has alternating colours. I.e. one grey, one white and so on. I’ve downloaded your add-in.
I’ve made a boundary of 1200×1200 with half of it grey (just made a buildup of continuous lines) and half it white. I’m getting errors about ‘model’ and ‘detail’ – can you tell me the best to use in my circumstance? Also how can I get the scale correct?
Thanks,
Michelle
Michelle,
Hatch patterns in Revit (and autocad) are only one color. So you’re not going to be able to have grey and white. Well, I guess you could have grey and blank (which might appear white).
Where are you getting the error about ‘model’ and ‘detail’? In my routine or in Revit? Can you post the exact error message?
You would want to use a model hatch pattern for ceiling tiles since you want the lines to be the same distance apart regardless of scale.
‘correct scale’ – by this I assume you mean how do you set up hatch22 for the correct scale for your ceiling tile…correct? If so set your scale to full scale (actually do this regardless of whether it is a drafting or model hatch). Then draw your lines to the correct dimension. Run the routine and test the resulting hatch pattern.
Let me know if that does not answer all of your questions.
…gregory
let me know if/when you come out with r2013
Also waiting patiently for 2013 version of you great app.
Would love to try it: waiting for r2013 version.
I’ve used Hatch22 with great success in Revit 2012. Are there any plans to release a version for Revit 2013?
Zach,
Glad you’ve found it useful. I do intend to make a 2013 version. I just haven’t had the time yet (a little lazy too). It was on the list for this week. Should be soon.
…Gregory
Dear Gregory Mertens
I’m very happy when using your hatch22_2012 to create pattern in revit but i’ve got problem when create autocad hatch pattern. Can you fix this for me. here is link file:
http://www.4shared.com/account/dir/qD_vEyEh/_online.html?&rnd=95#dir=263851504
Khong,
I do not have an account on 4shared.
If you’d like you can email me the file at info@mertens3d.com
What is the problem you are having?
…gregory
Dear Gregory,
Thanks alot for your feedback, I’ve just written email for you. you can find acad hatch pattern file in attach file. This pattern can’t work in acad. Can’t you fix this for me. Thanks
Hi Greg,
I cannot get the add-in to appear in Revit under the Add-In menu. I noticed a person above commented on the same problem, and you suggested that they find their Revit journal. 2011 is where it should be but 2012 is not anywhere. The last thing I did was restart the PC and opened Revit. I was prompted by a dialog telling me that there was some kind of syntax error in the Add-In program, so it cannot work until it’s resolved. Could you help me out with this problem?
As for the person above, I had to initiate the Add-In Manager from the Revit folder it was in, so the Add-In tab showed up. But, as you now know, it didn’t help me with your program appearing where it should.
Sincerely,
Bill Jahn
Can you please tell me what the error message said?
…gregory
Thanks for replying Greg. I figured it out. What I think may have happened is that your download was brought in first, but the Add-In Manager wasn’t installed initially. When I installed the Add-In tab, it just simply didn’t recignize the program, so I deleted your files and redownloaded the zip file, restarted the PC, and it took. I created a running bond made of modular brick and mortar which works perfectly.
By the way, what is the Copy to Clipboard and Import for? Also, if I need to modify this hatch-pattern, is it best to save the project, and where should I place it? These latter questions may be fundamental, but I wanted to hear how you handled it over time.
This program is terrific, and it’s very kind of you to share this with everyone.
Thanks,
Bill
Bill,
I’m glad you got it to work.
I’m not sure why the add-in Manager would affect things. It is not necessary to have for Hatch22 and theoretically they shouldn’t effect each other.
Copy to Clipboard – just copies the hatch pattern text to the clipboard. I put that there because some people may not be comfortable with having a free program write to their hard drive.
Import – this is an experiment on my end. The idea is that you could take an existing hatch pattern definition and turn it into hatch22 lines. Then you could modify those lines as needed and create a new hatch pattern. For example, maybe you had an existing running bond pattern that was 2 inches x 6 inches and you wanted one that was 4 inches x 9 inches. You could import the the pattern, modify the lines and then create a new hatch pattern. You wouldn’t have to start from scratch. I don’t know if any0ne is really using it.
I would save my hatch pattern masters all in one central file that gets backed up. I’d put each hatch pattern in its own drafting view and place a filled region next to it with the resulting hatch. Having said that, I have yet to set up such a file for any of my clients. I just haven’t had the time.
…gregory
Gregory,
This is a great tool, just what we’ve been looking for!
Keep up the great work!
Thanks Mike
Just a quick message to express my deepest thanks. The program works a treat and the interface is simple but effective.
Best wishes, Nathan
Thanks Nathan.
The line types had me confused as well. As soon as I switched from continuous to dashed, my hatch worked. Thanks!
You’re welcome. I’m glad you got it working.
Gregory,
You are a genius.
I’m still figuring out the scale. Also, it took me a long time to realize that the default should be the DASHED line. I kept getting grids with the continuous lines.
Still, great, great tool for Revit.
Thank you.
Aww…shucks. Thanks.
Yeah, the line style seems to trip a lot of people up. I’ll have to address that on one of my future upgrades.
Glad you are finding it useful.
…gregory
I just wanted to encourage you to keep upgrading Hatch22 with the new Revit versions. Ive been using it for a few years now and I love it. It’s the easiest way to create a hatch pattern. Thanks for the great addin!!
Thanks Kelly.
I do intend to keep developing it.
…gregory
I just discovered hatch22, but am having some issues creating patterns. I keep receiving the message, “At least two detail lines with the line style: “hatch22 – Boundary” are required.” I am not sure what this means. I have unblocked both the .dll and .txt files from the extracted zip file. Do I need to create this line style or is this supposed to be automatically loaded with the application?
Thanks
I got past the error message – forgot to save before launching (user error).
However, when building the pattern, how are the different line styles used?
Jason,
see steps #3 & 4 here
http://mertens3d.com/tools/revit/2012/hatch22-2012/hatch22-2012-use.php
Let me know if that doesn’t help to clear things up for you.
…gregory
Dear Gregory mertens. Thanks for your Hatch22-2012. This version work well in revit but it’ve gor problem when I create Acad hatch pattern. Can’t you fix it for me. Thanks for your support.
Here is my link files:
http://www.4shared.com/account/dir/qD_vEyEh/_online.html?&rnd=95#dir=263851504
Thank you! This tool worked wonders!!!! Really appreciate it!
You’re welcome Michele. Glad it helped you.
…gregory
Great job, this addin works well for me!
Thanks a lot for this cool tool, and greetings from France!
Antoine,
Glad you like it and glad it’s working for you.
Howdy from Texas,
…gregory
Absolutely fantastic piece of work.
I was trying to make a random stagger pattern tile layout and you had the answer. You help notes on installation and use are crystal clear. I had no problems at all.
Thank you.
Matt,
Thank your for the praise and I’m glad you found it useful.
Oh…and you’re welcome
…gregory
Hello, will this work with Revit 2009? I see a fodler called PlugIns in the Revit folder, but not AddIns. is this a feature of 2011 on? Thank you.
Matthew,
I’ve only written it for 2011 and 2012.
…gregory
Hi Gregory Mertens,
I can use arc line. How can you do this file http://mertens3d.com/tools/revit/2012/hatch22-2012/images/hatch22-example-slate-pattern.jpg
Hi Gregory Mertens,
I can’t use arc line. How can you do this file http://mertens3d.com/tools/revit/2012/hatch22-2012/images/hatch22-example-slate-pattern.jpg
Jie,
Arcs are not allowed in .pat files. Those apparent arcs are made of several short (straight) lines.
…gregory
thanks a lot !
Gregory, I continue to have issues installing the files… my install folder path is not as you’ve listed (based on Revit/ACAD Suite?) so I extracted them to C:\Program Files\Autodesk\Revit Architecture (2011/2012)\Program where there were other .dll and .txt files. I ensured that the dll and txt files were unlocked. This didn’t load properly when I opened the program(s).
Anyone else identify a proper folder location for these, and find any other reason they may not be loading? Thanks!
NMcClure,
I doubt if there is a difference between the Suite Version and the Typical Revit.
The folder locations I provide are straight from Autodesk/Revit and have worked for many other people…so I suspect they will work for you.
The Dll’s you’re seeing in the program folder are not for add-ins. They are probably core program dll’s.
1) Did you make sure that you’ve shown hidden files and folders?
2) What version of windows are you using?
3) Which version of Revit are you using? 2011 or 2012? The DLL location is different for each.
Yep, took me awhile to figure out, but very nice.
Thanks,
Rudy Beuc
Thanks for the GREAT add-in! I’ve been looking for something similar and NOTHING is free (at least if it’s any good). I hope you can keep it free as you continue to develop it for newer versions.
Thanks again!
You’re welcome Anthony. Thanks for the compliment.
thanks a lot does it woek for curvy lines,Does it follow unit inch or meter or is it follow the programme unit ? your tool is neccessary and thanks so much for making it free to us joping you continue on that.your step is respected generous from you
i like your tool it making now no difference with archicad. because when i saw comparison between archicad and revit this was one of weak point in revit and i think it solved by you:).
Ahmed,
The routine only works with straight lines because hatch patterns only allow straight lines. For curvy shapes you will have to approximate the curve with a series of short straight lines.
I don’t set a unit size and it seems to me that I tested it with both inches and meters and both worked fine. However, that was a while ago and I could be remembering incorrectly. Let me know if you have any problems with the scale.
You’re welcome,
…gregory
Great work, but it doesn’t really work with metric units.
The hatch pattern file (*.pat) is written in decimal inch even if units are metric.
Please implement directives
%VERSION=3.0
%UNITS=MM
H Alm,
I tested my routine on metric files when I was developing it and seem to remember that there weren’t any issues. I just did another quick test on both model and drafting hatches within Revit and both worked correctly.
Can you elaborate on the problem you are having and/or send me sample files where it’s going wrong?
Thanks for the input.
info@mertens3d.com
…gregory
A closer look reveals that the *.pat files works, but: They are written out in inches even when I use metric. Then Revit converts inch to metric when importing theme back.
A 500 mm line will be written as 19,6850393701 inch (which also introduces rounding errors)
HI Gregory,
Thanks for this tool that does the job simply and cleanly.
I have a similar issue with the imperial file generated by it. Occasionally I want to tweak things directly in the .pat file after generating it with hatch22, so that I can quickly create variations of existing .pat files without having to redraw the pattern to regenerate the file, but the multiple decimal place numbers generated are almost meaningless to deal with.
It really would be *lovely* to have clean metric values to work with, rather than many decimal places in inches. Eg: 7 instead of 0.2756. A lot of figures like that make it rather hard to interpret the .pat
Ursula,
Noted. Thanks.
Btw, you can (with limited success) recreate hatch22 lines from an existing pat file using the ‘import’ option in hatch22. That might be a workaround for you until I get a chance to build a metric option into hatch22.
Hey Chris:
I tried getting this add-in to show up in REVIT 2012, followed all of the listed directions, then restarted my computer and opened REVIT, and still did not see the add-in listed. Can you assist me in making this happen?
Thanks!
Courtney
Courtney,
Without looking at it, I couldn’t say what is going wrong.
Perhaps you can Open and close Revit and send me the most recent journal file that is generated.
http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=9028828&linkID=9243099 <- this link will help you to find them if you don’t know how.
Hi Gregory,
Not having much luck with creating a 1200mmx200mm tile pattern with a 400mm stagger.
Seems always to turn into a grid pattern.
Any ideas?
Cheers Ben
Ben,
You’re probably using the continuous line style when you should be using dashed.
Look at rows 5&6 here.
http://mertens3d.com/tools/revit/2012/hatch22-2012/hatch22-2012-examples.php
also
step #4 here:
http://mertens3d.com/tools/revit/2012/hatch22-2012/hatch22-2012-use.php
Hi Chris,
We are unable to adjust the location of the linework. Ie. align the brickhatching much like the existing revit hatching by selecting a line within the hatch and moving it. Have you seen this before?
Aaron
Gregory,
Very nice little program. I really like it! Prior to downloading this I had to help a coworker creating a custom hatch. It was a painful trial and error process. Hatch22 is going to make custom hatches in Revit a breeze!
Thanks!
Thanks Scott. glad you like it.
Yep, that did the trick. Simple, easy fix.
Thanks for the help and thanks for the easy to use software!
Chris,
Glad to hear it. I also heard from the other person that was having a similar problem and it fixed it for him as well.
I’ll add some info on this to the install page.
Thanks again for the feedback.
…gregory
Love the hatch22 for 2011, but when I try to load the 2012 version it gives me an error on startup
External Tools – External Tool Failure
Revit cannot run the external application “hatch22-2012″ contact the provider for assistance. Information they provided to revit about their identity: mertens3d, http://mertens3d.com
Under show details the following appears:
System.IO.FileLoadException
Could not load file or assembly
‘file:///C:\ProgramData\Autodesk\Revit\Addins\…\hatch22-2012.dll’
or one of its dependencies. Operation is not supported (Exception from HRESULT: 0X80131515)
Hopefully you have some insight to what is causing this
Thanks!
Chris,
You’re the second person who’s mentioned trouble loading hatch22-2012. I don’t know (yet) what’s going wrong. The weird thing is that it appears to be working for quite a few other people.
1) are you successfully running any other add-ins in 2012?
2) what version of windows are you running?
…gregory
No, that is the only add-in I have loaded on 2012
Windows 7, Service Pack 1
Had the same problem with mine on Windows XP but after reading up on some add-ins at http://www.revitforum.org I got it to work by right clicking on the hatch22-2012.dll file, selecting properties and then clicking the Unblock button. Hope that helps.
Thanks to Gregory for making such an essential add-in.
Andrew,
Thanks for the info and the compliment.
Chris or anyone else, can you check if this solves your problem?
…gregory
I’ve been having the same problems with the External Tool Failure, would someone be able to point me to the particular thread on the revitforum.org which could help me solve this?
Thanks in advance.
Michael,
Try step #2 in the page below
http://mertens3d.com/tools/revit/2012/hatch22-2012/hatch22-2012/hatch22-2012-download-install.php
…gregory