DocumentURL

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

Syntax

Rhino.DocumentURL ([strURL])

Parameters

strURL

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

Dim strURL, WshShell

strURL = Rhino.DocumentURL

If Not IsNull(strURL) Then

Set WshShell = CreateObject("WScript.Shell")

WshShell.Run "iexplore.exe " & strURL

End If

Also See

DocumentName

DocumentPath