DocumentPath

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

Syntax

rhinoscriptsyntax.DocumentPath ()

rhinoscript.document.DocumentPath ()

Parameters

None.

Returns

String

The current document path if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

path = rs.DocumentPath()

print path

Also See

DocumentName

DocumentURL