Click or drag to resize

LinetypeTableAddReferenceLinetype Method

Adds a reference linetypes that will not be saved in files.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public int AddReferenceLinetype(
	Linetype linetype
)

Parameters

linetype
Type: Rhino.DocObjectsLinetype
Definition of new linetype. The information in linetype is copied. If linetype.Name is empty then a unique name of the form "Linetype 01" will be automatically created.

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