Returns the identifiers of history antecedents, or parents, of an object. Parent objects are the input to a history-supporting command.
Rhino.ObjectParents (strObject)
strObject |
Required. String. The identifier of an object. |
Array |
An array of strings identifying the objects if successful. |
Null |
On error. |
Dim strObject, arrParent
strObject = Rhino.GetObject
arrParent = Rhino.ObjectParents(strObject)
If IsArray(arrParent) Then
Call Rhino.SelectObjects(arrParent)
End If