Functions extracting the direction of the material's flute or grain

Use the following functions to extract the direction of the material's flute or grain.

The function

Extracting To Extract From
  The Active Drawing Drawing Specified By
System Name User-Defined Name
Flute/Grain fd() OneUpN.fd() "DrawingName".fd()
LayoutN.fd()

IMPORTANT: The fd() function returns two direction values: 0 (for horizontal) and 90 (for vertical).