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
Syntaxpublic static bool WriteToFile(
string filename,
IEnumerable<HatchPattern> hatchPatterns
)
Public Shared Function WriteToFile (
filename As String,
hatchPatterns As IEnumerable(Of HatchPattern)
) As Boolean
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:
BooleanTrue if successful, false otherwise.
RemarksOutput file is in AutoCAD .PAT format.
See Also