Click or drag to resize

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


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: InstanceObject
An array of instance objects. The returned array can be empty, but not null.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also