InstanceDefinitionTable.InstanceDefinitionIndex Method

InstanceDefinitionTableInstanceDefinitionIndex Method

Get the index of the instance definition with a given id.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public int InstanceDefinitionIndex(
	Guid instanceId,
	bool ignoreDeletedInstanceDefinitions
)
Public Function InstanceDefinitionIndex ( 
	instanceId As Guid,
	ignoreDeletedInstanceDefinitions As Boolean
) As Integer

Parameters

instanceId
Type: SystemGuid
Unique id of the instance definition to search for
ignoreDeletedInstanceDefinitions
Type: SystemBoolean
true means don't search deleted instance definitions.

Return Value

Type: Int32
index > -1 if instance definition was found.
Version Information

Rhino for Windows

Supported in: 6.8
See Also