IsDetail

Verifies that a detail view exists on a page layout view.

Syntax

rhinoscriptsyntax.IsDetail (layout, detail)

rhinoscript.view.IsDetail (layout, detail)

Parameters

layout

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

detail

Required.  String or Guid.  The title or identifier of an existing detail view.

Returns

True

If detail is a detail view.

False

If detail is not a detail view.

None

On error.

Example

import rhinoscriptsyntax as rs

view = rs.CurrentView()

if rs.IsLayout(view):

    isdetail = rs.IsDetail(view, "Top")

    if isdetail:

        print "Top is a detail view."

    else:

        print "Top is not a detail view."

Also See

IsLayout

CurrentDetail