NamedLayerStateTable.Rename Method

NamedLayerStateTableRename Method

Renames an existing named layer state.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool Rename(
	string oldName,
	string newName
)
Public Function Rename ( 
	oldName As String,
	newName As String
) As Boolean

Parameters

oldName
Type: SystemString
The name of the layer state.
newName
Type: SystemString
The new name

Return Value

Type: Boolean
True if successful, false otherwise.
Version Information

Rhino for Windows

Supported in: 6.14
See Also