ViewTitle

Returns the name, or title, of a given a view's identifier.

Syntax

rhinoscriptsyntax.ViewTitle (view_id)

rhinoscript.view.ViewTitle (view_id)

Parameters

view_id

Required.  String or Guid.  The identifier of the view obtained from the ViewNames function.

Returns

String

The name, or title, of the view if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

view_ids = rs.ViewNames(False)

for id in view_ids:

    print id + " = " + rs.ViewTitle(id)

Also See

CurrentView

ViewNames