RhinoCommon API
InstanceDefinitionTableInstanceDefinitionIndex Method |
Get the index of the instance definition with a given id.
Namespace: Rhino.DocObjects.Tables
Assembly: RhinoCommon (in RhinoCommon.dll)
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: Int32index > -1 if instance definition was found.