Click or drag to resize

HatchPatternWriteToFile Method (String, IEnumerableHatchPattern)

Writes one or more hatch pattern defintions to a file.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 8.15
Syntax
public static bool WriteToFile(
	string filename,
	IEnumerable<HatchPattern> hatchPatterns
)

Parameters

filename
Type: SystemString
Name of file to create. If file exists, it will be overwritten.
hatchPatterns
Type: System.Collections.GenericIEnumerableHatchPattern
The enumeration of hatch patterns to write.

Return Value

Type: Boolean
True if successful, false otherwise.
Remarks
Output file is in AutoCAD .PAT format.
See Also