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) Version: 5.1.50000.0 (5.0.20693.0)
public bool SetCurrentLinetypeIndex(
	int linetypeIndex,
	bool quiet


Type: SystemInt32
Value for new current linetype. 0 <= linetypeIndex < LinetypeTable.Count.
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.
See Also