You asked:
>Where are these patterns stored for Revit 2021? (When I look for Hatch Pattern (*.pat) I go to the website, so that does not tell me where these are stored in the computer). Also, any hint on how to create a new one? (I assume that if I find where these are stored, then it will be straightforward to modify one to create the new one).
Search your machine for "Revit*.pat".
Revit installs files revit.pat and revit metric.pat containing example custom fill patterns and instructions which may directly answer your questions.
Here is an excerpt:
;;; Worked example
;%UNITS=INCH
;%VERSION=3.0
*Block 8x16, 8 x 16 blocks running bond
;%TYPE=MODEL
0, 0, 0, 0, 8
90, 0, 0, 8, 8, 8, -8
; This pattern is called "Block 8x16"; you will see this name when you import it into Revit. It is
; a model pattern. It has two families of lines. The first family creates the horizontal coursing:
;
; angle = 0 => lines are horizontal
; x,y-origin = 0,0
; shift = 0 => line pattern is not shifted
; offset = 8 => consecutive lines are 8 model inches apart
; no line pattern => the line is solid.
;
; The second family creates the vertical joints:
;
; angle = 90 => lines are vertical
; x,y-origin = 0,0 => the pattern begins at the same point as the horizontals
; shift = 8 => line pattern is is shifted by 8 model inches for consecutive lines
; offset = 8 => consecutive lines are 8 model inches apart
; dash = 8 => each line is built of 8" dashes and 8" spaces
; space = 8 => this pattern repeats until the face boundary
;
; The shift makes the vertical segments appear between alternating pairs of horizontal lines,
; which appears as 16 inch bricks in interlocking bond.
Understanding this text format allows preparation of the simpler fill patterns involving orthogonal elements without recourse to further third party resources (such as those already mentioned or our HatchKit) which aid constructing patterns involving lines at arbitrary angles.
hth,
Hugh Adamson
www.hatchkit.com.au