TheSwamp

CAD Forums => CAD General => Topic started by: alanjt on February 26, 2014, 03:19:34 PM

Title: Hatch pattern to look like Hidden linetype or what's wrong with this .pat file?
Post by: alanjt on February 26, 2014, 03:19:34 PM
So, I gave up on the idea of continuing to use the centerline of my pipe (civil 3d pipe networks), set with a width of the inner wall of my pipe, since it won't properly trim at the structure, even though it trims the out/inside walls accordingly. I've now been trying to create a hatch that will mimic the Hidden linetype, but I've never created a custom hatch pattern and it's proving to be a bit over my head.

Title: Re: Hatch pattern to look like Hidden linetype or what's wrong with this .pat file?
Post by: CAB on February 26, 2014, 04:02:56 PM
What is this hatch supposed to look like?
Are you hatching a long rectangle / pipe?
Are you working in English units & feet?

Title: Re: Hatch pattern to look like Hidden linetype or what's wrong with this .pat file?
Post by: CAB on February 26, 2014, 04:27:52 PM
The error is that the name in the file exactly.
The file says storm & the definition says stormpipe.
 
Title: Re: Hatch pattern to look like Hidden linetype or what's wrong with this .pat file?
Post by: CAB on February 26, 2014, 04:28:59 PM
Consider this:
Code: [Select]
*test
0, 0, 0, 0, .01, 2, -2
Title: Re: Hatch pattern to look like Hidden linetype or what's wrong with this .pat file?
Post by: alanjt on February 26, 2014, 04:41:37 PM
What is this hatch supposed to look like?
Are you hatching a long rectangle / pipe?
Are you working in English units & feet?
Looks like just a line drawn with the "Hidden" linetype, set to a width of the pipe's inner wall.
Yes, long, rectangular pipe.
Imperial.

The error is that the name in the file exactly.
The file says storm & the definition says stormpipe.
 
Holy crap, that worked. Thank you so much, Alan.

Consider this:
Code: [Select]
*test
0, 0, 0, 0, .01, 2, -2
When I brought that in, I could select it, but said there was an error on line 2 when it tried to create a hatch object with that pattern.

Title: Re: Hatch pattern to look like Hidden linetype or what's wrong with this .pat file?
Post by: CAB on February 26, 2014, 04:46:30 PM
Worked for me.
Stupid question, did you name the file test.pat?  8)
Did you add a carriage return on the last line?
Title: Re: Hatch pattern to look like Hidden linetype or what's wrong with this .pat file?
Post by: alanjt on February 26, 2014, 04:55:56 PM
Worked for me.
Stupid question, did you name the file test.pat?  8)
Did you add a carriage return on the last line?
Yes.
That was it.

OK, I got yours working and it's a lot better. It actually aligns to the pipe properly. Thank you so much. This is perfect.
Title: Re: Hatch pattern to look like Hidden linetype or what's wrong with this .pat file?
Post by: CAB on February 26, 2014, 05:19:06 PM
Glad it worked out.
Title: Re: Hatch pattern to look like Hidden linetype or what's wrong with this .pat file?
Post by: alanjt on February 26, 2014, 05:37:45 PM
Glad it worked out.
Thank you again. :)
On to my many other items that need crossing off my list. :lol:
Title: Re: Hatch pattern to look like Hidden linetype or what's wrong with this .pat file?
Post by: Jeff H on February 26, 2014, 08:20:54 PM
Cab you need to set up paypal account because my company owes 1,000s of dollars of time saved when told them to quit erasing polylines in arch plans used to get area of rooms and to use them as a boundary for your 2x2 and 2x4 ceiling grid hatch to create ceiling grids.
Title: Re: Hatch pattern to look like Hidden linetype or what's wrong with this .pat file?
Post by: CAB on February 26, 2014, 08:44:44 PM
Thanks Jeff,
That's one of those benefits of hanging out at the Swamp.  8)

Title: Re: Hatch pattern to look like Hidden linetype or what's wrong with this .pat file?
Post by: alanjt on February 27, 2014, 08:52:29 AM
Thanks Jeff,
That's one of those benefits of hanging out at the Swamp.  8)
And I can't thank you enough for bring me here so many years ago. :)
Title: Re: Hatch pattern to look like Hidden linetype or what's wrong with this .pat file?
Post by: TimSpangler on February 27, 2014, 12:13:14 PM
Thanks Jeff,
That's one of those benefits of hanging out at the Swamp.  8)
And I can't thank you enough for bring me here so many years ago. :)

Now we know who to blame for leaving to door open........Thanks CAB  :laugh: j/k
Title: Re: Hatch pattern to look like Hidden linetype or what's wrong with this .pat file?
Post by: alanjt on February 27, 2014, 12:22:25 PM
Thanks Jeff,
That's one of those benefits of hanging out at the Swamp.  8)
And I can't thank you enough for bring me here so many years ago. :)

Now we know who to blame for leaving to door open........Thanks CAB  :laugh: j/k
:lol: We Alans have to stick together.
Title: Re: Hatch pattern to look like Hidden linetype or what's wrong with this .pat file?
Post by: CAB on February 27, 2014, 12:39:41 PM
Scary who comes through to door sometimes but we make converts of them all.  :)
Title: Re: Hatch pattern to look like Hidden linetype or what's wrong with this .pat file?
Post by: alanjt on February 27, 2014, 12:43:42 PM
Scary who comes through to door sometimes but we make converts of them all.  :)
lol. Very true. There are other sites, but nothing quite adds up to the talent here.