DocumentURL - NOT IMPLEMENTED IN PYTHON YET

Returns or sets the uniform resource locator (URL) of the currently loaded Rhino document (3DM file).

Syntax

Rhino.DocumentURL (url=None)

Parameters

url

Optional.  String.  The URL.

Returns

String

If no URL is specified, the current URL if successful.

String

If a URL is specified, the previous URL if successful.

Null

If not successful, or on error.

Example

import Rhino

from System.Diagnostics import Process

url = Rhino.DocumentURL()

if (url!=None and url!=""):

  Process.Start(url)

Also See

DocumentName

DocumentPath