Click or drag to resize

InstanceDefinitionTableInstanceDefinitionIndex Method

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

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.0
Syntax
public int InstanceDefinitionIndex(
	Guid instanceId,
	bool ignoreDeletedInstanceDefinitions
)

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.
See Also