RhinoCommon API
InstanceObjectUsesDefinition Method |
Determine if this reference uses an instance definition
Namespace: Rhino.DocObjects
Assembly: RhinoCommon (in RhinoCommon.dll)

public bool UsesDefinition( int definitionIndex, out int nestingLevel )
Public Function UsesDefinition ( definitionIndex As Integer, <OutAttribute> ByRef nestingLevel As Integer ) As Boolean
Parameters
- definitionIndex
- Type: SystemInt32
[Missing <param name="definitionIndex"/> documentation for "M:Rhino.DocObjects.InstanceObject.UsesDefinition(System.Int32,System.Int32@)"]
- nestingLevel
- Type: SystemInt32
If the instance definition is used, this is the definition's nesting depth
Return Value
Type: Booleantrue or false depending on if the deifinition is used

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