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)
Since: 5.0
Syntaxpublic bool SetCurrentLinetypeIndex(
int linetypeIndex,
bool quiet
)
Public Function SetCurrentLinetypeIndex (
linetypeIndex As Integer,
quiet As Boolean
) As Boolean
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:
Booleantrue if current linetype index successfully set.
See Also