RhinoCommon API
NamedLayerStateTableRename Method |
Renames an existing named layer state.
Namespace: Rhino.DocObjects.Tables
Assembly: RhinoCommon (in RhinoCommon.dll)

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: BooleanTrue if successful, false otherwise.

Rhino for Windows
Supported in: 6.14