HatchPatternWriteToFile Method (String, HatchPattern) |
Writes a hatch pattern defintion to a file.
Namespace:
Rhino.DocObjects
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 8.15
Syntaxpublic static bool WriteToFile(
string filename,
HatchPattern hatchPattern
)
Public Shared Function WriteToFile (
filename As String,
hatchPattern As HatchPattern
) As Boolean
Parameters
- filename
- Type: SystemString
Name of file to create. If file exists, it will be overwritten. - hatchPattern
- Type: Rhino.DocObjectsHatchPattern
The hatch pattern to write.
Return Value
Type:
BooleanTrue if successful, false otherwise.
RemarksOutput file is in AutoCAD .PAT format.
See Also