Returns the name, or title, of a given a view's identifier.
rhinoscriptsyntax.ViewTitle (view_id)
rhinoscript.view.ViewTitle (view_id)
view_id |
Required. String or Guid. The identifier of the view obtained from the ViewNames function. |
String |
The name, or title, of the view if successful. |
None |
If not successful, or on error. |
import rhinoscriptsyntax as rs
view_ids = rs.ViewNames(False)
for id in view_ids:
print id + " = " + rs.ViewTitle(id)