Adds a new hatch pattern with specified definition to the table.
Namespace: Rhino.DocObjects.TablesAssembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.30000.5 (5.0.20693.0)
Syntax
| C# |
|---|
public int Add( HatchPattern pattern ) |
| Visual Basic |
|---|
Public Function Add ( _ pattern As HatchPattern _ ) As Integer |
Parameters
- pattern
- Type: Rhino.DocObjects..::..HatchPattern
definition of new hatch pattern. The information in pattern is copied. If patern.Name is empty the a unique name of the form "HatchPattern 01" will be automatically created.