We have a hatch file that I believe is an old AutoCAD hatch that has the number 2 and diagonal dashes. We are wanting a similar hatch but with 3 instead of 2. I tried stacking the original hatch, a grey filled area, and the number 3 and then using PyRevit but that didn't work.
PAT files are text documents, so I'm not sure how to get the 3 in there.
Anyone know how I can go about creating one, have one they could share, or have a better solution?
I did find the program 'HatchiKit', but was confused on how to use it.
Thanks
Gelöst! Gehe zur Lösung
Gelöst von ToanDN. Gehe zur Lösung
Draw the number 3 using straight line segments (then you can create a fill pattern using pyRevit.
This did occur to me as I figured PyRevit just couldn't read the text since it wasn't linework. I just wasn't sure how well I was going to be able to draw out the 3 with detail lines.
@Ian_H wrote:
This did occur to me as I figured PyRevit just couldn't read the text since it wasn't linework. I just wasn't sure how well I was going to be able to draw out the 3 with detail lines.
It's not pyRevit fault. It is that Revit fill patterns cannot contain anything but straight line segments.
Here is a fill region created using pyrevit..
@Ian_H wrote:
Went down the rabbit hole of recreating all the linework, lol.
Well done.
I just tested pyRevit again, and to my surprise, it CAN take non-straight lines (circles, arcs, ellipses, splines), translates them into straight line segments to create fill patterns.
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.