Description:

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

Syntax:
public int InstanceDefinitionIndex(
Guid instanceId,
bool ignoreDeletedInstanceDefinitions
)
Parameters:
  • instanceId
  • Type: System.Guid
  • Unique id of the instance definition to search for
  • ignoreDeletedInstanceDefinitions
  • Type: bool
  • True means don't search deleted instance definitions.
Returns:
Type: int
index > -1 if instance definition was found.
Available since:
6.0

InstanceDefinitionIndex method

Class:  Rhino.DocObjects.Tables.InstanceDefinitionTable

Nothing found