Verifies that an object is a history antecedent, or parent object. Parent objects are the input to a history-supporting command. Note, is possible to an object to be both a history antecedent and a history descendant.
Rhino.IsObjectParent (strObject)
strObject |
Required. String. The identifier of an object. |
True |
The object is a parent object. |
False |
The object is not a parent object. |
Null |
On error. |
Dim strObject
strObject = Rhino.GetObject
If Rhino.IsObjectParent(strObject) Then
Rhino.Print "The object is a parent object."
Else
Rhino.Print "The object is not a parent object."
End If