PDA

View Full Version : set hatch to associative



jkipfer
2005-03-14, 04:36 PM
I would like to modify the attached program (program draws brick coursing and hatching) to create associative hatching. I added a line (setvar "hpassoc" 1) but the hatch within the bricks is still non-associative.

Can someone please help?

Thank you,

Jason

tyshofner
2005-03-14, 05:28 PM
Hello,

Just change the line for the hatch command to use "-bhatch". You can just replace the old line with this one, note that the syntax is different fot the "-bhatch" command:


(command "-bhatch" "A" "A" "Y" "" "P" "ANSI31" "15" "0" "S" br "" "")


There is a problem with the way it is creating the other courses though. Since it is using the array command all the other instances of the brick lose the hatch association.

Ty

tyshofner
2005-03-14, 06:05 PM
Alright,

Here is an updated version of your routine. This should do want you want.

Ty

--Edit
I attached the wrong file the first time I posted, here is the correct one. Had to adjust variable for course number.

Ty

jkipfer
2005-03-14, 06:21 PM
That's great, thanks!

Jason