Renames, or changes the title, of the specified view..
rhinoscriptsyntax.RenameView (old_title, new_title)
rhinoscript.view.RenameView (old_title, new_title)
old_title |
Required. String or Guid. The title or identifier of the view to rename. |
new_title |
Required. String. The new title of the view. |
String |
The view's previous title if successful. |
None |
if not successful, or on error. |
import rhinoscriptsyntax as rs
oldtitle = rs.CurrentView()
rs.renameview( oldtitle, "Current" )