RhinoCommon API
InstanceDefinitionGetReferences Method |
Gets a list of the CRhinoInstanceObjects (inserts) that contains
a reference this instance definition.
Namespace: Rhino.DocObjects
Assembly: RhinoCommon (in RhinoCommon.dll)

public InstanceObject[] GetReferences( int wheretoLook )
Public Function GetReferences ( wheretoLook As Integer ) As InstanceObject()
Parameters
- wheretoLook
- Type: SystemInt32
0 = get top level references in active document.
1 = get top level and nested references in active document.
2 = check for references from other instance definitions.
Return Value
Type: InstanceObjectAn array of instance objects. The returned array can be empty, but not null.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14