Click or drag to resize

HatchPatternReadFromFile Method

Reads hatch pattern definitions from a file.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
public static HatchPattern[] ReadFromFile(
	string filename,
	bool quiet


Type: SystemString
Name of an existing file. If filename is null or empty, default hatch pattern filename is used.
Type: SystemBoolean
If file doesn't exist, and quiet is false, an error meesage box is shown.

Return Value

Type: HatchPattern
An array of hatch patterns. This can be null, but not empty.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.5
See Also