Home > 05 Walls > Saving and Executing Hatch and Pattern Definitions for Batch Operations

image\SHORTCUT.gif Back to the Main Topic

Saving and Executing Hatch and Pattern Definitions for Batch Operations

To avoid having to repeat standard hatch definitions that you use frequently, you can save your hatch or pattern definition in a batch file that can be activated whenever needed. The following is an example of the contents of such a batch file. The batch file may be created by any ascii editor and must reside in your current directory. It is activated by the Creating and running a batch file (\batch) command. See Files.

The following is an example of a batch file for hatching:

\mwfil 13-20cm y 1 p i 6¦ ;

\mwfil 13-20cm n 2 p f 3¦ ;

\mwfil 14-30cm y 2 h 1 2 2 r 100 45 0.2 0¦ ;

\mwfil 14-30cm n 4 h 2 4 1 r 100 135 .5 0¦ ;

The following is an explanation of the above four lines of the batch file:

line 1 13-20cm wall name

 y  all walls of same type

 1  layer number

 p  pattern

 

 i  pattern code

 6  line color

line 2 13-20cm wall name

 n  only this wall

 2  layer number

 p  pattern

 f  pattern code

 3  line color

line 3 14-30cm wall name

 y  all walls of same type

 2  layer number

 h  hatch

 1, 2, 2 line type, color, width

 r  reference scale

 100 relative to wall direction

 45  angle in degrees

 .2  hatch interval

 0  shift

line 4 14-30cm wall name

 n  only this wall

 4  layer number

 h  hatch

 2, 4, 1 line type, color, width

 r  reference scale

 100 relative to wall direction

 135 angle in degrees

 .5  hatch interval

 0  shift