Verifies that a detail view exists on a page layout view.
Rhino.IsDetail (strLayout, strDetail)
strLayout |
Required. String. The title or identifier of an existing page layout view. |
strDetail |
Required. String. The title or identifier of an existing detail view. |
True |
If strDetail is a detail view. |
False |
If strDetail is not a detail view. |
Null |
On error. |
Dim strView, blnDetail
strView = Rhino.CurrentView()
If Rhino.IsLayout(strView) Then
blnDetail = Rhino.IsDetail(strView, "Top")
If blnDetail = True Then
Rhino.Print "Top is a detail view."
ElseIf blnLayout = False Then
Rhino.Print "Top is not a detail view."
End If
End If