Returns the name of the currently loaded Rhino document (3DM file).
rhinoscriptsyntax.DocumentName()
rhinoscript.document.DocumentName()
None.
String |
The current document name if successful. |
None |
If not successful, or on error. |
import rhinoscriptsyntax as rs
name = rs.DocumentName()
print name