DocumentName

Returns the name of the currently loaded Rhino document (3DM file).

Syntax

rhinoscriptsyntax.DocumentName()

rhinoscript.document.DocumentName()

Parameters

None.

Returns

String

The current document name if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

name = rs.DocumentName()

print name

Also See

DocumentPath

DocumentURL