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)
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.
Version Information

Rhino for Windows

Supported in: 6.0 BETA
See Also