Click or drag to resize

LinetypeTableSetCurrentLinetypeIndex Method

At all times, there is a "current" linetype. Unless otherwise specified, new objects are assigned to the current linetype. The current linetype is never deleted.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool SetCurrentLinetypeIndex(
	int linetypeIndex,
	bool quiet
)

Parameters

linetypeIndex
Type: SystemInt32
Value for new current linetype. 0 <= linetypeIndex < LinetypeTable.Count.
quiet
Type: SystemBoolean
if true, then no warning message box pops up if the current linetype request can't be satisfied.

Return Value

Type: Boolean
true if current linetype index successfully set.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.5
See Also