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) Version: Rhino 6.0
Syntax
public InstanceObject[] GetReferences(
	int wheretoLook
)

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