Hatching Rules
- Last UpdatedNov 27, 2025
- 1 minute read
Each Hatching Rule references a Hatch Style element that defines the hatch pattern to be applied. For each Hatch Rule you can specify:
-
Whether it applies to faces created by a section plane or to primitive surfaces.
-
The orientation of the faces to be considered for hatching. There are three options:
-
All Directions, in which case the face will be hatched regardless of its orientation.
-
Perpendicular Direction, in which case the face will only be hatched if it is perpendicular to the viewing direction.
-
Specified Direction, in which case the face will only be hatched if its normal matches a specified value. The normal of a face is the vector perpendicular to it and pointing out of the solid primitive. Thus the normal of the uppermost horizontal surface of a box is Up.
-
The HRUL attributes, with their defaults, are as follows:
|
Hatch Style Ref |
HSTYF |
reference to HSTYL, default null |
|
Face Code |
FCODE |
Sectioned-Faces |
|
Direction Code |
DCODE |
All-Directions |
|
Face Normal |
NORM |
unset |
|
Selection Criteria |
CRIT |
unset |
|
Example: |
||
|
HSTYF /HSTYL1 FCODE SECTionedfaces DCODE ALL Directions NORM standard AVEVA direction syntax CRIT standard AVEVA selection criteria syntax |
||
As well as the usual NEW command, an HRUL can also be defined by:
USE hstyl FOR criteria
which will set the HSTYF and CRIT attributes.