DetailNames

Returns the names, or titles, or identifiers of all detail views in a page layout view.

Syntax

Rhino.DetailNames (strLayout [,blnReturnNames])

Parameters

strLayout

Required.  String.  The title or identifier of an existing page layout view.

blnReturnNames

Optional.  Boolean.  If True (default), then the names, or titles, of the detail views are returned. If False, then the identifiers of the detail views are returned.

Returns

Array

A array of strings identifying the detail view names, or titles, or identifiers if successful.

Null

If not successful, or on error.

Example

Dim strLayout, arrDetails, strDetail

strLayout = Rhino.CurrentView(,False)

If Rhino.IsLayout(strLayout) Then

  arrDetails = Rhino.DetailNames(strLayout, False)

  For Each strDetail In arrDetails

    Rhino.Print strDetail

  Next

End If

Also See

IsDetail

IsLayout