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