Click or drag to resize

LinetypeTableAdd Method (String, IEnumerableDouble)

Adds a new linetype with specified definition to the linetype table.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public int Add(
	string name,
	IEnumerable<double> segmentLengths
)

Parameters

name
Type: SystemString
A name for the new linetype.
segmentLengths
Type: System.Collections.GenericIEnumerableDouble
Positive values are dashes, negative values are gaps.

Return Value

Type: Int32
Index of new linetype or -1 on error.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.5
See Also