Click or drag to resize

InstanceDefinitionUseCount Method (Int32, Int32)

Returns the number of references of this instance definition in the model. Both top-level references and nested instances are included in the count.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 7.4
Syntax
public int UseCount(
	out int topLevelReferenceCount,
	out int nestedReferenceCount
)

Parameters

topLevelReferenceCount
Type: SystemInt32
The number of top-level references.
nestedReferenceCount
Type: SystemInt32
The number of nested instances.

Return Value

Type: Int32
The number of references of this instance definition in the model.
See Also