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

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.
