Verifies that an object is in either page layout space or model space.
Rhino.IsLayoutObject (strObject)
strObject |
Required. String. The identifier of an object. |
True |
The object is in page layout space. |
False |
The object is in model space. |
Null |
On error. |
Dim strObject
strObject = Rhino.GetObject
If Not IsNull(strObject) Then
If Rhino.IsLayoutObject(strObject) Then
Rhino.Print "The object is in page layout space."
Else
Rhino.Print "The object is in model space."
End If
End If