Returns the names, or titles, or identifiers of all detail views in a page layout view.
Rhino.DetailNames (strLayout [,blnReturnNames])
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. |
Array |
A array of strings identifying the detail view names, or titles, or identifiers if successful. |
Null |
If not successful, or on error. |
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